Project

General

Profile

Accessing flash memory on jeeLink v3c

Added by RobJW almost 5 years ago

I am aiming to create a datalogger for a wireless gateway using a jeeLink but am having difficulty finding a library to allow me to read and write to the flash. I’m hoping that someone can point me to the right place. Further info . . .

The jeeLink v3c comes with a 16bit flash memory, the M25P16 from Micron

jeeLib has an example program rf12demo which includes a datalogging function. However it requires a library file dataflash.h which I’ve been unable to find

github has several dataflash libraries for Arduino
https://github.com/search?utf8=%E2%9C%93&q=dataflash+arduino&type=Repositories&ref=searchresults
But none claim compatibility with M25P16

Way back, rf12demo included additional code for datalogging
https://github.com/jcw/jeelib/blob/master/examples/RF12/RF12demo/dataflash.h
Presumably this was removed because of incompatibility with later memory chips

Any help much appreciated

Rob


Replies (2)

RE: Accessing flash memory on jeeLink v3c - Added by jcw almost 5 years ago

The file you’re looking for is part of the RF12demo code in JeeLib - https://github.com/jcw/jeelib/blob/master/examples/RF12/RF12demo/dataflash.h

RE: Accessing flash memory on jeeLink v3c - Added by RobJW almost 5 years ago

Many thanks for the speedy response.

It’s good to know that the demo code should work. However, if I add it as an Arduino library the compiler throws up a series of out of scope errors. Should I just paste the code directly into RF12demo?
Which begs the question, why was it extracted from it?

Cheers

Rob

    (1-2/2)