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.

RTOS/LAUNCHXL-CC2640R2: Reset button erase code

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640

Tool/software: TI-RTOS

Hi,

I was modifying multi_role example deleting not required portions (for my application example menu / button press events). I think i removed some required init procedure.

I have multiple new CC2640 boards. when i flash modified multi_role on brand new board, it only works until power cycle is done or reset button is pressed.

I found work around to first flash using default multi_role example and then flash modified multi_role. It works when this is followed even after rest or power cycle.

Do i need to follow special steps to retain code after power reset?

  • Hello,

    The code is programmed to Flash memory which is non-volatile. You can read out the programmed code using Smart RF Flash Programmer 2, keep in mind OSAL SNV pages will differ from the hex file.

    Likely you have an issue with your board and/or software configuration. I suggest completing the HW and SW bring up items in the CC26xx HW Troubleshooting article on the BLE Wiki firstly. I also highly recommend you bring up your board with simple_peripheral sample app as per the Initial Bringup guide in order to minimize variables.

    Best wishes
  • Thanks, it was software configuration issue.