3
\$\begingroup\$

I am trying to program a cc2530 mcu, all the example software and libraries are provided for IAR, but since I am on ubuntu, I am unable to use it, I have installed sdcc but I am still unclear as to how should I go about debugging codes and where can I get hardware abstraction libraries and linker script.

\$\endgroup\$
1
  • \$\begingroup\$ Any updates about building cc2530 projects using Linux environment? \$\endgroup\$
    – RoninDev
    Commented Feb 19 at 19:38

1 Answer 1

2
\$\begingroup\$

One simple solutions would be to download and configure Eclipse CDT for Ubuntu. Last year I was able to configure a Eclipse to do embedded development for TIVA TM4C123 ARM Cortex M4 processor. I used Open On-Chip Debugging called openocd. To a large extend you will be doing some ground breaking work. Communities like Embedded Systems and Electronic SE are here to help you. When you are successful post the steps so other could benefit. Below are some references that might help you. Good luck.

References:

\$\endgroup\$
2
  • \$\begingroup\$ I have added sdcc plugin to eclipse, and i am going through contiki files to see how it works, as far as debugging goes, openocd does not support cc2530 (it supports cc2538). I will have to use printf's i guess.. Thanksa lot. :) \$\endgroup\$
    – user260994
    Commented Jun 24, 2015 at 10:16
  • 1
    \$\begingroup\$ My pleasure, I hope you will document and post your learning. You can request for cc2530 support on openocd. \$\endgroup\$ Commented Jun 24, 2015 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.