Author |
Message |
Topic: 24LC128 reading problem |
KoRGeNeRaL
Replies: 13
Views: 13732
|
Forum: General CCS C Discussion Posted: Mon Feb 04, 2008 2:27 pm Subject: 24LC128 reading problem |
The problem is solved. The EEPROM was damaged. I don't have the slightest idea how it is damaged but it is.
Thank you for your interest |
Topic: 24LC128 reading problem |
KoRGeNeRaL
Replies: 13
Views: 13732
|
Forum: General CCS C Discussion Posted: Mon Feb 04, 2008 2:05 pm Subject: 24LC128 reading problem |
Of course i'm testing it on the actual circuit too but the results are same.
If you are sure about the code, then i'll trying using another 24LC128. Perhaps the IC is damaged somehow and the simula ... |
Topic: 24LC128 reading problem |
KoRGeNeRaL
Replies: 13
Views: 13732
|
Forum: General CCS C Discussion Posted: Mon Feb 04, 2008 2:01 pm Subject: 24LC128 reading problem |
Yes i'm sure about the connection btw the PIC end EEPROM. The weird thing is, the problem also occurs in the simulation. According to the simulation logs, there isn't any problem by writing data, but ... |
Topic: 24LC128 reading problem |
KoRGeNeRaL
Replies: 13
Views: 13732
|
Forum: General CCS C Discussion Posted: Mon Feb 04, 2008 1:33 pm Subject: 24LC128 reading problem |
Yes, all the connections are okay. It's weird. Am i missing to enable/disable something? |
Topic: 24LC128 reading problem |
KoRGeNeRaL
Replies: 13
Views: 13732
|
Forum: General CCS C Discussion Posted: Mon Feb 04, 2008 1:29 pm Subject: 24LC128 reading problem |
The problem isn't related to 16bit functions, since the below code has the same problem. (If the problem is related to the code of course)
#include <16f877.h>
#FUSES NOWDT ... |
Topic: 24LC128 reading problem |
KoRGeNeRaL
Replies: 13
Views: 13732
|
Forum: General CCS C Discussion Posted: Mon Feb 04, 2008 1:20 pm Subject: 24LC128 reading problem |
Thanks for the response.
1 - Yes i have them.
2 - I tried but it didn't change anything
I won't post the code for write_int16_ext_eeprom() and read_int16_ext_eeprom() because the problem still ... |
Topic: 24LC128 reading problem |
KoRGeNeRaL
Replies: 13
Views: 13732
|
Forum: General CCS C Discussion Posted: Mon Feb 04, 2008 7:46 am Subject: 24LC128 reading problem |
Hi all,
I'm trying to use a 24LC128 EEPROM with the functions from "24128.c" and "external_eeprom.c"
I was able to write an 16bit variable to the EEPROM, but when i read it bac ... |
|