Skip to main content
Visitor II
December 11, 2024
Question

STM32F746IGT Boot configuration issue?

  • December 11, 2024
  • 2 replies
  • 631 views

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?

 

 

 

 

 

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    December 11, 2024

    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

     

    Graduate II
    December 11, 2024

    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()