bigdragon1977 / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 0 forks source link

Add support for Readout Unprotect command #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please consider adding support for the Readout Unprotect command. It is needed 
to program parts that have readout protection activated. E.g. needed to flash 
an ST-Link's chip.

To perform it one needs to send 0x92, 0x6D and then two ACKs should be returned.

Original issue reported on code.google.com by fercer...@gmail.com on 27 Jul 2012 at 9:12

GoogleCodeExporter commented 9 years ago
Hi,

The lock/unlock of read protection are added.

It works with a STM32F101RCT6.

Regards

Original comment by Rap...@gmail.com on 22 Oct 2012 at 10:22

Attachments:

GoogleCodeExporter commented 9 years ago
Looks good to me.

Lines 45, 46, 85, 93 have whitespace problems but other than that it looks like 
what needs to be done.

Too bad maintainer is MIA, i wonder what the users need to do in this case...

Original comment by fercer...@gmail.com on 22 Oct 2012 at 1:03

GoogleCodeExporter commented 9 years ago
In absence of the maintainer, I have set up a git repository where I will try 
to incorporate all outstanding patches: 
https://gitorious.org/stm32flash/stm32flash#more

I applied your patch to the issue31 branch at 
https://gitorious.org/stm32flash/stm32flash/commits/issue31

Please provide a name/address that I can use as commit author.

Original comment by lists.to...@gmail.com on 17 Nov 2012 at 8:58

GoogleCodeExporter commented 9 years ago
This has now been fixed in the official repository and is included in version 
0.3beta2.

Original comment by lists.to...@gmail.com on 9 Dec 2013 at 11:15