Closed matjolic closed 6 years ago
Did you generate the svf yourself or use snes_dejitter.svf from output_files/?
I've actually tried both, with the exact same result. Further investigation, I have doubts that the FT232RL chip on the Adafruit FTDI Friend is actually appropriate for this target. I am not an expert in the FPGA field, but enough experience to swim through the documentation let's say... Is an FT2232H chip a requirement to program the ATF1502AS in this case? Such as this module : http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_FT2232H_Mini_Module.pdf ?
The target does not put any specific requirements for the programmer, so FT232-based programmers should work fine as well. Did you customize openocd config to match the programmer specs, and have you tried lower TCK frequency?
Just wanted to followup on this issue, I think I found the cause for this. The Adafruit FTDI friend uses the FT232R chip which has a clock timing issue when trying to bit-bang a chip. This is best explained in this blog post by Scott Harden: link
I was able to use a Raspberry Pi's GPIO pins with OpenOCD to succesfully flash one board following this post linked by ebeb on the shmups forums. Thanks for that!
I have since acquired and FT2232H breakout board which doesn't have the issue mentioned above. Hope this clears out any confusion for future folks ;)
In the process of flashing the chip I am running into an error:
BUG: RUN/IDLE -> ??? isn't a valid TAP transition
I am using the Adafruit FTDI Friend which seems to launch correctly:
These are the last lines from the console after I launch svf