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.

Fatal Error: Failed to halt after bootloader 1 session aborted

Other Parts Discussed in Thread: CC2650STK, CC2640, CC2650

Hello,

i am using CC2650STK and IAR workbench for my project  development . i compiled a examples from given below location .

C:\ti\simplelink\ble_sdk_2_02_00_31\examples\cc2650stk\sensortag_audio\iar

First it was debug properly .i uploaded only cc2650stk_app and cc2650stk_stack .... code was working .

Next time i debug code with cc2650stk_app and cc2650stk_stack with ->> bim_extflash

 even use Smart RF Flash Programmer 1.6, erase "All unprotected pages" and program simplelink\ble_cc26xx_2_00_00_42893\Accessories\HexFiles\CC2640_SmartRF_SensorTag.hex. it again start working by CC2640_smartrf_sorTag hex .

but 

C:\ti\simplelink\ble_sdk_2_02_00_31\examples\cc2650stk\sensortag_audio\iar

then i am not able to debug (C:\ti\simplelink\ble_sdk_2_02_00_31\examples\cc2650stk\sensortag_audio\iar)

code again i am getting below mention error

---------------------------------------------------------------------------------------------------------

Fri Aug 05, 2016 16:42:50: IAR Embedded Workbench 7.70.1 (armproc.dll)
Fri Aug 05, 2016 16:42:50: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\debugger\TexasInstruments\CC26xx.dmac
Fri Aug 05, 2016 16:42:50: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\flashloader\TexasInstruments\FlashCC26xx.mac
Fri Aug 05, 2016 16:42:51: Connecting to TI XDS110 ( Probe no: 00001234 ) COM[6/5]
Fri Aug 05, 2016 16:43:00: TI XDS ARM, device revision: 0x00000001, big endian: false, cache: false, board revision: 0x00000000, driver revision: 0x0B020200
Fri Aug 05, 2016 16:43:25: Fatal error: Failed to halt after bootloader 1 Session aborted!
Fri Aug 05, 2016 16:43:25: Unloaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\flashloader\TexasInstruments\FlashCC26xx.mac
Fri Aug 05, 2016 16:43:25: IAR Embedded Workbench 7.70.1 (armproc.dll)

  • Hi,

    Are you able to use the latest Flash Programmer to flash the image? Are you saying you are able to download the image using IAR, but not debug it?

    Best wishes
  • Hello,

    yes i am able to flash the image form here >> 

    C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Accessories/HexFiles/CC2640_SmartRF_SensorTag.hex

    But i am getting two problem 

    First -

    whenever i am debugging code on CC2650 through IAR . its works only first  time while device connected to PC. later its turn on  red and no advertisement .

    Second -

    IAR generating tree files for app, stack and flash . is i have to flash separately these program on cc2650 by using flash programmer2.

    NOTE- most of the time i am using example code given in simplelink.

     

  • My program only work for first time . only when it connected to laptop...