You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys,
We develop our firmware based on the LoRaMac-node repository, 4.7.0 version as of today with OTAA and Soft SE nvm management.
We use to set the lorawan identifiers and other production data through serial commands, and not by customizing the se-identity.he file.
Our current implementation reveals some weird behavior by times. Indeed major serialized parts get the correct ids, some fall back to the identifiers in the se-identity.h.
We suspect we have an issue with the way we interact with the NVM.
We do merely the same for Nwkkey / AppKey except we do not call NvmDataMgmtEvent and NvmDataMgmtStore.
After that we reset the device.
I suspect that some times the reset is called too soon, not living time for the NVM management machine to do CRC, set flags and actually write the new set of data.
Would you have a recommandation of a proper way to set these data?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys,
We develop our firmware based on the LoRaMac-node repository, 4.7.0 version as of today with OTAA and Soft SE nvm management.
We use to set the lorawan identifiers and other production data through serial commands, and not by customizing the se-identity.he file.
Our current implementation reveals some weird behavior by times. Indeed major serialized parts get the correct ids, some fall back to the identifiers in the se-identity.h.
We suspect we have an issue with the way we interact with the NVM.
Below is how we set the parameters:
We do merely the same for Nwkkey / AppKey except we do not call
NvmDataMgmtEvent
andNvmDataMgmtStore
.After that we reset the device.
I suspect that some times the reset is called too soon, not living time for the NVM management machine to do CRC, set flags and actually write the new set of data.
Would you have a recommandation of a proper way to set these data?
Thanks for your help,
Beta Was this translation helpful? Give feedback.
All reactions