cancel
Showing results for 
Search instead for 
Did you mean: 

question aboue bootloader Write_Memory command

Snaku
Associate II

Hi,

I am tring to write data by the FDCAN bootloader of system memory, my target is STM32H563.

Snaku_0-1762338250957.png

Now, I can read the device ID, perform the mass erase command, but I can't write data to SRAM/Flash, the FDCAN bootloader doesn't response any CAN message after the Write_Memory command. 
Below picture is the CAN message log when I try to write 64 bytes data to flash at 0x0802_0000.

Snaku_1-1762338502807.png

I also check the 'Write_Unprotect' command, so the MCU is not write protect.
Do I miss something have to do?
Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

You've told it you're writing 256 bytes but you've only sent 64. It's waiting for the rest.

TDK_0-1762350139617.png

 

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Super User

You've told it you're writing 256 bytes but you've only sent 64. It's waiting for the rest.

TDK_0-1762350139617.png

 

If you feel a post has answered your question, please click "Accept as Solution".
Snaku
Associate II

Hi TDK,

Yes, you are right, the FDCAN bootloader is waiting other three 64 bytes data frames.

Thanks for your help

Snaku

Snaku_0-1762390258084.png