2019-04-07 06:55 AM
Hello Everyone,
I got a new board for then STM32F103C and I want to debug as well as dump code.
I connect the BOOT0 to GND, and connect the respective pins of STLink (Nrst Pin- NC).
However I am not able to do anything.
It gives hardFault error
2019-04-07 06:58 AM
2019-04-07 06:59 AM
2019-04-07 06:20 PM
Don't see any code that you are building or downloading.
Can you download the code you have built with the ST-LINK Utilities or STM32 Cube Programmer application?
Not a lot to work with here.
2019-04-09 11:49 PM
Dear Clive,
Thanks for responding.
This is what I get from cube programmer: it remains same if I connect boot0 high or low
12:16:04 : Time elapsed during download operation: 00:00:00.426
12:16:04 : Verifying ...
12:16:04 : Read progress:
12:16:05 : Download verified successfully
12:16:05 : RUNNING Program ...
12:16:05 : Address: : 0x08000000
12:16:05 : Application is running
12:16:05 : Start operation achieved successfully
2019-04-09 11:51 PM
if I connect boot0 to high,
and debug thru eclipse it works but after reset their is no code.
if I connect boot0 to low,
it gives error- unable to erase flash
2019-04-09 11:52 PM
it doesn't work
2019-04-10 05:33 AM
Suggests the code you are loading is interfering with pins or sleeping the device. Your code is likely running, just not doing what you want. No visibility on what's been programmed.
Sorry, not going to work through Eclipse and OpenOCD/GDB issues.
2019-04-10 07:33 AM
So does that mean that problem is in eclipse.. or ...
what should I do to make it work, Please suggest some work around