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

NVM corruption in CC1310 Launchpad+ ENC28j60 #244

Closed
marciolm opened this issue Jan 19, 2017 · 2 comments
Closed

NVM corruption in CC1310 Launchpad+ ENC28j60 #244

marciolm opened this issue Jan 19, 2017 · 2 comments

Comments

@marciolm
Copy link

Hello,
I am running sucessfully the 6LBR Version : 1.5.x (Contiki-develop-20161222) in a cc1310 Launchpad + ENC28j60 ethernet adapter.
Just after the firmware upload, the 6LBR works perfectly, but if I do a reset in the board, it stops to work, and back only after a reflashing.
I guess is a NVM corruption due a bug, because when I commented out the lines calling the function "nvm_data_write()" in the 6lbr/nvm-config.c file, the problem ceased. I'm not sure if there is a need to write the NVM anymore, because the 6LBR "lite" version unfortunatelly don't have the runtime configuration tabs.

Regards
Márcio

@marciolm
Copy link
Author

Solved after changing the include file from "cc26xx-int-nvm.c" to "cc26xx-ext-nvm.c" in /6lbr/examples/6lbr/platform/srf06-cc26xx/Makefile.srf06-cc26xx
Thanks
Márcio

@laurentderu
Copy link
Member

Thanks for the feedback ! I will add a compilation flag to make this easier and document this in the Wiki.

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

2 participants