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.

CC Debugger in Linux

Other Parts Discussed in Thread: CC2530, CC2531, CC2540, CC2533, CC2431, CC2430, CC2510, CC2511

Hello.

I'm working on supporting TI CC Debugger in Linux OS natively. The current purpose is to be able to read and write flash of CC25*, CC24*, CC11*, the next one can be to create GDB server.
Please let me know if anybody interested in such software at all and would like to help me testing it (george-io@yandex.com)

  • Hi George,

     

    I think it is a great idea, it will be like some sort of smartRF flash programmer for Linux?

    It would be very nice to have such tool... I can't test it myself (my knowledge of Linux is very

    poor), but some of my colleagues at the firm probably can help by running tests, well, I'll ask'em

    politely to do so. :)

  • Hello.

    Igor thanks for being ready to help. I've finished the prototype, it can be downloaded from:
    http://sourceforge.net/projects/cctool/files/

    Currently it can read\erase\write\verify CC2540 CC2530 CC2531 CC2533.
    I tested it using SmartRF05 Evaluation Board.
    It's planned to support CC2430 CC2431 CC2510 CC2511 CC1110 CC1111 in the nearest future
    There're more information in README inside the archive.

    George

     

  • Hi, 

     

    Thank you for this one. I'll check it as soon as I can, with CC debugger

    and 253xF256 SoCs. I'll keep you updated.

     

    Thanks again for the effort, I really appreciate this!!!

  • Hi George,

     

    Excuse me for the late response, me and the Linux guys were really busy.

    Today we have tried to build cc-tool on Debian (amd64) machine and we got

    several build errors.

    I have the trace, but it seems to that this thread is not an appropriate place for

    such things, so should I e-mail it to you, or may be you prefer to get it in any

    other way?

  • Hello Igor.

    I'm glad you're online again.

    You can always e-mail me personally and it's the preferred way to communicate (george-u at yandex.com)

    George

  • Hi Goerge,

    It's been awhile... :)

    Had no time to check your last release of the cc-tool till the last week.

    One of the Linux guys was helping me to test your ver0.18 release.

     

    We have found several bugs and managed to fix some of them

    (i.e wrong Primary IEEE address reading on CC253x targets, etc..)

    I would like to know how you prefer we report you these bugs

    and suggested solutions...?

  • great tool!!!

    but I got in trouble when using it, how to remove lock on target using this tool? 

  • HI George,

     Thanks for info, downloaded it from above link, compiled it on Ubuntu 64/32 Linux box. Connected TI programmer

    Following error occurs

     Programmer: CC Debugger
      Target: CC2531
      Error occured: libusb_control_transfer (out) failed, Pipe error

    How can we eliminate it and go to next level.

    Thanks

    Vijay

  • As I posted on another thread about the cc-tool. I found someone who has a fix for it.  https://github.com/dashesy/cc-tool/commit/3ebc61763ff5d0dadbdc2f7163e85ca5d002bb0f

    It only requires a single change:

    - USB_SET_CHIP_INFO, 1, 1, &command[0], command.size());
    + USB_SET_CHIP_INFO, 1, 0, &command[0], command.size());

    I was able to update my CC2540 on OSX using the tool now. I was previously getting the same libusb_control_transfer error..

  • Hi George

    Are you still maintaining this project?

    Have you implemented CC1111 support?

    BR
    silverk