ZAP 2.3.0 burning bootloader error


Anarchy

Recommended Posts

Hi all,

I have a Papilio One 500K board. I starting using a ZAP IDE yesterday, it is working in the beginnig.
Firstly i try the ZPUino vanilia variant, i burn the bootloader and download the quickstart program.
Today i started writing some program by my own, but i discovered, the ZPUino soft processor not implement some Arduino functions.
Then i wanted to try switch the processor to the AVR 8 Shifty variant, but i gotten error message.
The exact error message:
"

java.lang.NullPointerException

at processing.app.debug.BasicUploader.burnBootloader(BasicUploader.java:295)
at processing.app.Editor$61.run(Editor.java:2722)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

"

I try any other soft processor burning to the, but i got the same error message. 
I do a restart, reinstall the ZAP IDE and clean junk flies from my PC (with CCleaner), but the bootloader burner still not work :(

Please help me.
István

Link to comment
Share on other sites

After watching again the ZAP getting started video in the website, i realise that i made an error.
In the video, the instructor doesn't burning the bootloader.
He just select, the soft processor, the Serial port and the example.
I try it, but it still doesn't work :(

I don't know how, but i can burn the ZPUino soft processor at today. I don't know what is wrong with it, but from now is starting work (WTF) :(

OS: Win 8.1

 

I gotten a hit, found in the forum. Now i try to figure out the thread.
http://forum.gadgetfactory.net/index.php?/topic/1956-sync-with-child-error/

The exact error message:

"

        0 [main] cp 4588 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
cygwin warning:
  MS-DOS style path detected: C:\Users\ISTVN~1\AppData\Local\Temp\build3081076157931626678.tmp
  Preferred POSIX equivalent is: /cygdrive/c/Users/ISTVN~1/AppData/Local/Temp/build3081076157931626678.tmp
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
Executing  E:\xilinx\Arduino_Papilio\install\papilio-zap-ide\hardware\tools\avr\bin\avr-size -A C:\Users\ISTVN~1\AppData\Local\Temp\build3081076157931626678.tmp/Papilio_QuickStart.cpp.hex
Binary sketch size: 3,076 bytes (of a 16,384 byte maximum) - 18% used
      0 [main] sh 912 sync_with_child: child 2776(0x190) died before initialization with status code 0xC0000142
     20 [main] sh 912 sync_with_child: *** child state waiting for longjmp
sh.exe: fork: Resource temporarily unavailable
      0 [main] sh 5660 sync_with_child: child 1480(0x190) died before initialization with status code 0xC0000142
     21 [main] sh 5660 sync_with_child: *** child state waiting for longjmp
sh.exe: fork: Resource temporarily unavailable
make: Entering directory `C:/Users/ISTVN~1/AppData/Local/Temp/build3081076157931626678.tmp'
 
Converting Intel hex file to Verilog Mem format:
./srec_cat Papilio_QuickStart.cpp.hex -Intel -Byte_Swap 2  -Data_Only -o tmp.mem -vmem 8
./gawk ' BEGIN{FS=" ";} { $1= ""; print}' tmp.mem > out.mem
      0 [main] sh 2952 sync_with_child: child 4316(0x188) died before initialization with status code 0xC0000142
     21 [main] sh 2952 sync_with_child: *** child state waiting for longjmp
sh.exe: fork: Resource temporarily unavailable
make: *** [hex] Error 128
make: Leaving directory `C:/Users/ISTVN~1/AppData/Local/Temp/build3081076157931626678.tmp'
processing.app.debug.RunnerException: the selected serial port make: Leaving directory `C:/Users/ISTVN~1/AppData/Local/Temp/build3081076157931626678.tmp'
 does not exist or your board is not connected
at processing.app.debug.BasicUploader.uploadUsingPreferences(BasicUploader.java:159)
at processing.app.Sketch.upload(Sketch.java:1678)
at processing.app.Sketch.exportApplet(Sketch.java:1620)
at processing.app.Sketch.exportApplet(Sketch.java:1592)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2607)
at java.lang.Thread.run(Thread.java:619)
"
Link to comment
Share on other sites

I fix the error.
The linked forum thread from the previous post, i got the solution.
In the make file i write the following lines:
"

$(GAWK) ' BEGIN{FS=" ";} { $$1= ""; print $$0 > "out.mem" } ' tmp.mem
#$(GAWK) ' BEGIN{FS=" ";} { $$1= ""; print}' tmp.mem > out.mem

"

The commented line is replaced the exact line.

After this rewrite it works correcly, and i started using the Nokia 5110 LCD display :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.