This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F10xOPT.s query

Hi,

I am a 'newbie' in the Arm/Cortex arena and as usual there are some problems and questions that need answers.

1. The 'STM32F10xOPT.s' file that comes along in the startup folder, do I understand it correctly it is used to SET/CLEAR the flash read protection, flash write protection and other bits in the OPTION BYTES register (0x1FFF F800 - 0x1FFF F80F). Can this area be programmed with the evaluation software? When I am trying to program a device, STM32F103RB and STM32F101C8, Keil spits out 'No Algorithm found for: 1FFFF800H - 1FFFF80FH'. Using a ULINK2 and ULINK-ME.
2. How can I evaluate the 'flash read' security features on the Cortex? It seems that #1 is not working at all. Have tried the STs boot-loader and every time it returns that the device is UNPROTECTED .

Have more but I think I stop here for now.

Any help/references would be appreciated.

Thank you

  • Hi,

    Success at last. It seems that Keil, when using the STM32F10x range, does not add the 'Option register' address range by default in the Programming Algorithm. Once I have inserted it it worked just fine. Confirmed security with ST's download manager and it seems to be working.

    Thanks