cancel
Showing results for 
Search instead for 
Did you mean: 

reset an stm32f746 discovery

andy0105
Associate

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? 
1 ACCEPTED SOLUTION

Accepted Solutions
MOBEJ
ST Employee

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

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.

View solution in original post

1 REPLY 1
MOBEJ
ST Employee

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

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.