rfunderburk

Members
  • Content count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rfunderburk

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  1. rfunderburk

    ZAP programming on MacOSX

    Let me know if you need/want the Mac binary for this.
  2. rfunderburk

    ZAP programming on MacOSX

    Went to the 'Alvieboy' on github, got that repository (I am using the one from GadgetFactory) and compiled. I am able to load @ 115200! Get same error @ 1M, but at least I can run. Thanks!
  3. rfunderburk

    ZAP programming on MacOSX

    When you say "in the HDL repository" which specific one are you referring to? Maybe I am starting with the wrong source...
  4. rfunderburk

    ZAP programming on MacOSX

    Put together an autoconf.sh, added a "sysconf.h" (doesn't exist), modified "programmer.h" (add missing prototype), added a makeargv.c (doesn't exist in source) and I could then compile the code. Unfortunately it gets a segmentation fault: ./zpuinoprogrammer -s 1000000 -vvv -R -d /dev/cu.usbserial-00001004B -b PhaseMeasure.cpp.bin Opened device '/dev/cu.usbserial-00001004B'Connecting...[1376062965.016544] Tx: 0x7e 0x01 0x1e 0x0e 0x7e[1376062965.016613] Rx: 0x43[1376062965.030355] Rx: 0x7e 0x81 0x01 0x09 0x06 0x00 0x00 0x7f 0xef 0x80 0x05 0xb8 0xd8 0x00 0xa4 0x04 0x17 0x00 0x9b 0x1c 0x7eGot packet size 17Segmentation fault: 11 I'll have to debug when I get more time.
  5. rfunderburk

    ZAP programming on MacOSX

    Dump from the command attached. I pulled the Zap source from https://github.com/GadgetFactory/ZAP--ZPUino-Arduino-Papilio--IDE.git and issued 'ant' to build my image. It downloads the binaries from somewhere as it did not seem to build them. ZapMacDump.txt
  6. rfunderburk

    ZAP programming on MacOSX

    Well, partially works; gets a programming error and creates a brick. I am able to run with a VM running WinXP on this mac and it works fine. I also was able to load with the version before 'Zap', but I updated my serial drivers when first had trouble with 'Zap' so don't know the state of that right now. I will try updating the drivers for the serial ports.
  7. rfunderburk

    ZAP programming on MacOSX

    Hello, I have compiled ZAP for MacOSX and everything works but the actual program loading. Here is the exchange between the zpuinoprogrammer and the ZPUino on Papilio Pro (LX9), Vanilla Variant: --------------------------------------------------------------------------------------------------------- ./zpuinoprogrammer -s 1000000 -R -vvv -d /dev/cu.usbserial-00002006B -b PhaseMeasure.cpp.bin Opened device '/dev/cu.usbserial-00002006B'Connecting...[1375704106.986641] Tx: 0x7e 0x01 0x1e 0x0e 0x7e[1375704107.000600] Rx: 0x7e 0x81 0x01 0x09 0x06 0x00 0x00 0x7f 0xef 0x80 0x05 0xb8 0xd8 0x00 0xa4 0x04 0x17 0x00 0x9b 0x1c 0x7eGot packet size 17Got programmer version 1.9SPI offset: 393216CODE size: 8384384Board: Unknown board @ 96000000 Hz (0xa4041700)[1375704107.000784] Tx: 0x7e 0x02 0x2c 0x95 0x7e[1375704107.016462] Rx: 0x7e 0x82 0xc2 0x20 0x17 0x00 0x75 0x58 0x7eGot packet size 5SPI flash information: 0xc2 0x20 0x17, status 0x00Detected MX25L6445E flashWill program sector 6 (page 1536), original offset 0x00060000Need to program 6128 6144 bytes (24 pages)Reading data, 6124 bytesComputing sketch CRC (6124)Final CRC: 5545Settting baudrate divider to 5[1375704107.016817] Tx: 0x7e 0x08 0x00 0x00 0x00 0x05 0x3d 0x05 0x7e[1375704107.032527] Rx: 0x7e 0x88 0x07 0xc7 0x7eGot packet size 1Connecting at new speed (1000000)...[1375704107.032590] Tx: 0x7e 0x01 0x1e 0x0e 0x7e[1375704107.233661] Tx: 0x7e 0x01 0x1e 0x0e 0x7e[1375704107.434793] Tx: 0x7e 0x01 0x1e 0x0e 0x7e ... Above repeated 29 times ... Entering program mode[1375704125.135058] Tx: 0x7e 0x05 0x58 0x2a 0x7e[1375704126.137024] Tx: 0x7e 0x05 0x58 0x2a 0x7e[1375704127.138137] Tx: 0x7e 0x05 0x58 0x2a 0x7eCannot enter program mode --------------------------------------------------------------------------------------------------------- The programmer works fine for this board when running the Windows version. Any thoughts? Thanks,Richard
  8. rfunderburk

    Adding logic to ZPUino for Pro

    Ok, I have a solution for the Papilio Pro: Use the RetroCade environment. It is the only configuration that I was able to get the HDL and the Arduino development environment to operate. This requires downloading the RetroCade Synth Windows installer from the RetroCade Synth download section. You then download the ZPUino-HDL source from the GadgetFactory github repository. Change to the "zpu/hdl/zpuino/boards/papilio-pro/S6LX9/variants/retrocade" directory and build the HDL - this is easiest by installing cygwin and setting up the Xilinx environment variables and issuing 'make'. The resultant .bit file can then be uploaded to the Papilio Pro using Papilio Programmer and, using the Arduino environment from the RetroCade Synth, you can upload sketches and it all works as expected.
  9. rfunderburk

    Adding logic to ZPUino for Pro

    Hi Alvie - I moved everything so that my VM wasn't using forced reference paths (like the \\psf path above). The code now compiles, but I get this error: C:\Utils\arduino-0102\hardware\tools\zpu\bin\make --silent -C C:\DOCUME~1\RFUNDE~1\LOCALS~1\Temp\build4354571368501934118.tmp all Binary sketch size: 988 bytes (of a 8,388,608 byte maximum) - 968 bytes ROM, 28 bytes memoryBoard: Unknown board @ 96000000 Hz (0xa4040f00)Cannot program flash on non-sector boundaries! I assume that this is because I don't have a Papilio Pro bit image to load (I can only find Papilio Plus with LX9). Is there a pre-built bit image that I can load? I would like to start with a known entity before attempting to load compiled bit files.
  10. rfunderburk

    Adding logic to ZPUino for Pro

    Jack - no improvement with the board/port selection. Alvie -- here is the output: \\psf\Home\Documents\Downloads\arduino-0102\hardware\tools\zpu\bin\make --silent -C C:\DOCUME~1\RFUNDE~1\LOCALS~1\Temp\build4873954155892152179.tmp all zpuino-accel.S:1:22: register.h: No such file or directorymake[1]: *** [zpuino-accel.o] Error 1make: *** [core\libcore.a] Error 2\\psf\Home\Documents\Downloads\arduino-0102\hardware\tools\zpu\bin\make returned 2
  11. rfunderburk

    Adding logic to ZPUino for Pro

    Hello Alvie, Any idea of why Arduino-Z (both rev 1.00 from the website and 1.02 that you provided a link) won't compile any sketches? It fails with: zpuino-accel.S:1:22: register.h: No such file or directory I have validated that the file is present and I have tried deleting the preferences.txt file (even the whole Arduino preferences directory) from the application data location. I have also removed my sketchbook to force it to create a new one. It is acting as though the include paths are incorrect for the compiler, but I don't see where to set that information. It fails even compiling a blank sketch. It could be a windows path thing? Thanks, Richard
  12. rfunderburk

    Adding logic to ZPUino for Pro

    Thanks, Jack, for a great writeup. I believe that you have nailed what my problem is. I will get the appropriate files and try my testing.
  13. rfunderburk

    Adding logic to ZPUino for Pro

    Have worked through the 'serial port is a mouse' problem (I installed the FTDI drivers, the Papilio drivers insisted on making the port a mouse). I have now compiled the source from the GadgetFactory git repository with one change; I forced the LED on in the VHDL. When I load the binary into the SPI flash it comes up with the LED lit. When I load a sketch from the Arduino environment the LED extinguishes - even though the sketch is running. As far as the 3 different Arduino environments: V102 - I can't use because on one of my systems (WinXP in a VM) it complains that 'registers.h' doesn't exist. On my other system (Win 7 pro) it errors out with a bunch of bytes not matching on the verification phase after uploading. V1.5a from GadgetFactory site: No changes to the source are ever uploaded. If I quit the environment and start it up again and then load the file it will build. I notice that out.mem is never changing in the build directory. V0018g - this one seems to compile and load; but the bit file appears to be overwritten. I notice in the Makefile that the generate out.mem file is merged with a .bit file dependent on the board type to build a resultant out.bit file for upload. The lines that don't combine with the .bit file for the build type are commented out in all of the builds. I tried modifying the Makefile and locking it but it still gets overwritten. Clearly, I am doing something incorrect. Any directional information that could be provided would be appreciated. Or point me to something to read? As an aside; I have been doing FPGA development with Xilinx since they were part of AMD back in the early 90s so I am very familiar with the process, just haven't done anything with embedded processor cores in the FPGA.
  14. rfunderburk

    Adding logic to ZPUino for Pro

    Yes, the timing constraints are met. There is something wrong in my process as I loaded the .bit file for the Pro from the hardware test routines and I am unable to flash the LED with my simple program. Let me do more digging. Right now I am fighting the 'your serial port is a mouse' problem so I have lost all communication to the system. Sigh.
  15. rfunderburk

    Adding logic to ZPUino for Pro

    Hi Alvie, Yes, I have put the port back. I was just going to move it for testing but I am now just trying to use the HDL source, unmodified, and am unable to get it to work. I am able to load the sketches into the system, they just are not operational. If there is a default .bit file that can be loaded I can restore the system to make sure that my sketch operates properly (it is just the 'blink' example with the LED pin set to 49). Thanks, Richard