5

Writing simple driver for AT24C256 eeprom on pico (RP2040)

It turned out it was FT24C256A, which should follow same protocol.

After literally over month of coming back to it, getting stuck again, rewriting things (including some functions of pico-sdk), i almost gave up a d started just yolo trying random shit.

Afterall the documentation on addressing the chip fucking missled me -_- (1st bit is r/w flag and 2-7 bits are address, counted from MSB->LSB)

I made it work yesterday.

In meantime Ive rewritten Wire library, Ive modified someone's else rewrite, extended sdk to allow getting i2c registers, tried to use tiny go just to learn it doesnt support i2c slave mode, resoldered entire thing few times, measured connections few too many times etc.

Frustrated I doubted I will ever manage to finish putting this project together because it looked like Im just too noob.

Comments
  • 1
    Haha reading your rant made me feel too noob, thanks :D
Add Comment