This post describes step-by-step guide to do basic debugging of CC2538DK Demo of Contiki 2.7 on Windows. The basic idea is derived from an official AN128 application note from TI, however it uses Code::Blocks as IDE instead of Eclipse IDE running on Windows 7.
In my previous post, I have shown the step-by-step guide to compile the basic hello-world demo of Contiki 2.7 for CC2538DK on Windows. Looking into the list of examples, the Contiki 2.7 is also delivered with a CC2538DK specific example which is located under contiki-2.7/examples/cc2538dk. The example shows basically basic input-output operation (push-button input, LED output), and also basic Rime broadcast communication (Rime is the light-weight wireless protocol used in Contiki).This blog post describes step-by-step guide to compile, run, and analyze the cc2538dk example of Contiki 2.7.