Skip to main content
Graduate
November 5, 2025
Solved

question aboue bootloader Write_Memory command

  • November 5, 2025
  • 1 reply
  • 172 views

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.

    This topic has been closed for replies.
    Best answer by TDK

    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

     

    1 reply

    TDKAnswer
    Super User
    November 5, 2025

    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

     

    SnakuAuthor
    Graduate
    November 6, 2025

    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