Hi, I am using uVision IDE with Realview compiler and uLINK-ME to develop application for STM32 processor. Is there any way how to enable Flash readout protection from uVision IDE?
It looks like that the only programming algorithm for STM32 is STM32F10x_128.FLX which can program Flash memory cells within range from 0x08000000 to x0801FFFF.
According to the PM0042 from ST, the option bytes (flash readout protection is enabled with a certain combination written in option bytes) are located at 0x1FFFF800, so without the reach of the current algorithm. Also, these few bytes need to be programmed slightly differently as the "normal" flash (using different registers).
I am wondering whether it would be possible to create a new programming algorithm (derived from STM32F10x_128.FLX) that will be able program the options bytes?
I have already tried to do so with no success. I did not even manage to compile the current algorithm. Is there anyone who could advise me how to compile a new algorithm or who could send me flx file for programming option bytes, please?
Many thank for any help
peter