cancel
Showing results for 
Search instead for 
Did you mean: 

Using CAN bootloader with STM32F767Zi-Nucleo and STM32CubeProgrammer

Arun_Badiger
Associate

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.

Arun_Badiger_0-1767171566736.png

The STM32CubeProgrammer User Manual also mentions CAN as a supported bootloader interface.

However, in STM32CubeProgrammer, there is no option to select a CAN interface.

  1. Does the STM32F767ZI Nucleo actually include a CAN bootloader?
  2. 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.

 

3 REPLIES 3
mƎALLEm
ST Employee

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.

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.

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.

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:

mALLEm_2-1767179025785.png

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.

mALLEm_1-1767178833228.png

PB5 seems to be free.

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.