• AVR Freaks

AnsweredHot!SST25V080B Flash Auto address increment.

Author
Vibin
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2019/05/23 09:42:02
  • Location: 0
  • Status: offline
2019/08/02 10:55:32 (permalink)
0

SST25V080B Flash Auto address increment.

In the datasheet, its given that while writing flash in auto address increment mode, " The first byte of data (D0) is programmed into the initial address [A23-A1] with A0=0, the second byte of Data (D1) is programmed into the initial address [A23-A1] with A0=1."   Then, How can I start writing from an odd address (like 0x000001). I tried with an odd address ,but data going into address with LSB 0. Also how to deal with odd number of data.
post edited by Vibin - 2019/08/02 10:56:38
#1
Jerry Messina
Super Member
  • Total Posts : 436
  • Reward points : 0
  • Joined: 2003/11/07 12:35:12
  • Status: offline
Re: SST25V080B Flash Auto address increment. 2019/08/02 11:03:14 (permalink) ☄ Helpfulby Vibin 2019/08/02 11:16:37
0
Auto-increment mode is a word operation (AAI-Word-Program), so it always writes 16-bits to an even address.
 
 
#2
Vibin
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2019/05/23 09:42:02
  • Location: 0
  • Status: offline
Re: SST25V080B Flash Auto address increment. 2019/08/02 11:12:57 (permalink)
0
I was using AT26DF081A Flash before. In that I could write sequentially, any number of bytes. It had same hex commands as SST25VF080B flash.Only sequential write part confusing me. Do I have to take care of writing 'odd number of bytes' with my coding? Is there any sequential write method like in AT flash.
#3
Jerry Messina
Super Member
  • Total Posts : 436
  • Reward points : 0
  • Joined: 2003/11/07 12:35:12
  • Status: offline
Re: SST25V080B Flash Auto address increment. 2019/08/02 11:26:51 (permalink) ☼ Best Answerby Vibin 2019/08/02 23:04:42
5 (1)
VibinIt had same hex commands as SST25VF080B flash... Do I have to take care of writing 'odd number of bytes' with my coding?
It may have the same command opcodes, but it works differently. If you want to use the auto increment feature then yes, you have to handle "odd" data yourself.
 
 
Is there any sequential write method like in AT flash.
No, not with that part The SST26VF has a page write command where you can write from 1 to 256 bytes at once, but it's still page-oriented so it takes some management too.
 
#4
Jump to:
© 2019 APG vNext Commercial Version 4.5