Hello,
Strange behavior of CC2538dk (CC2538EM + SmartRF06): I discover that the application loaded into CC2538 behaves differently in 2 cases:
- just after flashing
- after reboot (button RESET)
Has someone met the same problem ?
BR
Pavel
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Strange behavior of CC2538dk (CC2538EM + SmartRF06): I discover that the application loaded into CC2538 behaves differently in 2 cases:
Has someone met the same problem ?
BR
Pavel
Hi YiKai
Frankly speaking, I didn't properly understand your message.
After all, the firmware from TI or a custom application, based on Contiki staff ... both finally are "transformed" in a flash file by a compiler. It's up to compiler to properly "map" the program code. I thought, that impact of the "RESET" button is the same as one of "releasing board after flashing". Isn't it ?
Probably should I examine more attentively the compiler options ?
If so, which ones ?
BR
Pavel
Basically, I don't work on Contiki. From my experiences on Zigbee HA using CC253x, NV_RESTORE will make reboot have different behavior. If NV_RESTORE is enable on Zigbee device, the device will keep the previous network status. When it reboots, it will try to join the original Zigbee network. If not enable, the device will start like a new one to find new Zigbee network when it reboots. I suspect there is some compile option similar to NV_RESTORE on Cntiki. You can try to find if this is the case.
Ok, thanks YiKai.
Now it's more clear. Unfortunately I didn't find the flag NV_RESTORE (or something like this) in Contiki staff.
Moreover, my case ia slightly different: when I Pöower OFF/Power ON the device, its behavior looks like that after reboot with reset. So, the only way to make work CC2538 properly is to reflash it !
What where the behavior on Power OFF/Power ON in your case ?
BR
Pavel
In my application, the device will restore to previous status after I power off/ power on it.