cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 DISCOVERY DISC-1 LOSES PROGRAM AFTER POWER OFF?

DNguy.18
Associate II

Dear all!!

I have a STM32 DISCOVERY DISC-1 and I have a problem. I created .hex file by KeilC and I programed this board by STM32 ST-LINK Utility and everthing seem be OK.

But, when I turned off power and after that I turned on, board was not run. I connected board with STM32 ST-LINK Utility and checked the program, device memory was disappear.

I don't know why what happen with my board. Anyone can help me????

Thank you very much!!!!

10 REPLIES 10

Thanks to @S.Ma​  for most excellent process - which I completed - however my problem remains.

When I compare the memory as you describe, the rebooted device has 0xFFFFFFFF in all the addresses for first 0x3FF of memory. There is no protection according to the OB segment.

I am at a loss to understand the problem. Of course the program does not run when rebooted without Boot jumper. Ive seen other chips that mask the initial memory from reading as a form of protection. They are not masked when I complete your step 3. It all seems to be there after having completed a program/verify cycle, but they are gone after board is rebooted.

Anything else I can try?