Nitz76 Posted April 4, 2013 Report Share Posted April 4, 2013 Hello there! I'm just starting with my Papilio 2.04 500K and Arcade Mega Wing.I managed to build and merge the Puckman game to a.bit file.It works A1 when I program it into the FPGA with Papilio Loader v2.4. (Written 2.1 at the top but...) My issue is when I program it to SPI Flash. It gives no error but it just dies there after programmation. Any idea? Thanks! FPGA OK:JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500ECreated from NCD file: PACMAN.ncd;UserID=0xFFFFFFFFUsing devlist.txtTarget device: 3s500evq100Created: 2011/12/05 18:13:32Bitstream length: 2270208 bitsUploading "C:\papilio\pacman_rel004_sp3e_papilio\bit_files\pacman_on_pacman_hardware_p1_500K.bit". Done.Programming time 561.6 msUSB transactions: Write 146 read 6 retries 0 SPI-FLASH KO:JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500EUsing devlist.txtJTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500EUploading "C:\Program Files\Gadget Factory\Papilio Loader\programmer\bscan_spi_xc3s500e.bit". Done.Programming time 234.0 msProgramming External Flash Memory with "C:\papilio\pacman_rel004_sp3e_papilio\bit_files\pacman_on_pacman_hardware_p1_500K.bit".Found SST Flash (Pages=2048, Page Size=264 bytes, 4325376 bits).Erasing :OkVerifying :.....PassProgramming :..............Finished ProgrammingOkVerifying :.....PassUsing devlist.txtDone.SPI execution time 7176.0 msUSB transactions: Write 2881 read 2164 retries 0JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500EUsing devlist.txtISC_Done = 0ISC_Enabled = 0House Cleaning = 1DONE = 0 Link to comment Share on other sites More sharing options...
Felix Posted April 4, 2013 Report Share Posted April 4, 2013 what command line are you using to upload the bit? try papilio-prog.exe -v -f pacman_on_pacman_hardware_p1_500K.bit -b bscan_spi_xc3s500e.bit -sa -rpapilio-prog.exe -c there will hopefully be a release of papilio prog that doesnt require the 2nd papilio-prog command soon. Link to comment Share on other sites More sharing options...
Nitz76 Posted April 4, 2013 Author Report Share Posted April 4, 2013 what command line are you using to upload the bit? try papilio-prog.exe -v -f pacman_on_pacman_hardware_p1_500K.bit -b bscan_spi_xc3s500e.bit -sa -rpapilio-prog.exe -c there will hopefully be a release of papilio prog that doesnt require the 2nd papilio-prog command soon.Hum... same result. Link to comment Share on other sites More sharing options...
Felix Posted April 4, 2013 Report Share Posted April 4, 2013 strange. try using the arcade blaster app (if you have java installed)and see if it works that way. if it does, you can try using the papilio prog that ships with it to see if its a bug with the newer version. i have built pacman using the ise to build the roms into the bit file and have used the 'other' way which isto use the arcade blaster hardware profiles and merge the rom data into them. both ways worked for me. Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 4, 2013 Report Share Posted April 4, 2013 Hello there! I'm just starting with my Papilio 2.04 500K and Arcade Mega Wing.I managed to build and merge the Puckman game to a.bit file.It works A1 when I program it into the FPGA with Papilio Loader v2.4. (Written 2.1 at the top but...) My issue is when I program it to SPI Flash. It gives no error but it just dies there after programmation. Any idea? Thanks! FPGA OK:JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500ECreated from NCD file: PACMAN.ncd;UserID=0xFFFFFFFFUsing devlist.txtTarget device: 3s500evq100Created: 2011/12/05 18:13:32Bitstream length: 2270208 bitsUploading "C:\papilio\pacman_rel004_sp3e_papilio\bit_files\pacman_on_pacman_hardware_p1_500K.bit". Done.Programming time 561.6 msUSB transactions: Write 146 read 6 retries 0 SPI-FLASH KO:JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500EUsing devlist.txtJTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500EUploading "C:\Program Files\Gadget Factory\Papilio Loader\programmer\bscan_spi_xc3s500e.bit". Done.Programming time 234.0 msProgramming External Flash Memory with "C:\papilio\pacman_rel004_sp3e_papilio\bit_files\pacman_on_pacman_hardware_p1_500K.bit".Found SST Flash (Pages=2048, Page Size=264 bytes, 4325376 bits).Erasing :OkVerifying :.....PassProgramming :..............Finished ProgrammingOkVerifying :.....PassUsing devlist.txtDone.SPI execution time 7176.0 msUSB transactions: Write 2881 read 2164 retries 0JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500EUsing devlist.txtISC_Done = 0ISC_Enabled = 0House Cleaning = 1DONE = 0 The output that you posted above actually looks like the programming was succesful... That's exactly what the output should be for a successful SPI Flash. What are you seeing once it finishes? I'm guessing it doesn't restart the board and display pacman to the screen. Can you try to manually unplug and plug the board back in to see if the bit file starts? When you program directly to the FPGA are you seeing pacman start? Jack. Link to comment Share on other sites More sharing options...
Nitz76 Posted April 5, 2013 Author Report Share Posted April 5, 2013 The output that you posted above actually looks like the programming was succesful... That's exactly what the output should be for a successful SPI Flash. What are you seeing once it finishes? I'm guessing it doesn't restart the board and display pacman to the screen. Can you try to manually unplug and plug the board back in to see if the bit file starts? When you program directly to the FPGA are you seeing pacman start? Jack. Thanks for your fast answers guys! After I sucessfully flash the SPI, it just hangs. VGA goes out of sync. I tried to unplug everything and replug. Same thing.If I do the same to FPGA, packman starts. Is my board defective in some way? B.T.W., I read through how the SPI pushes the .bit file to FPGA at startup. Clever. If you need me to probe something, just ask, I'm well equipped. Thanks! Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 try the arcade blaster app Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 do me a favor and try this source tree. https://github.com/FelixV/Papilio-Arcade its a bit different than the one currently under gadgetfactory's git repo (its an older version) Link to comment Share on other sites More sharing options...
Nitz76 Posted April 5, 2013 Author Report Share Posted April 5, 2013 do me a favor and try this source tree. https://github.com/FelixV/Papilio-Arcade its a bit different than the one currently under gadgetfactory's git repo (its an older version) Same thing. Hardware? Link to comment Share on other sites More sharing options...
Nitz76 Posted April 5, 2013 Author Report Share Posted April 5, 2013 BTW, I just tried with my Logic Start and the "Three weeks in paradise" demo. Same thing. Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 not sure. i guess its possible that the board is wonky, but that's for Jack to determine. assuming that the roms were built in properly i dont see why it wouldnt work, especially with theoutput you posted above. i would direct you to the demo/test file, but i am not sure where jack keeps it. Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 the last thing i can think of is i can post a zip with everything so all you do is unzip and click the .bat (assuming you are on windows)and see what the result is. we have a few games that are not © that should be ok to do. Mr Do's Nightmare and Pong Demo come to mind. i am at work so i can't do it at the moment, but if you like, i will do it whenever i get home in about 5 hours. Link to comment Share on other sites More sharing options...
Nitz76 Posted April 5, 2013 Author Report Share Posted April 5, 2013 No rush. Thank you for your support! Just curious, where are you located? Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 Germany (I am a shift worker so I am around at the strangest times....) you? Link to comment Share on other sites More sharing options...
Nitz76 Posted April 5, 2013 Author Report Share Posted April 5, 2013 Canada. I'm working in telecom so i know what you mean. Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 LAUGH... i am working in telecommunications also Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 5, 2013 Report Share Posted April 5, 2013 I'm completely baffled by this... My first thought is that maybe there is something wrong with reading back from the SPI Flash. But the papilio-loader is passing the verification phase after programming where the loaded bit file is read back and verified. All I can think is that there is something wrong with the FPGA chip that is preventing it from booting from SPI Flash. I would ask that you try another bit file but it looks like you already did so with the 3 weeks to paradise bit file. I think we better look at replacing the board at this point. Do you mind sending an email to support@gadgetfactory.net with your shipping address and a link to this forum post? BTW, I live in Denver, Colorado and my business partner who takes care of shipping lives in Ashland, Oregon. Thank you,Jack. Link to comment Share on other sites More sharing options...
mkarlsson Posted April 5, 2013 Report Share Posted April 5, 2013 It could be something with the M0, M1 or M2 pins on the FPGA so it's confused about the configuration mode. Link to comment Share on other sites More sharing options...
Nitz76 Posted April 5, 2013 Author Report Share Posted April 5, 2013 LAUGH... i am working in telecommunications also Telecommunications = overtime In what domain? I'm in networking infrastructure architecture. Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 bit of everything. bout the only thing i don't do is run copper/fiber outside the building, and install major equipment (routers etc)i deal with everything from the end user all the way to the satellite/fiber backbone transport providers for internet,phone,dead/alarm pairs,whatever they want. Link to comment Share on other sites More sharing options...
Felix Posted April 5, 2013 Report Share Posted April 5, 2013 the last thing i can think of is i can post a zip with everything so all you do is unzip and click the .bat (assuming you are on windows)and see what the result is. we have a few games that are not © that should be ok to do. Mr Do's Nightmare and Pong Demo come to mind. i am at work so i can't do it at the moment, but if you like, i will do it whenever i get home in about 5 hours. try this out. Mr Do's Nightmare.zip it contains 2 windows batch files. program_temporary.batprogram_permanent.bat it should load up Mr Do's Nightmare (tested here and works) Link to comment Share on other sites More sharing options...
Nitz76 Posted April 6, 2013 Author Report Share Posted April 6, 2013 try this out. Mr Do's Nightmare.zip it contains 2 windows batch files. program_temporary.batprogram_permanent.bat it should load up Mr Do's Nightmare (tested here and works) Thanks bud! Unfortunately, same exact thing; temporary works but permanent not.I cleaned the board and inspected it. No luck. Is it normal that the joystick cannot go up/down in mr.Do? It works properly in pacman. Cheers! Link to comment Share on other sites More sharing options...
Felix Posted April 6, 2013 Report Share Posted April 6, 2013 mr do's is a 4-way joystick (u d l r)(the game is on galaxian hardware atm which has only a 2 way joystick hooked up. was only meant as a test)contact jack at the email he posted afew posts ago and he will sort you out Link to comment Share on other sites More sharing options...
Nitz76 Posted April 18, 2013 Author Report Share Posted April 18, 2013 I received the new board today. Yup, that did the trick! It now works! I don't know what is the issue with the other one.I'll ship the old one back tomorrow. Hope you'll find what's wrong. I want to thank everyone involved in this case! Cheers! Nitz. Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 18, 2013 Report Share Posted April 18, 2013 Yeah! I'm glad that cleared it up, that was a very weird case. Will be very interested to get my hands on that board to see what was going on. Jack Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.