mwcbrent Posted February 1, 2014 Report Share Posted February 1, 2014 Hello, I am the new owner of a Papilio 500 with a Logic Start Mega Wing. I am eager to dig into the VGA and sound capabilities. I have taken the following steps and am bumping up against a "Cannot get programmer version, aborting" error when trying to upload the VGA Hello World example. From the top:Download Papilio Boot Loader Run the Erase and Verify operations in the Papilio Boot Loader. Download ZAP 2.2.0 Set the Board to the Papilio One 500 running the Mega Start Hyperion... Select the Papilio Programmer Burn the Bootloader Upload the VGA Hello WorldI would expect the program to upload but I get the following output: Executing C:\Users\brent\Desktop\papilio-zap-ide/hardware/tools/zpu/bin/zpu-elf-size C:\Users\brent\AppData\Local\Temp\build1289722314899768199.tmp/Hello_World.cpp.elfBinary sketch size: 2,036 bytes (of a 12,160 byte maximum) - 1,992 bytes ROM, 52 bytes memory, 16% usedCannot get programmer version, aborting Any thoughts on how to get around this issue? Link to comment Share on other sites More sharing options...
Jack Gassett Posted February 1, 2014 Report Share Posted February 1, 2014 Hello mcwbrent, I'm in the process of completely reworking how things work right now. So there are still remnants of the old way of doing things, but I think you are going to be much happier using the new Papilio Schematic Library way of doing things. The old way was to burn pre-canned bit files to the Papilio using the "Burn bootloader" option. The new way is to go to File/Examples/00.Papilio_Schematic_Library and find the LogicStart MegaWing example sketch. Read the comment header and you will see a link to view the schematic of what components are contained in the LogicStart bit file and another link to program that bit file to your Papilio board. Clicking on that link, if you are on Windows, will open the Papilio Loader and write the bit file to the Papilio board. Please ensure that the ZPUino bit file is being written to SPI Flash and that you see that an erase, verify, program, verify process happens. If it does not then change to expert mode and ensure all of those options are selected. Once you have the LogicStart bit file loaded to the Papilio board you can load the example sketch to the board. You should also be able to run through all of the VGA examples by simply ensuring that the correct wishbone slot is specified in the vga.setup() function. You can look at the LogicStart bit file schematic to see what wishbone slot the VGA controller is connected to. I hope this gets you on the right path, please let us know of any difficulties you have so we can help you through and make things better for future users. Also, there are some tutorials at http://learn.gadgetfactory.net to help you get started. Some of them are already getting dated though due to the heavy development of the Papilio schematic library. Thanks!Jack. Link to comment Share on other sites More sharing options...
mwcbrent Posted February 2, 2014 Author Report Share Posted February 2, 2014 So I followed the instructions you noted as well as the ones in the heading of the example file. I loaded the bitfile and tried to run the example. It compiles successfully but gives me the same error. I am starting to download the ISE design tools so I have not made my own bitfile. Any thoughts on what I could do to diagnose the issue further? Link to comment Share on other sites More sharing options...
Jack Gassett Posted February 2, 2014 Report Share Posted February 2, 2014 Can you please post a snapshot of the output from papilio loader Link to comment Share on other sites More sharing options...
mwcbrent Posted February 3, 2014 Author Report Share Posted February 3, 2014 Here is the output from the Papilio loader. I had performed an Erase and Verify before this action. https://gist.github.com/mwcbrent/3b7aafbd45db8ff40cad I opened up ZAP 2.2.0 and ran the Logic Start Mega Wing example (From the schematics dropdown). I received the following output from ZAP: https://gist.github.com/mwcbrent/e6d2ed2e5e4972a7a488 Link to comment Share on other sites More sharing options...
Jack Gassett Posted February 3, 2014 Report Share Posted February 3, 2014 Hmmm, everything looks dead on with what you have done... The only thing that is left is whether the correct serial port is selected, if you chose the wrong serial port you will see the same error. You get that particular error when there is no response on the serial port, it usually means ZPUino was not loaded but I would make sure that you are connecting to the second, Channel B, ft2232 port. The other thing we can do is load the LogicStart Quickstart bit file, if it works and you get video output etc. then that tells us you are loading a bit file correctly.http://forum.gadgetfactory.net/index.php?/files/file/33-quick-start-for-logicstart-megawing-zpuino-papilio-one-500k/ Jack. Link to comment Share on other sites More sharing options...
mwcbrent Posted February 3, 2014 Author Report Share Posted February 3, 2014 I loaded the Quickstart bit file successfully. I'm not sure if I am connecting to the second, Channel B port. I'm not sure how to specify that on Windows however. I tried digging into this a little further but couldn't find a way to specify channels. Link to comment Share on other sites More sharing options...
Jack Gassett Posted February 3, 2014 Report Share Posted February 3, 2014 I'm going to be in the chat room for the remainder of the day, if you are around drop by and I can help you out. Otherwise, in the ZAP IDE just make try all of the serial ports and see if any of them work. Here is a quick video showing how to tell what COM port to use: Link to comment Share on other sites More sharing options...
mwcbrent Posted February 4, 2014 Author Report Share Posted February 4, 2014 This worked for me. I was connecting my Papilio through a USB hub. This was slightly confusing as the Papilio Loader seemed to work but by plugging the USB into it's own port resolved all issues for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.