first of all, thanks a million for your time; i've programmed several analog devices and they all worked fine, but when it came to memory.. i got really stuck. now here is what i'm doing exactly, do you see anything wrong?
1) i went to **broken link removed** and tried to use their code. of course, i made the necessary modifications to allow their code to work with mine (constants, bits sent, ..etc).
2) i used spi mode 3 and put the following in main:
main(){
.....
PORTB=0x00;
DDRB=0xB0;
SPCR=0x5C; // spi mode 3, almost sure now... confirmed with audionotes
SPSR=0x00;
lcd_init(24);
DFlashInit();
WriteBufferDF(0x00 ,'c', BUFFER2);
delay_ms(1000);
ch = ReadBufferDF(i, BUFFER2);
/* then i'd put ch on the lcd and i've always received 0xff for ch .
could you see anything i'm doing wrong? i could attach all my code if you think it could help at all in diagnosing my problem.. again, thanks a million for your help!
*/
}