vhdlnerd Posted March 2, 2013 Report Share Posted March 2, 2013 Recently, I finally had time to play with ZPUino. I downloaded the ZPUino IDE (for WIndoze) and got a few sketches working on my P1-250 board. I'm having issues with my Papilio Plus with the LX9. I have the ZPUino bit file for the LX9 downloaded to the board (using the Loader 2.4) and it verifies OK. However, I cannot download compiled sketches via the ZPUino IDE. The zpuinoprogrammer.exe utility just hangs and I eventually have to kill the zpuinoprogrammer.exe process. One thing that could be the issue is that the ZPUino IDE does not have a LX9 board option just a LX4 board. Is there a LX9 board definition I should be using? Thanks for any help! -vn Link to comment Share on other sites More sharing options...
alvieboy Posted March 3, 2013 Report Share Posted March 3, 2013 hi, can you try this IDE ? http://alvie.com/zpuino/downloads/arduino-0102-windows.zip Best,Alvie Link to comment Share on other sites More sharing options...
vhdlnerd Posted March 3, 2013 Author Report Share Posted March 3, 2013 Thanks, Alvie! I'm downloading now... I'll let you know how it works. -vn Link to comment Share on other sites More sharing options...
vhdlnerd Posted March 4, 2013 Author Report Share Posted March 4, 2013 Still no joy! I still don't see a board option for a PapilioPlus LX9 in the IDE (just the Pro version). I tried adding this to the boards.txt file: zpuino_papilio_pluslx9v.name=ZPUino on Papilio Plus (LX9)zpuino_papilio_pluslx9v.upload.protocol=zpuino-serialzpuino_papilio_pluslx9v.upload.maximum_size=12160zpuino_papilio_pluslx9v.upload.size_sections=allzpuino_papilio_pluslx9v.upload.speed=115200zpuino_papilio_pluslx9v.build.f_cpu=96000000Lzpuino_papilio_pluslx9v.build.core=zpuinozpuino_papilio_pluslx9v.build.toolchain=zpuzpuino_papilio_pluslx9v.build.extraCflags=-D__ZPUINO_PAPILIO_PLUS__ -DBOARD_ID=0xA4040F00 -DBOARD_MEMORYSIZE=0x8000 -nostartfileszpuino_papilio_pluslx9v.build.extraSflags=-DBOARD_ID=0xA4040F00 I got the board ID number from the ZPUino HDL GIT area and I think the RAM is 2x the LX4 version (read it in a text file somewhere). But, still no joy. I'm using this bit file: zpuino-1.0-PapilioPlus-S6LX9.bit from the ZPUino Web page download area. I'm guessing I don't have the correct bit file or the board definition in the arduino is not correct. Thanks again for the help. -vn Link to comment Share on other sites More sharing options...
Jack Gassett Posted March 4, 2013 Report Share Posted March 4, 2013 VN, You could download the RetroCade Installer it has a bit file, code example, and ZPUino IDE that is known to work with the Papilio Pro. Jack. Link to comment Share on other sites More sharing options...
vhdlnerd Posted March 4, 2013 Author Report Share Posted March 4, 2013 Jack, But, will that help much with my Papillo Plus board? Is there anyway to tell if ZPUino is running on my board before the IDE tries to download to it. Should the LED be blinking or is there one of the I/O pins toggling. I tried rebuilding the ZPUino bit file from the source (at github) -- I only saw a Plus lx4 board directory. I modded the source for a LX9 device. However, the build I created still would not "talk" to the zpuinoprogrammer.exe program. Thanks again for the help, -vn Link to comment Share on other sites More sharing options...
Jack Gassett Posted March 4, 2013 Report Share Posted March 4, 2013 Ahhhhh! Thats what I get for having such similar names, I didn't notice it was the Plus. The Retrocade download won't help much then. BTW, if you or anyone else wants to trade in their Papilio Plus for a Pro please send me a message at support@gadgetfactory.net. We would be happy to do a trade if you would rather have the Papilio Pro. Jack. Link to comment Share on other sites More sharing options...
vhdlnerd Posted March 4, 2013 Author Report Share Posted March 4, 2013 Jack, I think I'll take you up on the trade. I'll email for the details Thanks, -vn Link to comment Share on other sites More sharing options...
Felix Posted June 29, 2013 Report Share Posted June 29, 2013 I am actually on a PPro but i cant figure out how to get this to work.. its doubling the path, and trying to use avrdude whenever i try to program the bootloader.. hi, can you try this IDE ? http://alvie.com/zpuino/downloads/arduino-0102-windows.zip Best,Alvie i tried this and i get an error when trying to burn the bootloader...java.io.IOException: Cannot run program "C:\Users\ME\Desktop\arduino-0102\hardware\tools\zpu\bin\C:\Users\ME\Desktop\arduino-0102\hardware/tools/avr/bin/avrdude": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)blah blah blahnotice the path is doubled... not really sure how to fix or where to even look for that.. Link to comment Share on other sites More sharing options...
Felix Posted June 29, 2013 Report Share Posted June 29, 2013 going to try this:: http://forum.gadgetfactory.net/index.php?/files/file/8-zap-zpuino-arduino-papilio-ide/ edit: blah. it sort of works. Link to comment Share on other sites More sharing options...
Felix Posted June 30, 2013 Report Share Posted June 30, 2013 Ok got bootloader burned on my P500 gave up on the ppro for now.. using this test programvoid setup() { // put your setup code here, to run once: Serial.begin(9600); // This sets up a serial connection, 9.6 kbts/s. delay(3000); Serial.println("Hello World!"); // Print a line over the connection.}void loop() { Serial.println("Hello World!"); // Print a line over the connection.}half the time i get the expected Hello World! output, and the other time I get ÒÕKVRªë ÒÕKVRªë ÒÕKVRªë ÒÕKVRªë ÒÕKVRªëon both putty and the inbuilt serial monitor.. edit::: put the delay("3000"); as first thing in the setup() section and problem seems gone for now.hopefully it stays gone edit2::: Seems not 100% gone. blah. Link to comment Share on other sites More sharing options...
Jack Gassett Posted June 30, 2013 Report Share Posted June 30, 2013 So ZAP did not work for you with the Papilio Pro? What happens? Jack. Link to comment Share on other sites More sharing options...
Felix Posted June 30, 2013 Report Share Posted June 30, 2013 it just fails. will make a screenie in a day or 2 when back at home. will also try clearing out the old drivers and reloading them to make sure its not a Windows 8 driver issue. it works a treat on my P500 tho.. Link to comment Share on other sites More sharing options...
alvieboy Posted July 3, 2013 Report Share Posted July 3, 2013 With serial connections, it's often desirable to "stop" transmitting for a while so that the start and end bits are properly detected. For such a low baudrate, chances are that the receiver is not able to properly synchronize the stream. example: you are sending this chunk of data repeatedly: '0' '10111010' '1' (hex 0xBA being transmitted) Where first 0 is the start bit, and last 1 the stop bit. If you capture this stream of data not exactly at the start, you can end up seeing something like this: 101 0 10111010 1 0 10111010 1 0 10111010 1 ... this can be interpreted as: '1' - line idle'0' - start bit'10101110' - data (0xAE)'1' - stop bit'0' - start bit'10101110' - data (0xAE)'1' -stop bit so on, so on. So, you are indeed synchronizing to the "frame", but the data is not the one you sent.This is a known issue with asynchronous protocols. Allowing the sender to idle for at least a "10xbaud" time should get the receiver in sync again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.