??? 04/04/07 07:42 Modified: 04/04/07 07:43 Read: times |
#136572 - delay for write plus the real error Responding to: ???'s previous message |
Asif Ali said:
i am using Delay, it is present in Write Routine.. Do you mean this one?: DELAY: MOV R7,#8 DJNZ R7,$ RET This will produce a delay around 20us. That's not enough for a classical EEPROM, at which the physical write occurs within milliseconds. But it won't stop at this one so you seem to have problem with the ACK (that's the only place where it can get stuck). Please consider the "single stepping" I suggested you in my very first reply. JW PS. Can you please post your schematics - it's enough to describe it in words... |