2024-03-14 04:53 AM
Hi, I have a STM32F407 Discovery Board and I'have made full cihp erase. But I have no idea what I can do after doing this. In the communtiy I have read that I have to install the original firmware. How can I do that? Can you help me? Thanks from now.
Solved! Go to Solution.
2024-03-14 07:17 AM
Go to STM32CubeIDE folder and double click on .project file.
This window will be shown, click "Launch" button:
and wait until the project workspace is loaded. You have to get this view:
Hope
Then click on the "Hummer" button to build the project. When it was completed,
Click on the arrow button shown in red and go to the menu shown below:
If this window is shown, click OK button to load the program to your MCU target and launch the debug session:
To run the program click on this button:
To stop the debug session click on this button:
Hope it helps.
2024-03-14 05:01 AM - edited 2024-03-14 05:01 AM
Hello,
Not clear what do you want to do after doing a chip erase, programming a specific application? which one?
2024-03-14 05:20 AM
The picture looks good. Have you excluded all possible errors on your side? E.g.
- 5V on non tolarant pins?
- Dangerous external voltage applied before or after proper MC voltages reached ?
Last errors have resulted in chips with high current consumption, partly still functional.
2024-03-14 05:21 AM
Actually I don't know what to do either. I just wiped the chip. I am a completely new user and I want to tackle very simple projects. After erasing the chip, I want to use it as I first purchased it. So basically, I don't know what would happen if completely erasing the chip. Do I need to do anything after erasing the chip? If so, how should I do it? Would you help me with this topic?
2024-03-14 05:22 AM
No, I just clicked on Full Chip Erase using STM32CubeProgrammer and that's it. Can I use the card afterwards? I don't know. I'm looking for help on this matter
2024-03-14 05:55 AM
Hello,
Download the firmware package of STM32F4 from here.
and go to the simplest example toggling a LED by user button: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32F4-Discovery/Examples/GPIO/GPIO_EXTI
Use STM32CubeIDE to compile the project and load the program to your board.
As you are a newbie with STM32, I recommend you to read this wiki.
2024-03-14 06:02 AM
Do I need to install or install these files that I downloaded? What path will I follow?
2024-03-14 06:11 AM
What do you mean by "install these files"?
You need to:
- Dwnload the package I provided previously.
- Download STM32CubeIDE toolchain and compile one of the examples.
- Program your board by the compiled example.
You need to read the wiki link.
2024-03-14 06:43 AM
I'm stuck on the second step. How can I do this step with STM32CubeIDE? Could you give a little more detail? I'm really at a very beginner level and seem to be close to the solution. Can you help me a little more?
In order to make the program work, you must do the following : - Open your preferred toolchain - Rebuild all files and load your image into target memory - Run the example
I have read the instructions above but again stuck in the second step.
2024-03-14 07:17 AM
Go to STM32CubeIDE folder and double click on .project file.
This window will be shown, click "Launch" button:
and wait until the project workspace is loaded. You have to get this view:
Hope
Then click on the "Hummer" button to build the project. When it was completed,
Click on the arrow button shown in red and go to the menu shown below:
If this window is shown, click OK button to load the program to your MCU target and launch the debug session:
To run the program click on this button:
To stop the debug session click on this button:
Hope it helps.