2025-12-31 1:52 AM - last edited on 2025-12-31 2:04 AM by mƎALLEm
New question = New thread. Split from this post.
Hi mƎALLEm,
Thanks for the support, I was able to successfully perform UART-based flashing.
For the actual use case, I need to flash the STM32F767ZI Nucleo using the CAN interface. I have a PEAK USB-to-CAN converter and an external CAN transceiver and ST-Link V2. According to AN2606 (Table 94), the STM32F767 series supports booting via the CAN2 interface when the appropriate boot pins are configured.
The STM32CubeProgrammer User Manual also mentions CAN as a supported bootloader interface.
However, in STM32CubeProgrammer, there is no option to select a CAN interface.
Can a PEAK USB-to-CAN adapter be used for CAN flashing, or is an ST-Link V3 required since it provides a CAN bridge?
Could you please suggest the correct method or recommended setup for implementing CAN-based flashing on the STM32F767ZI Nucleo?
Thank you,
Arun_Badiger.
2025-12-31 2:09 AM - edited 2025-12-31 2:09 AM
Hello,
I invite you to read this knowledge base article: How to connect to the STM32 CAN Bootloader interface
I think you need ST-LINK V3 to connect with the STM32CubeProgrammer over CAN.
2025-12-31 2:45 AM
Hi mƎALLEm,
Thank you for the information. The link you provided mentions the target board as STM32F429ZI Nucleo. Could you please confirm whether it will also support the STM32F767ZI Nucleo board?
Thank you,
Arun_Badiger.
2025-12-31 3:03 AM - edited 2025-12-31 3:05 AM
STM32F429ZI Nucleo and STM32F767ZI Nucleo share the same hardware and that article is almost generic.
Refer to the schematics: https://www.st.com/resource/en/schematic_pack/nucleo_144pins_sch.zip
In the other hand the bootloader is related to the chip itself not to the board. The only stuff to check is whether CAN2 bootloader pins (defined in the AN2606) are exposed externally to the board. Which is already the case of PB5 and PB13:
and these GPIOs should not be connected to any other electronic stuff on the board, so you need to remove JP7 jumper to disconnect the Ethernet PHY from PB13 pin.
PB5 seems to be free.