mustafacey / pinguino32 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pinguino32
Automatically exported from code.google.com/p/pinguino32
What steps will reproduce the problem?
1. user program (.pde) with Serial.printf
2. compile it
3. look at user.c
What is the expected output? What do you see instead?
- in user.c : SerialPrintf
- instead of serial1printf
Please use labels and text to provide additional information.
Bug seems to happen both in X.2 and X.3
pserial.pdl32 seems to be correct.
Maybe a conflict between translations of printf and Serial.printf
Original issue reported on code.google.com by [email protected]
on 20 Mar 2012 at 5:15
What steps will reproduce the problem?
1. Use Ubuntu 11.04 LTS and install pinguinoX.3rev399
2. Iterate running the ./pinguino_start.sh command and try fix issues (PyUSB,
wxPython ...)
3. When you try again with the ./pinguino_start.sh command
What is the expected output? What do you see instead?
A starting IDE was expected.
Instead, the pinguino.log file ends with the following complaint:
pySVN failed, try to install pySVN
You will need to install an SVN client on your distro.
Enable to check new version of Pinguino IDE
I do not know if I really need the IDE.
I cannot see why I should need SVN, (. and btw I don't even
want too read my emails through the IDE. .)
Maybe I need the IDE to use the USB connection to the connected
hardware. Otherwise I think I should prefere run the tools,
like compilers, assemblers and linkers from the shell prompt.
What version of the product are you using? On what operating system?
pinguinoX.3rev399
Please provide any additional information below.
Ubuntu 11.10 it seems (from the /ets/issue file).
It seems (in /var/run/motd) that the kernel is GNU/Linux 3.0.0-19-generi c i686.
Original issue reported on code.google.com by [email protected]
on 28 May 2012 at 2:47
What steps will reproduce the problem?
1. open any Example
2. select any PIC32 (I used PIC32 Pinguino Micro)
3. Click on Compile
What is the expected output? What do you see instead?
A compiled program? But I get as output:
Board: PIC32 Pinguino Micro
Proc: 32MX440F256H
Datei: C:\Dokumente und
Einstellungen\dplasa\Desktop\x.3\examples\01.Basics\Blink\Blink.pde
Fehler beim Verknüpfen C:\Dokumente und
Einstellungen\dplasa\Desktop\x.3\examples\01.Basics\Blink\Blink.o
What version of the product are you using? On what operating system?
Pinguion X.3 rev 457 on WinXP SP3
Please provide any additional information below.
I'm completely newbee to pinguino, wondering if there is a way to get a
detailed console output on winXP that might help more than this 2-liner that
the gui is presenting me. Even unlocalized - could not find where to set the
language, so it's german, sorry.
Original issue reported on code.google.com by [email protected]
on 23 May 2012 at 8:57
What steps will reproduce the problem?
1. install latest pinguino soft
2. connect olimex pinguino from EW2012
3. compile blink.pde, download run
4. NOTHING erase program ok led not blink
What is the expected output? What do you see instead?
led blinking
i see nothing
What version of the product are you using? On what operating system?
latest pinguino ide, win XP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Mar 2012 at 2:37
X.4 IDE can't start up with ja locale file.
Pinguino X.4 rev.778
On Windows7(32bit)
Pinguino.log is 'Everything is ok'.
'ja locale file' is attached with
Pinguino-X4-EasyPack-Win32-Rev685mod-v01-2013-02.7z as locale/ja/*.
pinguniPanic file shows,
Traceback (most recent call last):
File "c:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\_misc.py", line 1358, in Notify
self.notify()
File "c:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14771, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "pinguino.py", line 57, in ShowMain
frame.__initPinguino__(None)
File "Q:\00pinguino\x4-svn-ide\x.4\wxgui\pinguino.py", line 90, in __initPinguino__
self.initIDEobjects()
File "Q:\00pinguino\x4-svn-ide\x.4\wxgui\editor\__init__.py", line 69, in initIDEobjects
if self.getElse("Main", "Tools", "True"): self.auiManager.GetPane(self.lat).Hide()
AttributeError: 'Pinguino' object has no attribute 'auiManager'
Original issue reported on code.google.com by [email protected]
on 25 Apr 2013 at 10:32
What steps will reproduce the problem?
Compile examples\03.Analog\IRdetector\ir-detector.pde
What is the expected output?
No compile error.
What do you see instead?
Compile error.
What version of the product are you using?
Rev793
On what operating system?
Windows7
Please provide any additional information below.
SystemGetInstructionClock() is not defined for 8bit PICs.
Original issue reported on code.google.com by [email protected]
on 2 May 2013 at 1:56
Branch name:
Keypad Library repeat issue
Purpose of code changes on this branch:
Correct repeated key in the same column , by checking the state to not be
pressed , for validate key.
When reviewing my code changes, please focus on:
...
EVALUATE_KEY:
//if (key != NO_KEY && key != currentKey ){
//Correction for simultaneous pressed keys on the same row
if (key != NO_KEY && key != currentKey && state!=PRESSED){
// if(state ==HOLD && key != currentKey) //try to disable several keys pressed at the same time
// return NO_KEY;
currentKey = key;
Keypad_transitionTo(PRESSED);
return currentKey;
}
...
After the review, I'll merge this branch into:
/trunk
Original issue reported on code.google.com by [email protected]
on 1 Mar 2013 at 10:32
How explained here http://forum.pinguino.cc/showthread.php?tid=3424
This easy code
void setup()
{
Serial.begin(9600);
}
void loop()
{
}
is compiled without problems
Adding this comment
// #include <pinguinoserial1.c>
generate this link error
error while linking C:\Pinguino32X.2\examples\4.Communication\Serial/NoName0.o
The problem appear both on 2.x and 3.x Pinguino version.
Bye Bye, Moreno
Original issue reported on code.google.com by [email protected]
on 8 Apr 2012 at 4:52
What steps will reproduce the problem?
./pinguino.py --dev true
NB : ./pinguino.py works perfectly
What is the expected output? What do you see instead?
Pinguino GUI is expected but there is nothing but splash-screen.
No error message inn console mode.
Original issue reported on code.google.com by [email protected]
on 22 Apr 2013 at 7:45
What steps will reproduce the problem?
1. compile and flash the the DCF77 example sketch.
2. run it. Observe the CDC serial output for some minutes in a terminal.
3. One will see that time is not getting in sync.
What is the expected output? What do you see instead?
Time should get in sync after at least 3 min if reception is ok.
What version of the product are you using? On what operating system?
X.4 r713.
Please provide any additional information below.
I had a look into dcf77.c and found that it does not handle different cpu
clocks / 40Mhz instead of 80Mhz.
For debugging purpose I patched dcf77.c in DCF77_start(u8 dcfPin)
at lines 280 - 284. As follows:
#if defined(PIC32_PINGUINO_220)||defined(GENERIC32MX250F128)||defined(GENERIC32MX220F032)
PR1 = 6250; // load period register
#else
PR1 = 12500; // load period register
#endif
This solved the issue for me. I tested that on my DIY board with a 32MX220F032.
I'm not sure if this is the best way to fix it. Maybe there is a way to query
the clock speed and then do the math for the pre load register value.
Instead of having that hard coded.
Original issue reported on code.google.com by [email protected]
on 24 Feb 2013 at 4:05
There is bug in the millis() function for the mx220 target. The initial TMR2
value is correct but in the interrupt you must update this value with TMR2 =
65535 - _tmr2, not with _tmr2. The impact is 5x on the millis impact, since the
timer restarts to count from initial value to 65535, giving us the 1mS. The
correction is in line 54.
The PR2 works on the PIC32MX220F032B , but better be like this
Original issue reported on code.google.com by [email protected]
on 6 Feb 2013 at 1:31
Attachments:
What steps will reproduce the problem?
1. load above example into IDE
2. select PIC32 Pinguino OTG as processor
3. click Compile ICON
What is the expected output? What do you see instead?
SEE SOLUTION BELOW
What version of the product are you using? On what operating system?
X3 rev 399 on Windows XP SP3
Please provide any additional information below.
1)The source code example references SerialP32MX at multiple places and the
p32\pdl\serial.pdl32 file maps these calls to SerialP32MX.c.
However there is no SerialP32MX.c file in p32\include\pinguino\core only
serial.c
2) Also #DEFINE in upper case needs to be edited to #define
SOLUTION
1a) make a copy of serial.c and call it SerialP32MX.c in same directory
OR
1b) edit serial.pdl32 and replace all SerialP32MX.c with serial.c
2) change #DEFINE to #define in source code example
Original issue reported on code.google.com by [email protected]
on 13 Dec 2012 at 9:47
What steps will reproduce the problem?
1. Start PinguinoX.2
2. Open and compile any (working) example (e.g. BlinkWithoutDelay)
3. Upload to Pinguino
What is the expected output? What do you see instead?
expected to see the actual free flash memory - 16384 ... 28672 bytes (depending
on bootloader size???)
see: USB HID device found: 1610633216 bytes free
What version of the product are you using? On what operating system?
Board: PIC32-Pinguino-MX220
PinguinoX.2 IDE: rev293
OS: Windows XP SP3
Please provide any additional information below.
Original issue reported on code.google.com by ubannow
on 5 Mar 2012 at 6:50
What steps will reproduce the problem?
1. lunch terminal.app under mac os x
2. go to pinguino ide folder
3. build in cli mode : ./pinguino.py --olimex440OTG -f
examples/01.Basics/Blink/Blink.pde
What is the expected output? What do you see instead?
Actually, I can compile with the IDE version, but not with the cli because the
board list seem uninitialized
21:20:06 kasey@iUnibody-2:~/pinguino ./pinguino.py --olimex440OTG -f
examples/01.Basics/Blink/Blink.pde
Xlib: extension "RANDR" missing on display "/tmp/launch-qPLSs1/org.x:0".
Traceback (most recent call last):
File "./pinguino.py", line 96, in <module>
curBoard = boardlist[options.board]
NameError: name 'boardlist' is not defined
What version of the product are you using? On what operating system?
* pinguino IDE rev 441
* mac os 10.6.8
* python Python 2.6.8
Original issue reported on code.google.com by [email protected]
on 20 May 2012 at 7:27
What steps will reproduce the problem?
1. set the environment variable MAKEFLAGS to -j9
2. start pinguino
3. try to compile a PIC32 project
Actual output:
Board: PIC32 Pinguino 220
Proc: 32MX220F032D
File: /tmp/pinguino32-read-only/x.3/examples/01.Basics/Fade/Fade.pde
error while linking /tmp/pinguino32-read-only/x.3/examples/01.Basics/Fade/Fade.o
I manually ran the make command, the full output is attached (is it not another
bug that pinguino's console doesn't show the error?). Unsetting MAKEFLAGS fixes
the problem both in pinguino and when manually running the make command.
I'm using SVN rev 609 on Gentoo Linux (x86_64). MAKEFLAGS is set in my
~/.profile.
Original issue reported on code.google.com by [email protected]
on 14 Nov 2012 at 7:23
Attachments:
Hi all .. I am again with pinguino....
What steps will reproduce the problem?
1. Try to run GUI
2. With Python Version 2.7.3
3. With wx version 2.9.4
What is the expected output? What do you see instead?
RUN GUI...
What version of the product are you using? On what operating system?
X.3 & X.4 error from the PYTHON command line
Please provide any additional information below.
X.3
HP-walii-MAC-OSX:x.3 walterleonardo$ python pinguino.py
pinguino.py:79: wxPyDeprecationWarning: Using deprecated class PySimpleApp.
app = wx.PySimpleApp(0)
Traceback (most recent call last):
File "pinguino.py", line 151, in <module>
main()
File "pinguino.py", line 68, in main
app = MyApp(False)
File "/usr/local/lib/wxPython-2.9.4.0/lib/python2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 8631, in __init__
self._BootstrapApp()
File "/usr/local/lib/wxPython-2.9.4.0/lib/python2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "pinguino.py", line 56, in OnInit
frame.__initPinguino__(None)
File "/Users/walterleonardo/Pinguino/pinguino32-read-only/x.3/wxgui/pinguino.py", line 126, in __initPinguino__
self.buildEditor()
File "/Users/walterleonardo/Pinguino/pinguino32-read-only/x.3/wxgui/pinguino.py", line 195, in buildEditor
self.lat = panelLateral(self)
File "/Users/walterleonardo/Pinguino/pinguino32-read-only/x.3/wxgui/frames/framesX3.py", line 877, in __init__
fgSizer1.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
File "/usr/local/lib/wxPython-2.9.4.0/lib/python2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 14688, in AddSpacer
return self.Add(*args, **kw)
File "/usr/local/lib/wxPython-2.9.4.0/lib/python2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 14469, in Add
return _core_.Sizer_Add(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "Assert failure" failed at
/BUILD/wxPython-src-2.9.4.0/src/common/sizer.cpp(1377) in DoInsert(): too many
items (5 > 2*2) in grid sizer (maybe you should omit the number of either rows
or columns?)
X.4
sh-3.2# python pinguino.py
Traceback (most recent call last):
File "pinguino.py", line 6, in <module>
from wxgui.pinguino import setGui
File "/Users/walterleonardo/Pinguino/x.4/wxgui/__init__.py", line 4, in <module>
from framesX3 import framePinguinoX, frameKeyWords, framePreferences, panelLateral, menubarPinguino, frameAutoCompleter, panelOutput
File "/Users/walterleonardo/Pinguino/x.4/wxgui/framesX3.py", line 14, in <module>
import gettext
File "/Users/walterleonardo/Pinguino/x.4/wxgui/gettext.py", line 7, in <module>
from wxgui._trad import _ as gettext
File "/Users/walterleonardo/Pinguino/x.4/wxgui/_trad.py", line 37, in <module>
lang = gettext.translation('pinguino', os.path.join(sys.path[0], 'locale'), languages=[loc], fallback=True)
AttributeError: 'module' object has no attribute 'translation'
Original issue reported on code.google.com by [email protected]
on 9 Jan 2013 at 11:29
What steps will reproduce the problem?
1. compile the example for lcd in rev399
2. upload to 18f4550
3. run(it doesnt display anything)
What is the expected output? What do you see instead?
I tried the lcd example on piguino 905, it worked ok but not in the rev399.
What version of the product are you using? On what operating system?
I used pinguino x3 re399, windows 7 32 bit.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 23 May 2012 at 9:00
What steps will reproduce the problem?
1. Open Pinguino IDE
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Pinguino305 Linux Version
Please provide any additional information below.
python pinguino.py
(python:3081): GLib-CRITICAL **: g_variant_iter_loop: assertion
`g_variant_is_of_type (GVSI(iter)->value, G_VARIANT_TYPE_ARRAY)' failed
(python:3081): GLib-CRITICAL **: g_variant_iter_loop: assertion
`g_variant_is_of_type (GVSI(iter)->value, G_VARIANT_TYPE_ARRAY)' failed
Original issue reported on code.google.com by aasanchez
on 6 Apr 2012 at 5:17
What steps will reproduce the problem?
1. Install latest version of Pinguino IDE x.3
2. Select PIC32 Pinguino 220
3. Compile OnChange.pde from the interrupt examples
What is the expected output? What do you see instead?
* EXPECTED: compiled binary
* CURRENT: errors regarding PWM keyword as well as some macros undeclared
What version of the product are you using? On what operating system?
* Pinguino version x.3 (latest), Windows7 32 bit
Please provide any additional information below.
* This error has already been present in the last version of Pinguino. Nobody
seemed to fix it, though it also was mentioned in the forum.
* A documentation on how to user timer/interrupt functionality and PWM would be
useful.
Original issue reported on code.google.com by [email protected]
on 18 May 2012 at 12:08
What steps will reproduce the problem?
1. open IDEx.3 rev 399, like sudo or normal user
2. compile Blink.pde, using pins 13 and 7 (no one works)
3. load the Blink.hex in the board (in bootloader mode)
What is the expected output? What do you see instead?
UBW32 found: 1610633216 bytes free
Erasing...
Writing hex file
'/home/yagui/programas/pinguinoX.3rev399/examples/01.Basics/Blink/Blink.hex':...
.......................................................
Resetting device...
that said the IDE x3, but the ping32 diy has not responded
and this say dmesg | grep usb :
[ 1538.668215] usb 2-2: new full-speed USB device number 5 using uhci_hcd
[ 1538.844333] generic-usb 0003:04D8:003C.0004: hiddev0,hidraw0: USB HID v1.11
Device [Microchip Technology Inc. USB HID Bootloader] on
usb-0000:00:1d.0-2/input0
What version of the product are you using? On what operating system?
linux mint 13 maya- ide x3 rev 399 -
bootloader: PIC32MX250F128B_-_HID_Bootloader.hex
Please provide any additional information below.
PD: the IDE works well with the pinguino 18F4550, diy too.
ive connected the VBUS pin to VDD(3.3v or 5v, no one works).
i have the pic32mx250/220/230, everyone with the same results.
Original issue reported on code.google.com by [email protected]
on 4 Sep 2012 at 2:07
What steps will reproduce the problem?
1. Just run the installer on Windows (7)
What is the expected output? What do you see instead?
It is (and has been since the MSDOS-2 days) basic that installers give users an
option where programs get installed. And the default should NEVER be c:\.
What version of the product are you using? On what operating system?
PinguinoX.3 rev399 setup.exe on Win7 Ultimate.
Please provide any additional information below.
This is an unnecessary and irritating deviation from standard behavior.
Everything works perfectly well if the entire install folder is moved to
another location.
Original issue reported on code.google.com by [email protected]
on 30 Dec 2012 at 12:22
jp,
i am still getting this error when compiling the sweep.pde?
Board: Pinguino 4550
Proc: 18f4550
File: C:\PinguinoX.3\examples\10.Libraries\Servo\Sweep.pde
c:/PinguinoX.3/p8/include/pinguino/libraries/Servo.h:48:22: fatal error:
inttypes.h: No such file or directory
sdcpp.exe: fatal error: when writing output to : Invalid argument
c:/PinguinoX.3/p8/include/pinguino/libraries/Servo.h:100: syntax error: token
-> 'uint8_t' ; column 9
error while compiling file C:\PinguinoX.3\examples\10.Libraries\Servo\Sweep
please help
Fred Warden (thanks)
Original issue reported on code.google.com by [email protected]
on 9 May 2012 at 1:12
What steps will reproduce the problem?
1. Start PinguinoX.3 r421
2. Open and compile any (working) example (e.g. BlinkWithoutDelay)
What is the expected output? What do you see instead?
As you can see the compilation fail :
ID Log :
Board: PIC32 Pinguino OTG
Proc: 32MX440F256H
File: /Users/kasey/pinguino/examples/01.Basics/AnalogReadSerial/AnalogReadSerial
.pde
mips-elf-gcc: internal compiler error: Trace/BPT trap (program cc1)
error while linking
/Users/kasey/pinguino/examples/01.Basics/AnalogReadSerial/AnalogReadSerial.o
Stdout log :
#----------------------------------------------------------------------------
# clean
#----------------------------------------------------------------------------
rm -f -v /Users/kasey/pinguino/source/main32.o
rm -f -v /Users/kasey/pinguino/source/main32.elf
rm -f -v /Users/kasey/pinguino/source/main32.hex
rm -f -v /Users/kasey/pinguino/p32/obj/non-free/processor.o
« /Users/kasey/pinguino/p32/obj/non-free/processor.o » supprimé
#----------------------------------------------------------------------------
# copy
#----------------------------------------------------------------------------
cp /Users/kasey/pinguino/p32/obj/non-free/32MX440F256H.o
/Users/kasey/pinguino/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# compile and link
#----------------------------------------------------------------------------
/Users/kasey/pinguino/macosx/p32/bin/mips-elf-gcc -EL -O3 -ffunction-sections
-fdata-sections -Wl,--gc-sections -march=24kc -msoft-float
-Wl,--defsym,_min_heap_size=16384
-Wl,-Map=/Users/kasey/pinguino/source/output.map
-Wl,-L/Users/kasey/pinguino/p32/obj/non-free/ -D __PIC32MX__ -D
__32MX440F256H__ -D PIC32_PINGUINO_OTG
-T/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO_OTG/procdefs.ld
-T/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO_OTG/elf32pic32mx.x
-L/Users/kasey/pinguino/p32/obj/non-free/usb -lm -lgcc -lc
-fdollars-in-identifiers -I/Users/kasey/pinguino/p32/include/non-free
-I/Users/kasey/pinguino/p32/include/pinguino/core
-I/Users/kasey/pinguino/p32/include/pinguino/libraries
-I/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO_OTG
-I/Users/kasey/pinguino/examples/01.Basics/AnalogReadSerial
-I/Users/kasey/pinguino/p32/obj/non-free -o
/Users/kasey/pinguino/source/main32.elf /Users/kasey/pinguino/source/main32.c\
/Users/kasey/pinguino/p32/obj/non-free/crt0.S\
/Users/kasey/pinguino/p32/obj/non-free/processor.o\
/Users/kasey/pinguino/p32/obj/non-free/usb/libcdc.a\
/Users/kasey/pinguino/p32/obj/non-free/usb/libadb.a\
/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO_OTG/ISRwrapper.S\
/Users/kasey/pinguino/p32/include/non-free/p32xxxx.h\
-lm -lgcc -lc
dyld: Library not loaded: /Users/costesl/Desktop/my_gcc/lib/libmpfr.4.dylib
Referenced from: /Users/kasey/pinguino/macosx/p32/bin/../libexec/gcc/mips-elf/4.6.2/cc1
Reason: Incompatible library version: cc1 requires version 6.0.0 or later, but libmpfr.4.dylib provides version 5.0.0
mips-elf-gcc: internal compiler error: Trace/BPT trap (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [link] Error 4
What version of the product are you using? On what operating system?
* PinguinoX.3 r421
* Mac OS X 10.6 64bit
* Python 2.6
Please provide any additional information below.
As you can see on the stdout log, it seem that the lib path
/Users/costesl/Desktop/my_gcc/lib/libmpfr.4.dylib is hardcoded somewhere.
Original issue reported on code.google.com by [email protected]
on 18 May 2012 at 5:06
i downloaded the new ide X.3 381 after installation i get a fatal error in the
command window of the pinguino software never getting to the actual IDE
thank you
fred warden
Original issue reported on code.google.com by [email protected]
on 5 May 2012 at 1:36
Board: Pinguino 4550
Proc: 18f4550
File: C:\Users\fwarden\Desktop\x.4\examples\02.Digital\Debounce\Debounce.pde
error while compiling
check highlighted lines in your code
there are no highlighted code? please help
revision 745 windows 7 64 bit system
Original issue reported on code.google.com by [email protected]
on 5 Apr 2013 at 4:31
What steps will reproduce the problem?
Compile examples\02.Digital\PlayMusic\PlayMusic.pde
What is the expected output?
No error.
What do you see instead?
Compile error.
What version of the product are you using?
Rev793.
On what operating system?
Windows7
Please provide any additional information below.
On 8bit PICs,
PWM_set_frequency() and
PWM_set_percent_dutycycle() is not defined.
STDOUT:
Processor: 18f26j50
sdcc: Calling preprocessor...
sdcc: Generating code...
/dvpt/sdcc/sources/sdcc/src/pic16/main.c:686 setting interrupt vector addresses
0xc00
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/pwm.c:154: warning 85: in
function PWM_setDutyCycle unreferenced local variable : 'temp'
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:73: warning 112: function
'PWM_set_frequency' implicit declaration
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:74: warning 112: function
'PWM_set_percent_dutycycle' implicit declaration
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:73: error 101: too many
parameters
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:74: error 101: too many
parameters
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:74: warning 85: in
function noTone unreferenced function argument : 'pin'
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:82: warning 112: function
'PWM_set_frequency' implicit declaration
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:83: warning 112: function
'PWM_set_percent_dutycycle' implicit declaration
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:82: error 101: too many
parameters
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:83: error 101: too many
parameters
Q:/00pinguino/x4-svn-ide/x.4/p8/pinguino/core/sound.c:85: warning 85: in
function Tone unreferenced function argument : 'freq'
Original issue reported on code.google.com by [email protected]
on 2 May 2013 at 2:17
What steps will reproduce the problem?
1. Start SETUP.EXE on a PC where system drive is D:
What is the expected output? What do you see instead?
It says: "Drive does not exist!" (presumable it wants to access C:)
What version of the product are you using? On what operating system?
PinguinoX.3 rev399 setup.exe on WindowsXP
Original issue reported on code.google.com by [email protected]
on 3 Jun 2012 at 12:54
What steps will reproduce the problem?
1. start pinguinox.2
2. load examples/libraries/Wire/24c64.pde
3. compile
What is the expected output? What do you see instead?
expect to see a successful compile response but get:
Board: Generic_18F4550
Proc: 18f4550
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/define.h:9:20: error:
libI2C.c: No such file or directory
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/user.c:18: error 20:
Undefined identifier 'i2c_buffer'
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/user.c:18: error 22: Array
or pointer required for '[]' operation
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/user.c:24: error 101: too
many parameters
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/user.c:39: error 101: too
many parameters
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/user.c:40: error 101: too
many parameters
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/user.c:43: error 20:
Undefined identifier 'i2c_buffer'
/home/cstevens/Documents/Pinguino/pinguinoX.2/source/user.c:43: error 22: Array
or pointer required for '[]' operation
error while compiling file
/home/cstevens/Documents/Pinguino/pinguinoX.2/examples/10.Libraries/Wire/24c64
What version of the product are you using? On what operating system?
pinguinoX.2 linux opensuse 11.4
Please provide any additional information below.
have not tried every library but this seems to be the same story on all those
I've looked at
Original issue reported on code.google.com by [email protected]
on 1 Mar 2012 at 2:31
What steps will reproduce the problem?
1. Download and uncompress the ide for linux 64
2. Execute the ./pinguino_lin64.sh
------------------------------------------
What is the expected output? What do you see instead?
I expect the program to open a window. I get:
Traceback (most recent call last):
File "./pinguino.py", line 5, in <module>
from wxgui.pinguino import getOptions, Pinguino, setGui
File "/tmp/pinguinoX.3rev399/wxgui/__init__.py", line 4, in <module>
import check
File "/tmp/pinguinoX.3rev399/wxgui/check.py", line 222, in <module>
from editor import functionsHelp
File "/tmp/pinguinoX.3rev399/wxgui/editor/__init__.py", line 10, in <module>
from general import General
File "/tmp/pinguinoX.3rev399/wxgui/editor/general.py", line 29, in <module>
from dic import Snippet, Autocompleter
File "/tmp/pinguinoX.3rev399/wxgui/editor/dic.py", line 33, in <module>
if os.name == "posix": date = "/".join([t[3], t[1], t[5]])
IndexError: list index out of range
and the log says:
xandacona@xanda-desktop:/tmp/pinguinoX.3rev399$ cat pinguino.log Pinguino
started at Mon Dec 17 09:12:15 2012
Python version is OK (>=2.5)
System host is GNU/Linux
8-bit compiler OK.
32-bit compiler OK.
wx.python successfully loaded
wx.aui successfully loaded
Regex successfully loaded
Shutil successfully loaded
Subprocess successfully loaded
GetText successfully loaded
Locale successfully loaded
WebBrowser successfully loaded
USB successfully loaded
Serial successfully loaded
Threading successfully loaded
Frames successfully loaded
------------------------------------------
What version of the product are you using? On what operating system?
pinguinoX.3rev399.tar.lzma
Linux 2.6.35-32-generic #67-Ubuntu SMP Mon Mar 5 19:39:49 UTC 2012 x86_64
GNU/Linux
Ubuntu 10.10
------------------------------------------
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 17 Dec 2012 at 8:19
When following code is compiled and run all is normal:
Code:
void setup()
{
pinMode(GREENLED, OUTPUT);
Serial.println("\r\n* Pinguino SD demo *");
}
void loop()
{
toggle(GREENLED);
delay(500);
/*
// SD.unmount();
*/
}
When the double slash is removed in front of "SD.unmount" the compile time is
much longer and code will not run despite of this code is still commented out
by the "/*" and "*/"-combination.
Send this user an email
Original issue reported on code.google.com by hgmvanbeek
on 8 Apr 2012 at 4:09
What steps will reproduce the problem?
1. Fresh installation of Pinguino IDE (never installed before)
2. Install successfull
3. run crash
4. last line of log file :
Pinguino Uploader successfully loaded
pySVN failed, try to install pySVN
Enable to check new version of Pinguino IDE
Please provide any additional information below.
Windows xp SP3
I tried to install the following but, it didn't fix the issue
wxPython2.8-win32-unicode-2.8.9.1-py25.exe
python-2.5.2.msi
libusb-win32-filter-bin-0.1.12.1.exe
pyusb-0.4.1.win32-py2.5.exe
py25-pysvn-svn161-1.7.0-1177.exe
Any idea of what I should do?
Thanks
Original issue reported on code.google.com by [email protected]
on 22 Sep 2012 at 2:32
What steps will reproduce the problem?
1. USB instructions (USB.available, USB.read, ...)
What is the expected output? What do you see instead?
Compile. Give me an error.
What version of the product are you using? On what operating system?
Pinguino X.4, Ubuntu 13.04
Please provide any additional information below.
Output:
ide/x.4/source/main.c:61:30: error: common_types.h: No such file or directory
ide/x.4/source/main.c:62:28: error: boot_iface.h: No such file or directory
ide/x.4/p8/pinguino/libraries/usb.c:71: warning 112: function 'fill_in_buffer'
implicit declaration
ide/x.4/p8/pinguino/libraries/usb.c:71: error 101: too many parameters
ide/x.4/p8/pinguino/libraries/usb.c:109: warning 112: function 'fill_in_buffer'
implicit declaration
ide/x.4/p8/pinguino/libraries/usb.c:109: error 101: too many parameters
ide/x.4/p8/pinguino/libraries/usb.c:188: warning 112: function
'dispatch_usb_event' implicit declaration
Processor: 18f2550
sdcc: Calling preprocessor...
sdcc: Generating code...
Original issue reported on code.google.com by [email protected]
on 1 May 2013 at 8:23
What steps will reproduce the problem?
1. tried to compile some I2C test code
2. compilation failed with errors like the following:
i2c.c:140:12 error:'__IFS0bits_t' has no member named I2C1MIF
i2c.c:141:12 error:'__IFS0bits_t' has no member named I2C1MIF
i2c.c:142:12 error:'__IFS0bits_t' has no member named I2C1MIF
i2c.c:416:19 error:'__IFS0bits_t' has no member named I2C1MIF
i2c.c:417:12 error:'__IFS0bits_t' has no member named I2C1MIF
3. Looking at the related lines in i2c.c we see that there is no
"ifdef" statement for the ..32B device just ..32D.
i2c.c: from line 110 ff.:
#ifdef __32MX220F032D__
IFS1bits.I2C1MIF = 0;
IFS1bits.I2C1SIF = 0;
IFS1bits.I2C1BIF = 0;
IEC1bits.I2C1MIE = 1;
IEC1bits.I2C1SIE = 1;
IEC1bits.I2C1BIE = 1;
#else
IFS0bits.I2C1MIF = 0;
IFS0bits.I2C1SIF = 0;
IFS0bits.I2C1BIF = 0;
IEC0bits.I2C1MIE = 1;
IEC0bits.I2C1SIE = 1;
IEC0bits.I2C1BIE = 1;
#endif
What is the expected output? What do you see instead?
Code that makes calls to i2c library should compile without errors.
What version of the product are you using? On what operating system?
X.4 ref 713
Please provide any additional information below.
I patched i2c.c to include an "if defined" statement for GENERIC32MX250F128 and
GENERIC32MX220F032.
in I2C_init line 132 and in 413 in I2C_Wait.
e.g. change fom
#ifdef __32MX220F032D__
to
#if defined(__32MX220F032D__) || defined (__32MX220F032B__) || defined
(__32MX250F128B__)
I'm not sure if this is the best way to fix it. I'm still new to pinguino, but
I tested that on a pic 32 DIY board with a
32MX220F032 device. That worked.
Original issue reported on code.google.com by [email protected]
on 24 Feb 2013 at 4:26
JP,
WITH THE NEW WINDOWS VERSION 399 WHEN I WRITE my 8 bit CODE AND TRY TO COMPILE THE X.3 399 locks up and will not save the program.
Thanks
Fred warden
Original issue reported on code.google.com by [email protected]
on 14 May 2012 at 12:49
What steps will reproduce the problem?
1. Complie any exmaple code.
What is the expected output?
No error when compile any example code.
What do you see instead?
Stdout shows 'sdcpp can't find ...' so on.
What version of the product are you using?
Pinguino rev785.
On what operating system?
Windows7/XP.
Please provide any additional information below.
Recent SDCC included Pinguino seems to need
the bin PATH to SDCC.
SDCC included Pinguino is
rev685:
3.2.1 #8198 (Nov 7 2012) (MINGW32)
This dose not need the bin PATH to SDCC.
rev785:
SDCC : pic16 3.2.1 #8392 (Jan 21 2013) (MINGW32)
This needs the bin PATH to SDCC.
If it is possible, I want to use the SDCC of rev685 type.
Original issue reported on code.google.com by [email protected]
on 2 May 2013 at 9:40
What steps will reproduce the problem?
1. Start PinguinoX.2
2. Load 4.Communication --> USB --> CDC --> GetKey.pde sketch
3. Compile and Upload to any PIC32-Penguino board
What is the expected output? What do you see instead?
expected:
Press a key ...
Key pressed "<key>"
:
seen:
CDC USB driver will not be activated/found - board identfies with VID 0x0000
and PID 0x0000 after the code has been uploaded and the board reset
What version of the product are you using? On what operating system?
Board: PIC32-Pinguino-MX220 and PIC32-Pinguino-Micro
PinguinoX.2 IDE: rev293
OS: Windows XP SP3
Please provide any additional information below.
CDC.Getkey is undocumented in the WiKi but is used in the GetKey.pde sketch and
available in the CDC library. Compiling GetKey.pde shows no errors and
generates a hex file that can be downloaded.
Original issue reported on code.google.com by ubannow
on 6 Mar 2012 at 11:31
Win-XP(SP3)
Pinguino-IDE,rev468
Emperor 460
Android 2.2 phones/tablet
void setup()
{
Adb.init();
}
void loop()
{
unsigned char connected = Adb.refresh();
}
The variable "connected" never becomes TRUE. However, it should change to TRUE
as soon as an Android device is attached to the USB host port.
I have tested with two different Android 2.2 phones and one Android 2.2 tablet.
Please note: All three Android devices connect via ADB, and work perfectly when
plugged into the USB host port of an Arduino Mega ADK board.
Is the connection from the Pinguino rejected because the Android device
requests the maximum current (500mA)? How much current does the
Pinguino-generated code permit?
Must be a certain VIP/PID specified, or will the Pinguino-generated firmware
connect to all possible VIDs/PIDs?
Thank you for any advice.
Original issue reported on code.google.com by [email protected]
on 7 Jun 2012 at 1:49
What steps will reproduce the problem?
1. noTone(11);
2. program not continuing
3.
Resolution - add line in file pwm.c
in function
void PWM_set_frequency(u32 freq)
{
if(freq==0) freq=1; // <-add this line
_pr3_plus1 = GetPeripheralClock() / freq; // FOSC / PWM Frequency
Original issue reported on code.google.com by [email protected]
on 3 Apr 2012 at 8:03
currently the 399 rev does not run on Linux due
http://code.google.com/p/pinguino32/issues/detail?id=17 but this is fixed in
the latest svn revision so could you update the download options to a later
revision with this and other bug fixes
Original issue reported on code.google.com by [email protected]
on 29 Aug 2012 at 8:23
LD_LIBRARY_PATH is not exclusively used by pinguino , other examples include
nvcc (the cuda compiler)so care must be taken not to over write the existing
values a quick fix would be to add :$LD_LIBRARY_PATH to the end of the
assignment commands but this would be sub optimum if calling
./pinguino_start.sh many times
Original issue reported on code.google.com by [email protected]
on 29 Aug 2012 at 9:43
There is a minor bug in the millis function for the mx220 function. The initial
TMR2 value is correct but in the interrupt you must update this value with TMR2
= 65535 - _tmr2, not with _tmr2. The impact is 5x on the millis impact, since
the timer restarts to count from initial value to 65535, giving us the 1mS.
The correction is in line 53.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2013 at 10:16
Attachments:
What steps will reproduce the problem?
1. Any Pinguino32 program using CDC.printf or related functions
2. Ex. CDC.printf ("The numberis %d",100);
What is the expected output? What do you see instead?
I Should see "The number is 100"
I am getting "The number is -1610580020"
This behavior occurs with all types (float, etc..) tested
What version of the product are you using? On what operating system?
Pinguino X.3 rev 294
Lubuntu 11.10 (Oneiric)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 Mar 2012 at 10:19
function:
/*
* CDCprintHex
* Sends to serial a hex number formated in ascii
*
*
* parameters
* value - the value to be printed in CDC
* maximum value of unsigned 32
* returns
* void
*/
void CDCprintHex(long int value)
{
char array[12];
char count = 0;
for(count = 0; count < 8 ; count++)
{
int digit = ((value >> (count*4)) & 0xF);
int arrayIndex = 7 - count;
if(digit > 9)
{
array[arrayIndex] = 0x57 + digit;
}
else
{
array[arrayIndex] = 0x30 + digit;
}
}
array[8] = '\n';
array[9] = '\r';
CDCputs(&array[0],10);
}
in _cdc.c
CDC.printHex CDCprintHex#include <__cdc.c>
in usb.pdf32
Original issue reported on code.google.com by [email protected]
on 3 Sep 2012 at 8:02
What steps will reproduce the problem?
1. open examples/03.Analog/Smoothing/Smoothing.pde
2. compile
What is the expected output? What do you see instead?
file examples/03.Analog/Smoothing/Smoothing.pde wont compile due to the symbol
conflict; the error message is misleading because of "wrong" file name and line
number; also, would be nice if error message could contain additional
information what cause errors - like below (copy&paste from chipkit mpide):
Smoothing.pde:30:5: error: 'index' redeclared as different kind of symbol
previous declaration of 'char* index(const char*, int)' in
include/string.h:56:8
instead of (pinguinoX.3):
examples/03.Analog/Smoothing/Smoothing.pde
pinguinoX.3/source/user.c:12:5: error: 'index' redeclared as different kind of
symbol
error while linking pinguinoX.3/examples/03.Analog/Smoothing/Smoothing.o
What version of the product are you using? On what operating system?
pinguinoX.3 rev381 linux
Original issue reported on code.google.com by [email protected]
on 7 May 2012 at 8:37
jp thank you for fixing the fatal error but now when i hook my 18f4550 board
and try to compile the state change detection i get this message?
c:/PinguinoX.3/working_dir/p8/include/stdint.h:30: error 51: typedef/enum
'int32_t' duplicate. Previous definition Ignored
c:/PinguinoX.3/working_dir/p8/include/stdint.h:33: error 51: typedef/enum
'uint8_t' duplicate. Previous definition Ignored
c:/PinguinoX.3/working_dir/p8/include/stdint.h:34: error 51: typedef/enum
'uint16_t' duplicate. Previous definition Ignored
c:/PinguinoX.3/working_dir/p8/include/stdint.h:35: error 51: typedef/enum
'uint32_t' duplicate. Previous definition Ignored
error while compiling file
C:\PinguinoX.3\working_dir\examples\02.Digital\StateChangeDetection\StateChangeD
etection
thank you
fred warden
Original issue reported on code.google.com by [email protected]
on 6 May 2012 at 12:08
What steps will reproduce the problem?
1. Try Compile LCD Hello World example (10.Libraries/LiquidCrystal/HelloWorld)
2. Try compile for generic18f4550
3.
What is the expected output? What do you see instead?
expected output?
Something like
Board: Generic_18F4550
Proc: 18f4550
compilation done
code size: 7776 / 24575 bytes (31% used)
0.52054810524 seconds process time
What i see?
Board: Generic_18F4550
Proc: 18f4550
/opt/pinguino32/source/define.h:6:27: error: LiquidCrystal.h: No such file or
directory
/opt/pinguino32/source/user.c:42: syntax error: token -> 'lcd' ; column 17
error while compiling file
/opt/pinguino32/examples/10.Libraries/LiquidCrystal/HelloWorld
What version of the product are you using? On what operating system?
Version r219 in Linux (Ubuntu)
Please provide any additional information below.
Original issue reported on code.google.com by aasanchez
on 31 Oct 2011 at 2:41
What is the expected output? pin 12 to execute the analogwrite value given.
What do you see instead?
led stays bright no matter what analogwrite value given.
What version of the product are you using? On what operating system?
rev778 pinguino windows 7 64 bit SP1
Please provide any additional information below.
// test PWM with Pinguino
// Jean-Pierre MANDON 2009
void setup()
{
}
void loop()
{
analogWrite(11,5); // 50% square wave on output 11
analogWrite(12,5); // 10% square wave on output 12
}
pin 11- volts .27 @ analog value 5 LED dim
pin 12- volts 4.85 @ analog value 5 led bright
Original issue reported on code.google.com by [email protected]
on 25 Apr 2013 at 12:59
./pinguino_start.sh
Traceback (most recent call last):
File "./pinguino.py", line 5, in <module>
from wxgui.pinguino import getOptions, Pinguino, setGui
File "/home/pic32/pinguinoX.3rev399/wxgui/__init__.py", line 4, in <module>
import check
File "/home/pic32/pinguinoX.3rev399/wxgui/check.py", line 222, in <module>
from editor import functionsHelp
File "/home/pic32/pinguinoX.3rev399/wxgui/editor/__init__.py", line 10, in <module>
from general import General
File "/home/pic32/pinguinoX.3rev399/wxgui/editor/general.py", line 29, in <module>
from dic import Snippet, Autocompleter
File "/home/pic32/pinguinoX.3rev399/wxgui/editor/dic.py", line 33, in <module>
if os.name == "posix": date = "/".join([t[3], t[1], t[5]])
IndexError: list index out of range
Original issue reported on code.google.com by [email protected]
on 14 May 2012 at 10:01
In pinguino ide X.2 from svn revision 464, on Debian testing,
Even with this simple code:
void UserInterrupt(){}
void setup(){}
void loop(){}
Compilation fails with the message:
error while compiling file
content of source/stdout:
source/main.c:63: warning 112: function 'int_init' implicit declaration
source/main.c:75: warning 112: function 'int_start' implicit declaration
source/main.c:63: warning 84: 'auto' variable 'int_init' may be used before
initialization
source/main.c:75: warning 84: 'auto' variable 'int_start' may be used before
initialization
source/main.c:63: warning 84: 'auto' variable 'int_init' may be used before
initialization
source/main.c:75: warning 84: 'auto' variable 'int_start' may be used before
initialization
source/main.asm:23:Error [113] Symbol not previously defined (_int_init).
source/main.asm:24:Error [113] Symbol not previously defined (_int_start).
source/main.asm:345:Error [113] Symbol not previously defined (_int_init).
source/main.asm:345:Error [113] Symbol not previously defined (_int_init).
source/main.asm:349:Error [113] Symbol not previously defined (_int_start).
source/main.asm:349:Error [113] Symbol not previously defined (_int_start).
Original issue reported on code.google.com by [email protected]
on 29 May 2012 at 2:18
What steps will reproduce the problem?
1. digitalwrite any pin 18 -28
2.
3.
What is the expected output? What do you see instead?
pin should execute digitalwrite function. instead the pins are off by one so if
you want pin 28 to turn on pin 27 actually turns on.
What version of the product are you using? On what operating system?
x.4 rev785 windows 7 64 bit SP1 PIC18F4550
Please provide any additional information below.
my board works with x.3
Original issue reported on code.google.com by [email protected]
on 30 Apr 2013 at 10:42
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.