2013-04-29 11:22 AM
hello forum ,
I am using openOCD JTAG with Eclipse for downloading my code into STM32F4 I have a question ; how to read protect my F4 after I download my code ? thank you #eclipse-openocd-read-protect2013-04-29 11:51 AM
A generic solution would be to have code to detect and enable ROP as part of the execution path from ResetHandler thru main()
2013-05-10 10:45 AM
hello Clive ,
I was read protecting my F103 with Flash Loader Demo software from ST through USART1
is there no equivalent of this function with JTAG for F4xx?second ) what is ROP ? Read O ??? Protect
I think your advice is to detect and disable read attempts from within my application code
is there any example for this code ? thank you2013-05-10 11:03 AM
ROP - Read Out Protection
My suggestion is to code a method to look at the option bytes at reset, and then if they are not in an appropriate state that they are then programmed into the desired state. ie Like locking your front door after you've just stepped through it. Or for that matter when production programming devices, that you have test/calibration/configuration code that runs at first execution, and the final step there is to lock down the device. ie Unique Keys, serial numbers etc, that don't get mass programmed. Sorry no free lunch on this one.2013-05-15 04:45 AM
for anyone interested below is an answer for my original question
2013-05-15 06:01 AM
http://www.st.com/web/en/catalog/tools/PF258168
. Best Regards, ST.MCUTo give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.