2023-09-12 02:01 AM
Hello,
In one of my boards I was planing to use CANBUS bootloader and STLink V3 with external canbus PHY to program MCU.
I was unable to program it, I can see STlink V3 does try to do some TX on CANBUS pin, but where is no packet available that could be decoded, just train of same duty cycle pulses.
Does any one had luck with STLink V3 and external CANBUS programming ? What I am doing wrong ?
Solved! Go to Solution.
2025-01-21 06:42 AM
What did you end up doing? coding your own FDCan bootloader host? or downgrading to classic can?
2025-01-21 08:29 AM
I tested FDCAN bootloader, and it works with my own FDCAN controller, but not programmer. This is not that hard to implement, just like UART or any other bootloader.
Question do you have tools for it.
2025-01-21 08:38 AM
Alright so you ended up creating your own FDCAN bootloader
2025-01-21 08:40 AM
Well, not exactly, I was using internal bootloader with another STM32H7 that is controlled over USB to flash firmware over canbus.
So flash handling is done via STbootloader on U5 device, but commands are send via STM32H7 with windows controlling it
2025-01-21 08:42 AM
@Linas L wrote:I tested FDCAN bootloader, and it works with my own FDCAN controller, but not programmer.
This seems to be a known limitation of CubeProgrammer (or, rather, ST-Link V3):