Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/16/09 15:19
Read: times


 
#161563 - Here is a code sample
Responding to: ???'s previous message
while((FCNTL/128) != 1) _nop_();
TA = 0xAA;
TA = 0x55;
FCNTL = 0x0B;
FDATA = hiadd; //upper 2 bytes of address
FDATA = loadd; //lower 2 bytes of address
FDATA = wdata; //data to be written
if(FCNTL/128 == 1) while((FCNTL/128) != 0) _nop_();
while((FCNTL/128) != 1} _nop_();
TA = 0xAA;
TA = 0x55;
FCNTL = 0;

Just to restate that it only loses the data on power down - power up.

List of 7 messages in thread
TopicAuthorDate
Flash Memory 89c450            01/01/70 00:00      
   more info, please ... What did you do?            01/01/70 00:00      
      And then there's those pesky ...            01/01/70 00:00      
         corruption, maybe ... deletion? I doubt it!            01/01/70 00:00      
            Here is a code sample            01/01/70 00:00      
                could it be the timing?            01/01/70 00:00      
            request another chip            01/01/70 00:00      

Back to Subject List