d00616 / arduino-nvm Goto Github PK
View Code? Open in Web Editor NEWDirect flash memory access, round robin virtual pages and EEPROM like memory.
License: GNU Lesser General Public License v2.1
Direct flash memory access, round robin virtual pages and EEPROM like memory.
License: GNU Lesser General Public License v2.1
I couldn't get this to work in another project (like, yes, it does actually complain about unknown/incompatible architecture but you'd guess that's just because of the different defines) and so I decided to try the tests.
Expectedly everything died.
Now I don't really know how much this project is still cared for (it's funny to think the last time the main branch was touched, this board wasn't even a thing), but if not a code fix or adding official support, I believe at least a warning would be due.
Hi I am having trouble getting data I write to stay as each time I try to read it back after restarting its not there anymore.
char* testword_in;
char* testword = "TestWord";
// NVRAM.write_block((uint8_t *)&testword, 0, sizeof(testword));
NVRAM.read_block((uint8_t *)&testword_in, 0, sizeof(testword));
print_compare((uint32_t)testword, (uint32_t)testword_in);
This is what I am using to test. I will uncomment the write line and run the code. It will return "OK" but then I comment out the write line and test it again and it fails and returns "ERROR".
II am testing this on a NRF51822. Is there something I am doing wrong here?
Hello Everyone,
Correct me if I am wrong. According to this link: http://infocenter.nordicsemi.com/index.jsp?topic=/com.nordic.infocenter.s130.sds/dita/softdevices/s130/sd_resource_reqs/hw_block_interrupt_vector.html&cp=3_7_2_0_6_0
if softdevice is enabled, the flash can be written only through SoftDevice API sd_flash_write commands.
https://github.com/d00616/arduino-NVM : This uses writing to flash using registers.
Is it possible to use pstorage or fstoarge implementation in arduino?
Hello,
I just want to do the following:
Before I power off device save to a variable let's say value 0x69
Once the device wakes up I want to read the exact same address and read the content to modify it.
How can I do it?
I don't understand any of the examples.. what are the pages?
Any help would be appreciated.
Toni
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.