-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cannot setup 6lowPAN testbed for cc2538dk #834
Comments
I remove all webserver stuff from the code and now it is correctly work, the firmware stop rebooting and Any idea about the reason for this behavior? |
I've used an older revision (4c5fa6f / 13 Jun 2014) with the CC2538dk and I've not encountered this problem with tunslip6. If your system is continuously rebooting this is surely related to the watchdog. If contiki reboots like this that means it has crashed somewhere. It is a good thing to try an older revision you'll be fixed. |
Hello @darkopetrovic , I made a bisect using the test script in [1] and a modified version of SmartRF06EB [2] for autotest purpose. Here all the detail about the successful bisect, I hope that some one with deep knowledge of contiki internals could find the root of this issues.
Reverting the a9e7bea resolve the problem, I hope that @g-oikonomou can help us to understand the bug. |
I've meant to try this one out but I've not found a chance (don't hold your breath :() I'm a little confused by your post though. You say that a9e7bea works, but in the bisect it's marked as bad? This commit did in fact touch border-router.c, but I can't see how the commit may have broken it ina a way that disabling the webserver would make it work. With the latest version and zero modifications, does this report reasonable values?
I'd also try with a different version of the toolchain and I'd play around with the |
Hi @g-oikonomou, I didn't know which one could be consider a reasonable values, anyway here the detail with zero code modification:
The problem is still present and reproducible with the version above. Below I revert the commit and retest the code with success:
|
The problem was due to the flash program that I used. Probably the firmware was corrupted at upload time by the programmer (https://github.com/1248/cc2538-prog), using the suggested one cc2538-bsl anythink work as aspect. |
Hi all,
I'm trying to setup a 6LowPAN network using the cc2538dk following the guide in [1]. What I experience is a problematic reboot cycle during tunslip6 initialization.
In the snippet below you can see that the chip is rebooting after
Setting prefix aaaa::
:How I can debug this problem? Any hit about a specific settings that can help?
Did you can suggest a specific version of contiki that is know to work?
I'm using rev 6fb7dd2, actual branch master at the moment.
Thanks
Claudio
The text was updated successfully, but these errors were encountered: