Hello,
I’m encountering an issue with the RAK11720 where the radio parameters are not being stored correctly. Unexpectedly, the parameters stored in flash memory are erased. I am using the following setup:
- RAK11720 with RUI3 v4.1.1, running on Windows 10.
- ABP authentication; however, when the issue occurs, the device switches to OTAA and erases the keys
DevAddr
,NwkSKey
, andAppSKey
. The OTAA keys appear to be set to:- DevEUI = AC1F09FFFE1302CE
- AppEUI = AC1F09FFF9153172
- AppKey = AC1F09FFFE1302CEAC1F09FFF9153172
These keys seem to correspond to an example used in RUI3 OTAA application.
Additionally, the radio configuration is lost. The band changes from AU915 to US915, and the channel and Spreading Factor settings are erased.
When I read the memory of the chip with a JLINK programmer, I see that the user memory section is also erased.
Despite the radio configuration being wiped, the rest of the application code seems to work correctly.
My questions:
- Is there a way to resolve this issue?
- Does RUI3 have a section of memory where it stores the default radio configuration? If so, can I store my radio configuration there to avoid this problem?
Any help or insights regarding this would be greatly appreciated.
Best regards,
Dabliu.