Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

STM32F100 Flash write fails

Status
Not open for further replies.

akshada

Member level 3
Member level 3
Joined
Jun 29, 2010
Messages
67
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
india
Activity points
1,746
I an trying to write into flash. i can write a few bytes but after that the writing fails.what should i do in that case?should i retry writing for that particular address for say 3 times. for rewriting i will have to erase and than try rewriting to the same address again. but i am not sure whether i'll be able to erase that particular address in between writing. please suggest.


thanks in advance..
 

but i need it for flash. while writing in a page,if at any point it failed to write can i erase that particular address and retry again?

thanks for the reply
 

Your question seem related to writing internal flash and I link to the related ST application note.
If have you some issue to writing into a external flash memory, please give more info to get some help.
 

Well,
If for any reason you fail to write you can:
Reading in your target address: if have all bit=1 then you can retry to write.
If some bit is already cleared , you must before erase the entire page.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top