Promgramming of I2C EEPROM Failed(Microchip's AT24C256C)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
동현권
Level 1
Level 1

Hello.

I am using the AT24C256C instead of the M24M02 on the CYUSB3KIT-003 board.

In the M24M02, the eeporm works well, but I2C EEPROM Failed occurs when AT24C256C (A0, A1, A2 => NC) is used.

What settings do I need to use Microchip's 256K eeprom on the FX3?

eeprom.png

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

- The EEPROM that you have mentioned (AT24C256C) is only of the size 32kB. Please ensure that your firmware size is lesser than this. Most of the FX3 SDK examples are larger than this size.

- Also, to use an ATMEL EEPROM of 128kB size, the A2, A1 pins must be tied to GND and the A0 pin must be left unconnected. Please refer to the below document for more details.

https://www.cypress.com/file/201991/download

Best regards,
Srinath S

View solution in original post

0 Likes
2 Replies
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

- The EEPROM that you have mentioned (AT24C256C) is only of the size 32kB. Please ensure that your firmware size is lesser than this. Most of the FX3 SDK examples are larger than this size.

- Also, to use an ATMEL EEPROM of 128kB size, the A2, A1 pins must be tied to GND and the A0 pin must be left unconnected. Please refer to the below document for more details.

https://www.cypress.com/file/201991/download

Best regards,
Srinath S

0 Likes

Thank u.

I made a mistake.

I think I used 256Kb incorrectly as 256KB. Again, the memory size is not enough.

Thank you.

^^

0 Likes