2024-12-17 01:55 AM - last edited on 2024-12-17 01:47 PM by Tesla DeLorean
Hi all,
I have the CPU STM32F103 on board. I am using STM32CubeIDE for SW development and STM32CubeProgrammer for burning.
On some point during development, I couldn't burn the CPU anymore - I get various types of error messages, like 'Can't erase the memory', 'Core is halted' or the green bar (which indicates burning process) runs goes and back endlessly.
Yet sometimes I succeeded to bun it by using tricks, such setting port BOOT0 to VCC and using option OB --> Readout Protection to erase the memory and only then to program. Or alternatively pressing the on-board reset button and starting the programming immediately after releasing the button.
Unfortunately these trick are not always working, and off course are not acceptable as solution.
I wonder what happened to my design. Is there any solution?
Any help will be very appreciated.
Solved! Go to Solution.
2024-12-18 12:10 PM
Hi again MM..1,
I checked the SW signals. didn't fined any point in the code that I am activating it to other function.
2024-12-20 07:32 AM
Hi Tesla,
I am not sure I understood your recommendations about the rest and BOOT0 BOOT1 solutions.
How exactly I can do that in terms of HW and SW?
2024-12-25 05:34 AM
Hi Tesla,
I checked in the Programmer and found the 'Connect under reset' option. I tried the use it with the option 'Software reset' and it worked.
Thank you for your help.