cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 Flash_Unlock() question ?

mehmet.karakaya
Associate III
Posted on June 24, 2013 at 13:25

hello dear forum,

I am using eeprom emulation on my F103

FLASH_Unlock(); 
EE_Init(); 
EE_ReadVariable(0x5501,&RAM[PARAMETERS]); 

what I want ask is I am read protecting my F103 product before sale

doesthis Flash_Unlock() function disables read protection ? thank you #stm32f103-flash
11 REPLIES 11
Posted on June 24, 2013 at 14:34

It is a magic sequence to enable access to the flash controller registers, to prevent errant code writes to flash, it doesn't alter Read/Write protection on the array.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
mehmet.karakaya
Associate III
Posted on June 25, 2013 at 10:33

hello,

so ... is it better to Flash_Lock() again ( to prevent errant writes )

right after I Flash_Unlock() and EE_read/EE_write ?

thank you

bharatig154
Associate II
Posted on January 07, 2016 at 10:39

is it possible to upgrade firmware of stm32f103 controller remotely via OTA

Posted on January 07, 2016 at 11:15

Yes, is there a reason why you have to ask this same question in four threads?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
bharatig154
Associate II
Posted on January 08, 2016 at 05:26

hello sir,

can you please explain how to do firmware upgradation of stm32f103 via OTA 

Posted on January 08, 2016 at 05:50

Suggest you review the IAP (In Application Programming) examples for your part. Build yourself a small loader that uses your specific type of 'Air' to transfer the data, and erase and write blocks of flash with this new data.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
bharatig154
Associate II
Posted on January 08, 2016 at 07:21

Thanx

bharatig154
Associate II
Posted on February 15, 2016 at 06:25

I am not able to write to at24c124 eeprom with stm32f103 controller,anyone can help please.

pkumar1883
Associate II
Posted on February 15, 2016 at 07:52

Yes , it is absolutely possible. Are you facing any problem in this.

/*Please

 mark helpfull

 if this post helps you or solves your problem.*/

/* If you need any personal support for your work pleasecontact at 

embeddeddesign.help@gmail.com*/