cancel
Showing results for 
Search instead for 
Did you mean: 

BootLoader and Programming Hardware requirements for custom STM32H753 board

hvs_learn
Associate II

If I have a bare h753 MCU on my custom board. What connection in terms of communication peripherals and connectors do I need to achieve. Basically, I want to bootload the MCU. The next step is to be able to program, monitor, test simultaneously. From my understanding, I need to have a JTAG/SWD pinouts/connector on the PCB to be able to bootload the MCU which can also be used to program/monitor the MCU. Upon reading the AN2606, I can bootload the MCU with SPI or CAN also, am I right in assuming that? Also while working with the nucleo board for the same, whenever I wanted a print statement on the computer I used UART, so do I need an USB-UART bridge to interface between USB data lines and initialized UART pins on the MCU? currently I am interfacing the USB data lines after required ESD protection directly to the USB_OTG_FS peripherals initialized separately.

1 REPLY 1
Pavel A.
Evangelist III

From my understanding, I need to have a JTAG/SWD pinouts/connector on the PCB to be able to bootload the MCU which can also be used to program/monitor the MCU

Correct. SWD is simpler (better, easier).

I can bootload the MCU with SPI or CAN also, am I right in assuming that?

Yes you can use the built-in (so called "system ROM") bootloader, exactly as described in AN2606. To activate it you need to toggle the BOOT0 pin. SWD (debugger) does not require BOOT0 but it needs connection to NRST.

>  do I need an USB-UART bridge to interface between USB data lines and initialized UART pins on the MCU? 

Correct again, and consider that modern ST-LINK v3 have the USB-UART bridge included. So you can use just one USB cable for both debugger and the UART. Yes, need to initialize the UART on the MCU. On STM32H7 you can also use ITM (the SWD debugger again) for prints instead of a UART.