AnsweredHot!Flash writing

Page: < 12 Showing page 2 of 2
Author
liebart
Starting Member
  • Total Posts : 39
  • Reward points : 0
  • Joined: 2010/05/27 01:38:14
  • Location: 0
  • Status: offline
Re: Flash writing 2018/10/29 05:13:03 (permalink)
0
Jack_M
 
 
So, since in a memory of the flash type you can only write from 1 to 0 AND you have to erase the memory block to restore the memory to all 1s AND you can only erase in pages,
the fact that you can "write on program memory up to two times before having to erase" suggests to me that if you have a 16kByte part you actually have a 32kbyte memory, and the flash controller is masking this fact by showing the upper 24bit or the lower 24bit, depending if one or both are programmed, thus allowing you two writes on the same memory location after an erase
 
wish there was a DIE photo :(




 
I have just one last question about that: Let's assume that a first programming has been done in the lower 24 bit. Then I programm a single word in a second time, in the upper 24 bits.
So, the "upper part" of the memory is at "1", except for the word I've just written
When executing the programm, how does the programm counter to point the lower part, except for one instruction ?
 
 
#21
JPortici
Super Member
  • Total Posts : 620
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: offline
Re: Flash writing 2018/10/29 05:18:59 (permalink) ☼ Best Answerby liebart 2018/10/29 05:21:00
5 (1)
I'm going to speculate that the flash controller handles this :)
#22
liebart
Starting Member
  • Total Posts : 39
  • Reward points : 0
  • Joined: 2010/05/27 01:38:14
  • Location: 0
  • Status: offline
Re: Flash writing 2018/10/29 05:23:08 (permalink)
0
OK, I'm going to accept this :)
#23
Page: < 12 Showing page 2 of 2
Jump to:
© 2019 APG vNext Commercial Version 4.5