cancel
Showing results for 
Search instead for 
Did you mean: 

Add bootloader IO in/out info to cubeIDE/MX pinout configuration?

dmaST
Associate

IMHO, to prevent IO OUT conflicts when MCU is a fresh new one with blank FLASH, bootloader IO in/out info should be added to cubeIDE/MX pinout configuration.

 

Thanks

 

2 REPLIES 2

+1  And any pins with "Chatter Hazard" that might be misinterpreted for a connection attempt. ie GPS/GNSS Receivers that start squawking immediately at startup

Many of the newer STM32 allow for USART RX/TX pin-swap modes, can be helpful to deconflict those pins.

Also a number of STM32 (mostly CM0(+)) where the SWDIO/SWCLK can be UART RX/TX pairs, although ST's pin mapping strategy isn't entirely helpful nor consistent.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

This would be useful. Maybe just a checkbox to flash pins that are used by the bootloader.

Note that for STM32s without an empty check mechanism, this is much less of an issue as the bootloader never gets entered. It feels like ST is moving away from the empty flash check in general, but I'm not sure what the U5 and H5 series does.

https://community.st.com/t5/stm32-mcus/empty-check-mechanism-on-stm32/ta-p/49369

If you feel a post has answered your question, please click "Accept as Solution".