Topic : FLASH is READOUT protected

Forum : ARM

Original Post
Post Information Post
January 13, 2009 - 7:29am
Guest

Hello,
Could anyone please help me with a problem of programing a flash to STM32.
RFlasher7 says "Plugin timeout expired." whenever I try fo program a hex file.
When I am pressing 'connect to target' button it says "Connection Ok. Selicon Revision Id=0x20036410 FLASH is READOUT protected!"
Cortex_pgm.exe gives almost the same output.

I am using:
RLink USB debugger (standard version).
Ride7 ver 7.02.0001
RKitARM for Ride7 ver 1.04.0001

Chip: STM32F103R8T6 (I am not sure about revision, probably 'Y' because last character at the first line is 'Y')

A tiny help will be hugely appreciated.
Andrew

Replies
Post Information Post
+1
0
-1
January 21, 2009 - 1:14am
Guest

Hello Vincent,
Yes. It's definetely not a cristal the reason for the problem. We took workable chip from Reva board and soldered it on our board and got the same message "Read-out protection". So we definitely need to find a bug in our board.
Thanks,
Andrew

+1
0
-1
January 23, 2009 - 2:40pm
Guest

Hi,
A few months ago, one of our customers encountered the same issue. It was due to VSSA / VDDA.
I suggest that you try to connect directly VCC and VDDA (and VSS-VSSA.
Let me know if it works.
Francis

+1
0
-1
January 26, 2009 - 12:40am
Guest

Hello Francis,
Thanks a lot for the advice. Our problem was in the reset switch that was soldered incorrectly and caused a chip to be in permanent reset state.
thanks.
Andrew

+1
0
-1
January 26, 2009 - 10:45am
Raisonance Support Team

Hi,

Thanks for your feedback.

I would like to modify the software for it to issue a clearer error message in this or other similar situations.
For this I will try to reproduce your problem here on one of my boards...
I just tried tying RST to GND, but I receive a different message than you: 'unable to reset device and enter debug mode', which is much better than 'readout protection'

Can you please describe more precisely what was happening to the RST signal?

Best Regards,

Vincent

+1
0
-1
January 27, 2009 - 6:17am
Guest

Hello Vincent,
What we had is SW1 short-circuited to the ground. (I assume you have our schematics).
Best regards,
Andrew