- This topic has 1 reply, 1 voice, and was last updated 6 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › Flasher.py fails CMD_GETID
Hi C,
I have successfully got the boot-loader compiled and producing a .hex file (the binary also appears to run ok regarding if an app is present or not).
For some reason when I come to upgrade my app code via the flasher.py script, it fails with the below message.
C:\Users\me\Desktop\Project\Debug>python flasher.py com3 project.hex
Traceback (most recent call last):
File “flasher.py”, line 181, in <module>
id = flasher.getID()
File “flasher.py”, line 93, in getID
raise ProgramModeError(“CMD_GETID failed”)
__main__.ProgramModeError: CMD_GETID failed
If I debug the boot-loader it appears to accept the GETID command and tries to send an ACK back.
I have tried on both Windows and Linux boxes with no success
Any ideas?
Boondoggler
Hi ,
Anyone?
The erase and program side generally works ok, needs a bit of tweaking but I’d like to understand why the CMD_GETID doesn’t?
Thanks