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.
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.