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.

CC2540 firmware flashing/programming for the very first time

Other Parts Discussed in Thread: CC2540

Hi :)

What is required to program/flash a CC2540 for the very first time? I guess the CC2540 comes without any pre-installed firmware so I assume that USB flashing or OAD is not possible to use for initial firmware programming? Does that leave us with the CC debugger as the only programming tool to do the very first programming?

Any tips to implementing a production line where the CC2540 is firmware programmed?

Thanks for a great product! :)

Best regards,

Jens Schwarzer

  • Hello Jens,

    The CC2540 do not come with any pre-installed firmware unless you are buying CC2540MINI-DK kit.  I do suppose though if you were buying in large quantities you could get them preflashed from a vendor.

    You would program the device using the CCDebugger (that come with the kit) and it is the only method, apart from building your own. 

    The SmartRF Programmer is a free software that you can use to do the programming.  It has a bootloader programming option that allows for auto incrementing of the boards ID number, which would suit production programming.

    There may be gang programmers on the market for the device, but I have never looked into it.  I only do a few boards at a time.

    Thanks,

  • Hi Jens,

    The initial programming must be done through the debug interface. You could either output this on a header or on testpads and make some sort of programming jig. As Greenja writes, the SmartRF Flash Programmer has a command line tool with several nice features. There are also 3rd party programmers and gangprogrammers for example from Elprotronic and Elnec.

    Cheers,
    Fredrik