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.

LAUNCHXL-CC2650: How to keep a code running without physical connection?

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650,

Basically title.

For example, after I load Project Zero onto the CC2650 Launchpad, I want it to keep running after I disconnect it from my laptop.

I can keep the MCU on the board constantly powered but after disconnection it stops executing the code.

What is the correct procedure?

  • Does the device work at all after just connecting power (without trying to debug the device)? You can take the software variable out the equation by loading a pre-build .hex file and see if it operates after connecting power.
  • What is a pre-build .hex file and how do I load it?
  • You can find prebuilt cc2650lp_simple_peripheral_rel.hex under C:\ti\simplelink\ble_sdk_2_02_01_18\examples\hex if you install BLE Stack v2.2.1. You can use Flash Programmer 2 to download cc2650lp_simple_peripheral_rel.hex to your LAUNCHXL-CC2650 to see if it works.
  • Is there a way to generate a hex file from the source code?

    I don't really need the hex file of the project zero. I have a project of my own.
  • Do you use CCS? or IAR?
  • I am using CCS Cloud.
  • Checking with CCS cloud, I can see hex file is output on debug folder and you can download it.

  • I loaded the hex file (Project Zero for now) onto the MCU but I don't see the device in the BLE Scanner.

    Flash Programmer 2 gives me:

    >Initiate access to target: XDS-L1000194.
    >Reading file: C:/Users/Hyunsoo/Desktop/ProjectZeroApp_CC2650LAUNCHXL.hex.
    >Start flash erase ...
    >Erase finished successfully.
    >Start flash programming ...
    >Programming finished successfully.
    >Start flash verify ...
    >Skip verification of unassigned page: 13.
    >Skip verification of unassigned page: 14.
    >Skip verification of unassigned page: 15.
    >Skip verification of unassigned page: 16.
    >Skip verification of unassigned page: 17.
    >Skip verification of unassigned page: 18.
    >Skip verification of unassigned page: 19.
    >Skip verification of unassigned page: 20.
    >Skip verification of unassigned page: 21.
    >Skip verification of unassigned page: 22.
    >Skip verification of unassigned page: 23.
    >Skip verification of unassigned page: 24.
    >Skip verification of unassigned page: 25.
    >Skip verification of unassigned page: 26.
    >Skip verification of unassigned page: 27.
    >Skip verification of unassigned page: 28.
    >Skip verification of unassigned page: 29.
    >Skip verification of unassigned page: 30.
    >Page: 0 verified OK.
    >Page: 1 verified OK.
    >Page: 2 verified OK.
    >Page: 3 verified OK.
    >Page: 4 verified OK.
    >Page: 5 verified OK.
    >Page: 6 verified OK.
    >Page: 7 verified OK.
    >Page: 8 verified OK.
    >Page: 9 verified OK.
    >Page: 10 verified OK.
    >Page: 11 verified OK.
    >Page: 12 verified OK.
    >Page: 31 verified OK.
    >Verification finished successfully.
    >Reset target ...
    >Reset of target successfull.

    Does the resetting at the end has something to do with the launchpad not transmitting?

  • Do you also download ProjectZeroStack to your LAUNCHXL-CC2650?