Skip to main content
Associate II
April 23, 2024
Solved

BOOT0 pin and BOOT bits

  • April 23, 2024
  • 3 replies
  • 1546 views

I am using an STM32 G474RE NUCLEO board. Is it necessary for me to configure the BOOT0 pin and the BOOT bits in the FLASH_OPTR register if I am going to program the chip using the SWDIO and SWCLK pins with an ST-LINK V2?

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

No need to touch anyhting if you plan to use the debug.

Keep boot0 pin tied to GND and Boot bits to default state.

3 replies

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
April 23, 2024

Hello,

No need to touch anyhting if you plan to use the debug.

Keep boot0 pin tied to GND and Boot bits to default state.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate II
June 28, 2024

Hello,

Reading this thread I need a bit of clarity.

I currently use mostly STM32L series controllers. On board builds I use PA13,PA14 to a simple 5 pin header along with VDD, GND and nRST. I use the ST-LINK pod to flash and debug. I'm using IAR EWARM to program and debug, this has been working fine for years.

I want to move to the STM32G series. If I plan to use the G0 devices in the same manner as with the L4, do I need to add a (0 ohm) pull down to GND on SWCLK (PA14-BOOT0)?  If doing this will this allow it to boot normally with the ST-LINK attached?I'm under the impression that it will but don't want to commit to a build unless I do. The post above from SofLit says: "Keep boot0 pin tied to GND and Boot bits to default state." I assume the NUCLEO board has a shunt/pull down attached to PA14...

I think I understand that I can then change the bits at some point to change the flash mode if required.

Thanks!

Gary

mƎALLEm
ST Technical Moderator
July 1, 2024

Hello @roger99 ,

I suggest you to open a new thread for your questions.

Thank you for your understanding.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.