cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 FDCAN bootloader

AKG123
Visitor

Hello ST Community,

We are using the STM32G0B1RET6 and have created a custom bootloader using FDCAN. Our setup includes two separate STM32CubeIDE projects:

  1. Bootloader Project

    • Programmed via ST-LINK V2

    • Receives application firmware over FDCAN

    • Writes it to internal Flash and jumps to the application

  2. Application Project

    • Starts at Flash address 0x08004000

    • Compiled and generates a .bin file

I have written and successfully uploaded the bootloader code using ST-LINK V2. Now, I would like to know how to send the .bin file over FDCAN (e.g., using Vehicle Spy 3 or another method), so that the bootloader can receive and flash it correctly.

My questions:

  • What is the recommended way to send the application .bin file over FDCAN?

  • How should I format the FDCAN messages (e.g., 8-byte chunks)?

  • Are there any example tools or scripts to convert a .bin file into FDCAN messages?

  • How can I verify the firmware was flashed and jumped to successfully?

Any guidance, sample projects, or advice would be appreciated.

Thank you!

0 REPLIES 0