hello Olimex ,
I am using OlimexODS for programming my E407 board
I am using ARM_USB_TINY_H JTAG adapter
I want ask this ;
after I download my application code into E407 board
how can I read protect my STM32F4 ?
thank you
Hey anotherbrick,
FLASH_lock and FLASH_unlock are usually used. Explore stm32f4x_flash.h that is part of the STM32 libraries.
Please also check this thread in the official ST forums: https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32+FLASH+Page+Write+Protection&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=2007#{D8C805D8-4BDD-44CD-AEB1-ACDBA1C2714F} (https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32+FLASH+Page+Write+Protection&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=2007#%7BD8C805D8-4BDD-44CD-AEB1-ACDBA1C2714F%7D)
Best regards,
Lub/OLIMEX
http://embdev.net/topic/295225#new
hello Olimex ,
In the above topic I have been told to upgrade my OpenOCD to 0.7.0
( in order to be able to read protect my STM32F4 )
my question ;
how can I do this ?
please a guide
thank you
Hey anotherbrick,
If you use Linux you have to compile it from the sources. There is a lot of information if you do google it.
If you use Windows download it from here and extract it: http://www.freddiechopin.info/en/download/category/4-openocd (http://www.freddiechopin.info/en/download/category/4-openocd). Note that you might need a .7z extract program since the archive is in such format. Then you place the folder "openocd-0.7.0" in C:\OlimexODS. Then you change the External Tools Configuration Location to the 0.7.0 version. Check this image: http://i.imgur.com/7FMbxi2.png (http://i.imgur.com/7FMbxi2.png). If you notice other references in the IDE settings or the code also point them to 0.7.0 folder.
We are working on a new version of the OpenODS, it will most certainly have version 0.7.0 of OpenOCD. I can't give you a specific release date however.
Best regards,
Lub/OLIMEX