EEPROM usage

A 40 Pin Dip packaged development board enabling you to create internet connected products

EEPROM usage

Postby andrewdlindsay » Sun Feb 23, 2014 9:09 pm

Hi Guys,

I'm looking for some local storage on the WiFiDIPCortex to store some configuration info. On other mbed boards, such as the 1768, there is the local filesystem which is not available on this board. I saw the spec says 4Kb eeprom. How do I use this? I see its on the processor itself.

I've had a search through the mbed site and cant see anything obvious so asking if anyone here has used it before. If not then I'll have a look through the datasheet for the LPC1347.

Cheers

Andrew
andrewdlindsay
 
Posts: 17
Joined: Tue Jan 28, 2014 9:29 pm

Re: EEPROM usage

Postby Carl-SolderSplash » Sun Feb 23, 2014 9:17 pm

I'll look at writing an mbed example for you. i've used the eeprom with lpcxpresso it is pretty simple, using the rom functions.
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm

Re: EEPROM usage

Postby Carl-SolderSplash » Sun Feb 23, 2014 11:08 pm

I've quickly ported the NXP IAP code,

the library is here : http://mbed.org/users/SolderSplashLabs/ ... ex-EEprom/

and an Example using USB CDC is here : http://mbed.org/users/SolderSplashLabs/ ... SB-EEProm/

It's all C, copy and pasted from the NXP example. Could be tidied up a lot.
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm


Return to WiFi DipCortex

Who is online

Users browsing this forum: No registered users and 7 guests

cron