Open
Description
Hello,
I like this tool very much any tested it on my stm32f103c8t6 in Windows. I found that when my PC send "GetVersion" command as "00 FF", the chip did nothing but waiting for the CheckSum byte. If I send a "FF" followed with "00 FF", chip send my reply after that.
Thus I modified the stm32h_send_command() function in stm32ld.c, added 100ms delay between the command and ChechSum data:
////////////////////////////////////////////////////
static int stm32h_send_command( u8 cmd )
{
ser_write_byte( stm32_ser_id, cmd );
sleep(100);
ser_write_byte( stm32_ser_id, ~cmd );
}
////////////////////////////////////////////////////
Then every thing goes well.
Metadata
Metadata
Assignees
Labels
No labels