??? 10/21/08 12:04 Read: times |
#159237 - I checked all solder joint Responding to: ???'s previous message |
Hi,
I checked all solder joint. I can see the signal in i2c bus. SDA and SCL are arriving in e2prom. Now, I'm trying to write a single byte in e2prom. The mcu send start bit command, address device, high address, low address for e2prom, data and stop bit. I put a instruction P1&=0xEF; in each "case" in i2c interrupt to check if the mcu is working corretcly. I put this instruction in each "case" at the time. I think the interrupt to write to e2prom is working, but I'm not sure. So I tried to read back from memory, but always get 0x00. How can test if the write is working ? |