2021-11-15 06:11 AM
Hi,
I'm trying to utilise the built-in UART bootloader in the STM32F410RB to perform firmware update. I've read the AN3155 and AN2606 documentation but unfortunately, I'm out of luck so far when trying to write the firmware via the bootloader to the target MCU's internal flash.
What I've got working so far:
The following is not working for me:
And I not write four byte to flash
so please help me to how to give sequence of command to bootloader so I can successfully write flash.
2021-11-15 06:24 AM
> I send no of four byte e.g 0x03
> I send data e.g 0x01 0x02 0x03 0x04
> I send check sum byte e.g :- 0x0D
0x0D isn't the correct checksum here.
The correct checksum is 0x07 (0x03 ^ 0x01 ^ 0x02 ^ 0x03 ^ 0x04)
2021-11-15 08:22 PM
ok i try that way this is work.
thanks lot