Sonsivri

Electronics => AVR, 8051 Family and ARM Area => Topic started by: rentau on July 12, 2010, 03:40:18 03:40



Title: Problem with SST25VF016B
Post by: rentau on July 12, 2010, 03:40:18 03:40
I have this problem. i was able to read jedic,ID of this flash with the use of there firmware, but was unable to write a single byte. using 8-bit micro btw. Running at 20mHz crystal at 1T. Hardware WP is pull-high, no lock bits. Also using on-chip SPI. :-\

sample code


void main()
{
............................initspi();
WREN();
Byte_Program(0,1);

}

http://www.sst.com/dotAsset/40546.txt

Did tried this:
 CPOL=0 and 1;


Title: Re: Problem with SST25VF016B
Post by: rentau on July 12, 2010, 05:19:20 05:19
SOLVED. low current  ::)