Skip to main content
Explorer
September 12, 2024
Solved

reset an stm32f746 discovery

  • September 12, 2024
  • 1 reply
  • 795 views

Hi all, on stm32f746 disco, I'm using the Mbed ide but i have the stmcube installed as well

I've been writing a simple updater app that sits at 0x080e0000 with mixed success  switching to a previous project, the code downloads but on running the board appears to run the updater code instead. How can I fix this? 

I've added an mbed_app.json to both projects with             "target.mbed_app_start""0x08000000"

in it for the main app and 0x080e0000 in the updater 
I'm unable to get my main app running again 
I think the easiest way would be if I can just reset the device to factory? 
    This topic has been closed for replies.
    Best answer by MOBEJ

    Hello @andy0105  ,

    you can use STM32CubeProgrammer to erase the device and reset it to factory settings. Here are the steps to do this:

    • Download and Install STM32CubeProgrammer: If you haven't already, download and install STM32CubeProgrammer from the STMicroelectronics website.
    • Connect Your Board: Connect your STM32F746 Discovery board to your computer via USB.
    • Open STM32CubeProgrammer: Launch the STM32CubeProgrammer application.
    • Select the ST-LINK Interface: In the connection settings, select the "ST-LINK" interface and click "Connect".
    • Erase the Device :

     - Go to the "Erasing & Programming" tab.

    -  Click on the "Full chip erase" button to erase the entire flash memory of the device

    Br

    1 reply

    MOBEJAnswer
    ST Employee
    September 13, 2024

    Hello @andy0105  ,

    you can use STM32CubeProgrammer to erase the device and reset it to factory settings. Here are the steps to do this:

    • Download and Install STM32CubeProgrammer: If you haven't already, download and install STM32CubeProgrammer from the STMicroelectronics website.
    • Connect Your Board: Connect your STM32F746 Discovery board to your computer via USB.
    • Open STM32CubeProgrammer: Launch the STM32CubeProgrammer application.
    • Select the ST-LINK Interface: In the connection settings, select the "ST-LINK" interface and click "Connect".
    • Erase the Device :

     - Go to the "Erasing & Programming" tab.

    -  Click on the "Full chip erase" button to erase the entire flash memory of the device

    Br