2024-02-26 07:11 AM
Im trying to bootloader my firmware in my nucleo G431RB vía canbus with a StLink v3 set, its posible?.
In An2606 says there is no opción.
Do i have to write the bootloader ? And with that i will be able to load vía StLink v3 set?
Solved! Go to Solution.
2024-02-26 08:29 AM - edited 2024-02-26 08:48 AM
Hello @PedroLuis and welcome to the ST Community 😊.
For the STM32G431RB, the only hardware ressources that can be available are USART, SPI, DFU and I2C. CAN is not available for bootloader. Look at the AN2606 and the product datasheet.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-26 08:29 AM - edited 2024-02-26 08:48 AM
Hello @PedroLuis and welcome to the ST Community 😊.
For the STM32G431RB, the only hardware ressources that can be available are USART, SPI, DFU and I2C. CAN is not available for bootloader. Look at the AN2606 and the product datasheet.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-26 08:40 AM
Hello,
Indeed no bootloader over CAN bus. See AN2606 / Table 99. STM32G431xx/441xx configuration in system memory boot mode.
2024-05-05 11:29 PM
Is it possible if I write the bootloader vía canbus by myself?
2024-05-05 11:51 PM
Hi
Bootloader is not possible Via CAN in the STM32G431RB.
Best Reagrds.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-08-08 02:15 AM
Hello I also want a FDCAN bootloader for the STM32G431RB and can not understand why it is not possible bot create one myself. Have looked a little bit on using your Open Bootloader library https://github.com/STMicroelectronics/stm32-mw-openbl to do this in the way described there. Why is this not possible as you say?
I have found a couple of examples for how to build an Open Bootloader for other MCUs but none that I looked at used FDCAN or CAN, is there such an example somwhere? Or other pointers on how to get started with this?
2024-08-08 02:23 AM
Yes, the integrated bootloader maybe does not support the CAN interface. But sure a custom bootloader can use whatever interface is available in the controller to receive a new firmware.
I didn't use it yet, but have a look at the OpenBLT bootloader which supports CAN and the G4 family. https://www.feaser.com/openblt
2024-08-08 02:32 AM
As I thought, have looked at OpenBLT but as it is for a commercial (proprietary) product we need a commercial license for it so looking at how hard building our own would be with Open bootloader.