cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746IGT Boot configuration issue?

toywars0
Visitor

Hello you guys.

I’m having trouble operating the STM32F746 board.

I designed an embedded board using the STM32F746 and attempted to control LEDs through CubeIDE. While compilation and program uploading were successful, the LEDs do not function at all.

I’m unsure that the issue is related to the boot setting or another cause.

Could you please advise me how to configure the boot options?

The details are as follows:

1. The BOOT0 pin is pulled down.

toywars0_0-1733888685456.png

 

2. Setting of Boot option byte (using ST-Link Utility)

toywars0_4-1733889038144.png

toywars0_3-1733888959345.png

 

3. Memory definition in FLASH.Id

toywars0_6-1733889312495.png

----

And then I configured the GPIO in CubeMX as OUTPUT and attempted periodic GPIO toggling code, but LEDs does't work at all.

Since I have previously worked on a project using CubeMX an CubeIDE, the control code is likely not the issue.

Could there be a problem related to the boot configuration, or might there be another reason?

 

 

 

 

 

2 REPLIES 2
SofLit
ST Employee

Hello,

Are you intentinnaly pulled up BOOT pin to VDD?

If yes refer to the RM:

SofLit_0-1733946676876.png

If you need to boot from Flash AXI BOOT_ADD1 needs to be set to 0x0080, if from Flash-ITCM you need to set BOOT_ADD1 to 0x2000.

Otherwise you need to pull down BOOT pin to GND and the configuration is as following:

SofLit_0-1733947016033.png

 

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.

Pulled LOW it should run your code. Use the Debugger and Debug it..

Instrument Error_Handler() and HardFault_Handler() so you know if it gets to those, and doesn't just silently died in a while(1) loop.

Try running off the internal HSI (16 MHz) and NOT calling SystemClock_Config()

 

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