Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVS_read blocking issue #12

Open
dberenguer opened this issue Apr 28, 2017 · 2 comments
Open

NVS_read blocking issue #12

dberenguer opened this issue Apr 28, 2017 · 2 comments

Comments

@dberenguer
Copy link

The following code is halting somewhere within NVS_read:

NVS_Handle nvsHandle;
NVS_init();
nvsHandle = NVS_open(CC1310_LAUNCHXL_NVS1F000, NULL);

int status = NVS_read(nvsHandle, 0, buffer, length);
if (status != NVS_SOK)
   return 0;

AFAIK, NVS_read relies on one of those black pieces of proprietary compiled code provided by TI.

@robertinant
Copy link
Member

Currently we do not have support for this in Energia. The reason for not including it is that the NVS storage driver is undergoing quite a bit of changes. As an alternative you could use the attached external flash driver.
ExtFlash.zip

@lyusupov
Copy link

lyusupov commented May 6, 2020

FYI: NVS code referenced by the link below is known to work just fine with Energia (valid both for CC13X0 and CC13X2 variants):
https://github.com/lyusupov/SoftRF/blob/master/software/firmware/source/libraries/EEPROM/EEPROM.cpp#L40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants