EmbDev.net

Forum: µC & Digital Electronics how can I read protect my STM32F4 with eclipse + openOCD JTAG ?


Author: magnetron (Guest)
Posted on:

Rate this post
0 useful
not useful
hello forum ,

I am using Eclipse + openOCD JTAG for downloading and debugging
my aplication into STM32F4

after I finish my project I want read protect my code
so that it is not stolen

question : how can I read protect my STM32F4 with eclipse + openOCD JTAG

thank you

Author: Oliver Ju. (skriptkiddy)
Posted on:

Rate this post
0 useful
not useful
Please have a look at this chapters in the reference manual of the 
stm32F4xxx microcontrollers (RM0090):
3.6.3 Read Protection (RDP)
3.6.1 Description of user option bytes
3.8.3 Flash option key register (FLASH_OPTKEYR)

And after that you should read in the documentation of openocd/gdb about 
reading and writing memory.

I haven’t done this before. So I can't give your more advice to do this.

Greetings
Oliver

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.