Wow, took me about two days to figure out why my program wasn't working properly. The realization that I wasn't patching the binary with the right checksum before burning should have been the answer. But it didn't seem to be. Finally it dawned upon me that I could try removing and replugging the USB cable. Bingo! It worked. I had had the DTR and RTS pins at the wrong levels. It seems that the FT232R is inverting the sense of the signals. The working script is here: dump20121118.py. Symlink it as burn.py and run it as ./burn.py 0 program.bin

Back to blog or home page

last updated 2012-11-18 03:12:27. served from tektonic.jcomeau.com