Thxe

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Thxe

  • Rank
    Newbie

Profile Information

  • Gender Not Telling
  1. No problem. Let me know if you need any other information.
  2. I have not installed cygwin. I was under the impression ZAP IDE came with some form of cygwin though.
  3. I am in fact running Windows 8.1, and I have found a solution although its not pretty. I used a rebased msys-1.0.dll as described in the thread from 2008. I believe the one posted on that thread should work, although I used one from my local installation of msysgit. This should get you to the gawk problem. To fix that, I changed the gawk command to: ./gawk ' BEGIN{FS=" ";} { $1= ""; print $0 > out.mem} ' tmp.memInside the makefile, this is: $(GAWK) ' BEGIN{FS=" ";} { $$1= ""; print $$0 > "out.mem" } ' tmp.memAfter that, it worked and I was able to load the quickstart sketch on to my Papilio One 500K with working results. For those trying to fix this themselves, the makefile that needs to be changed is in papilio-zap-ide\hardware\tools\papilio\Makefile. I think the gawk problem was that for some reason (old msys dll?) gawk was being passed the redirection as a parameter. When it saw the > after its input file, it gave up and printed its usage string. The changed script tells gawk to output the result into the file itself, rather than using redirection. Thxe
  4. Hello, I just installed the ZAP IDE and am having trouble with the AVR8 PapilioQuickStart sketch. I have been following these directions. When I try to compile and upload the sketch, I get this: 1 [main] cp 5956 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem tothe public mailing list cygwin@cygwin.comcygwin warning: MS-DOS style path detected: C:\Users\<username>\AppData\Local\Temp\build1443114436415589780.tmp Preferred POSIX equivalent is: /cygdrive/c/Users/<username>/AppData/Local/Temp/build1443114436415589780.tmp CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnamesExecuting D:\<path>\papilio-zap-ide\hardware\tools\avr\bin\avr-size -A C:\Users\<username>1\AppData\Local\Temp\build1443114436415589780.tmp/Papilio_QuickStart.cpp.hexBinary sketch size: 3,076 bytes (of a 16,384 byte maximum) - 18% used 0 [main] sh 5252 sync_with_child: child 3096(0x178) died before initialization with status code 0xC0000142 23 [main] sh 5252 sync_with_child: *** child state waiting for longjmpsh.exe: fork: Resource temporarily unavailable 0 [main] sh 3168 sync_with_child: child 3216(0x174) died before initialization with status code 0xC0000142 22 [main] sh 3168 sync_with_child: *** child state waiting for longjmpsh.exe: fork: Resource temporarily unavailablemake: Entering directory `C:/Users/<username>/AppData/Local/Temp/build1443114436415589780.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 992 sync_with_child: child 3004(0x16C) died before initialization with status code 0xC0000142 20 [main] sh 992 sync_with_child: *** child state waiting for longjmpsh.exe: fork: Resource temporarily unavailablemake: *** [hex] Error 128make: Leaving directory `C:/Users/<username>/AppData/Local/Temp/build1443114436415589780.tmp'processing.app.debug.RunnerException: the selected serial port make: Leaving directory `C:/Users/<username>/AppData/Local/Temp/build1443114436415589780.tmp' does not exist or your board is not connectedat 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:2511)at java.lang.Thread.run(Thread.java:619)There are some threads from like 2008 describing problems with vista causing the sync_with_child error which suggest using a modified version of msys-1.0.dll. I tried this and got this output instead: 0 [main] cp 6248 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem tothe public mailing list cygwin@cygwin.comcygwin warning: MS-DOS style path detected: C:\Users\<username>\AppData\Local\Temp\build1443114436415589780.tmp Preferred POSIX equivalent is: /cygdrive/c/Users/<username>/AppData/Local/Temp/build1443114436415589780.tmp CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnamesExecuting D:\<path>\papilio-zap-ide\hardware\tools\avr\bin\avr-size -A C:\Users\<username>\AppData\Local\Temp\build1443114436415589780.tmp/Papilio_QuickStart.cpp.hexBinary sketch size: 3,076 bytes (of a 16,384 byte maximum) - 18% usedmake: Entering directory `C:/Users/<username>/AppData/Local/Temp/build1443114436415589780.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.memUsage: gawk.exe" [POSIX or GNU style options] -f progfile [--] file ...gawk.exe" [POSIX or GNU style options] [--] 'program' file ...POSIX options: GNU long options:-f progfile --file=progfile-F fs --field-separator=fs-v var=val --assign=var=val-m[fr] val-W compat --compat-W copyleft --copyleft-W copyright --copyright-W help --help-W lint --lint-W lint-old --lint-old-W posix --posix-W re-interval --re-interval-W source=program-text --source=program-text-W traditional --traditional-W usage --usage-W version --versionReport bugs to bug-gnu-utils@gnu.org,with a Cc: to arnold@gnu.orgmake: *** [hex] Error 1make: Leaving directory `C:/Users/<username>/AppData/Local/Temp/build1443114436415589780.tmp'processing.app.debug.RunnerException: the selected serial port make: Leaving directory `C:/Users/<username>/AppData/Local/Temp/build1443114436415589780.tmp' does not exist or your board is not connectedat 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:2511)at java.lang.Thread.run(Thread.java:619)It appears that this solves the problem to some extent, but now something weird happens with gawk. EDIT: Related to the first error (something cygwin and cp related) it does appear that the files are successfully copied to the temporary directory.
  5. Hello, I'm new to Papilio, and I'm trying to get the AVR soft core working. I have Xilinx setup, and I can synthesize the core. The hardware is a Papilio One 500K and my computer is running Windows 8.1. I have successfully loaded the Quickstart .bit file and verified an LED blinks when connected. I am encountering errors with this setup. I load the Papilio loader and choose the .bit file and _bd.bmm files generated during synthesis as well as the .hex file generated from my source program (which should blink an LED). I choose FPGA from the drop down and click load. The output is: JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500EUSB transactions: Write 3 read 2 retries 0Using devlist.txtIgnoring unknown field 'ÿ'IOException: Unexpected end of file I was hoping somebody could shed some light on the errors in the last two lines. I'm not even sure which file is causing the problem. If needed I can post the hex file or code I am trying to load, but it doesn't want to let me attach a hex file.