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.

CC2640R2F: Problem with serial Programming (Using Serial Bootloader with SmartRF Flash Programmer 2)

Part Number: CC2640R2F
Other Parts Discussed in Thread: LAUNCHXL-CC2640R2, FLASH-PROGRAMMER,

>Initiate access to target: COM3 using 2-pin cJTAG.

>No response from device. Device may not be in bootloader mode. Reset device and try again.

If problem persists, check connection and baud rate.

>Connecting over serial bootloader failed: No response from device. Device may not be in bootloader mode. Reset device and try again.

If problem persists, check connection and baud rate.

>Failed to create device object.

  • Hi Shivraj,

    Are you using a LAUNCHXL-CC2640R2?  Please review your hardware design and reference SWRA466 and this E2E thread along with the FLASH-PROGRAMMER Help Guide provided in the GUI or C:\Program Files (x86)\Texas Instruments\SmartRF Tools\Flash Programmer 2\doc

    Regards,
    Ryan

  • Hi 

    yes i m using a LAUNCHXL-CC2640R2.

    i change in file ccfg_app_ble.c

    #ifdef CACHE_AS_RAM
    #define SET_CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM 0x00 /* Enable GPRAM */
    #endif //CACHE_AS_RAM
    #include <startup_files/ccfg.c>

    #define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5 // Enable

    //**************************************************
    // Bootloader pin level configuratio
    //**************************************************
    #define SET_CCFG_BL_CONFIG_BL_LEVEL 0x00 // Active low

    //**************************************************
    // Bootloader pin number
    //**************************************************
    #define SET_CCFG_BL_CONFIG_BL_PIN_NUMBER  9 // DIP switch #7

    //**************************************************
    // Bootloader backdoor enable
    //**************************************************
    #define SET_CCFG_BL_CONFIG_BL_ENABLE 0xC5 // Enabled

    and connection like

    i m using SmartRF Flash Programmer 2 ver 1.8.2 but below problem arrived

    >Initiate access to target: COM3 using 2-pin cJTAG.

    >No response from device. Device may not be in bootloader mode. Reset device and try again.

    If problem persists, check connection and baud rate.

    >Connecting over serial bootloader failed: No response from device. Device may not be in bootloader mode. Reset device and try again.

    If problem persists, check connection and baud rate.

    >Failed to create device object.

  • Did you set DIO9 low before resetting/starting the CC2640R2F?  Is the power jumper set to external instead of XDS110?  Why not use the LaunchPad's XDS110 instead of your separate board?  Have you tried using sblAppEx instead?  You may need to monitor the UART lines with an oscilloscope or logic analyzer to ensure that SBL communication is established. 

    Regards,
    Ryan

  • Hi 

    1) Did you set DIO9 low before resetting/starting the CC2640R2F

    ans:- DIO9 connect to GND Pin before resetting/starting the CC2640R2F but same problem.

    2) Is the power jumper set to external instead of XDS110? 

    ans:- power jumper set to external instead of XDS110 but same problem.

    3) Why not use the LaunchPad's XDS110 instead of your separate board? 

    ans:- not aware who to use XDS110, XDS110 is similer to usb to serial converter? then how to burn use.

    4) Have you tried using sblAppEx instead? 

    ans:- i download it but how to test it.

    5) You may need to monitor the UART lines with an oscilloscope or logic analyzer to ensure that SBL communication is established. 

    ans:- i have not oscilloscope or logic analyzer

    Please help ASAP

  • Hi Shivraj,

    Please follow all instructions concerning sblAppEx from SWRA466 using just the LAUNCHXL-CC2640R2 after programming the bootloader configuration.

    Regards,
    Ryan

  • Hi

    i download and install vs2015 

    i w go to below path and open sblAppEx 

    swra466c (1)\sblAppEx_1_03_00_00\ide\win32\msvc2015

    but shows unvailable.

  • Hi Sir

    Problem is sloved, now i will program CC2640R2F by using USB to TTL Module(3.3v, GND, TX, RX Pins) by using smartRF Flash Programmer 2 ver 1.8.2

    and also changes in startup code. all thing working ok, but i will not dump hex file repeatedly becouse of holding the button and resetting button please tell me

    exact procedure and time for holding and resetting the button.

  • Please run sblAppEx_1_03_00_00\bin\sblAppEx.exe from a command prompt.  I am glad you have resolved your issue.  I do not fully understand your question regarding the backdoor bootload pin, its state determines whether the device enters the bootloader or not during a device reset.  A reset is further required to exit the bootloader and commence application operation.

    Regards,
    Ryan