Hi
I lost the boot on my foxboardg20 and pizzica was not able to restore the
dataflash.
I did a lot of thing to recover the boot. I'll try to summarize here.
Pizzica was trapped in this while statement.
while True:
ser.flushInput()
ser.write("#")
time.sleep(1)
if ser.read(1)=='>':
break
I don't know why. Under minicom when I type # I receive >
I did not want to investigate this python thing and I switched to minicom
apt-get install minicom
minicom is a serial communication tool. You need to configure it
for using /dev/ttyUSB0 with the settings 115200 8N1
When done I saw that the fox board was sending one "RomBOOT".
With the contacts unclosed it sends "RomBOOT" every 15 seconds.
When the contact is closed it sends only one. After this 1st RomBOOT
I unclosed (removed) the contact
Under minicom I typed "#" I received ">"
I typed "S200000,#" (as in pizzica) I received "C"
Now it's type to send the file that pizzica modified, it's name
is the same as the bin file but with the extension _patched added
I used minicom for tranferring it but not the standard xmodem protocol
I had to add another protocol as described in the file enclosed in this
message.
When the transfer was over I typed "G200000#" (as in pizzica)
Then I received characters, the fox board booted, and I was happy
best luck everyone