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.

CCS/CC2640R2F: Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.

Part Number: CC2640R2F

Tool/software: Code Composer Studio

hi, 

I have a problem as follows:

Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
Cortex_M3_0: GEL Output: Board Reset Complete.
Cortex_M3_0: Command=20 -- addr=0x00020000 -- length=0x00001000
Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.
Cortex_M3_0: GEL: File: D:\TI\ccs_workspace\ble5_simple_central_cc2640r2lp_app\FlashROM_StackLibrary\ble5_simple_central_cc2640r2lp_app.out: Load failed.

First I use the SDK version is simplelink_cc2640r2_sdk_3_20_00_21,the demo  in the ble5stack named simple_central.I enabled the configration "-DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG",then build the stack and app project successfully,when I clicked Run->Load->ble5_simple_central_cc2640r2lp_app to download to my board,the problem occured,but if I enabled the configration " -DHOST_CONFIG =PERIPHERAL_CFG",it works successfully.What can I do with the problem?Dose the vorsion of the SDK not support feature?

  • Hi,

    Assigning an expert to reproduce and follow up.

  • Hi,

    If I want to develop a master-slave bluetooth device, can this version of SDK  simplelink_cc2640r2_sdk_3_20_00_21 and CC2640R2F hardware support this function?

  • Hi Babober, 

    I tried reproducing your issue but I don't get any warnings when I set

    -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG

    and load the application. Are you able to debug the application?

    You can use the multi_role project to use a device as master and slave simultaneously but for CC2640R2, that project is only available in the BLE3 stack. 

    Thanks,
    Elin

  • Hi Elin,

    I want develop a master-slave bluetooth device working at BLE5STACK,but there is no multi_role project in simplelink_cc2640r2_sdk_3_20_00_21 package,so I tried that setting :-DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG,but it can't work.

    Can I consider that the simplelink_cc2640r2_sdk_3_20_00_21 does not support running multi_role on BLE5STACK?In other words,I can't build a device that contains both master and slave roles working at BLE5STACK,and I must creat two project to make them?

    Thanks.

  • Hi Babober, 

    If you want to use multi_role in CC2640R2, you have to use the BLE3 stack otherwise you have to upgrade to CC2652R

    Thanks, 
    Elin

  • Hi Elin,

    Thanks for your help,I get it.

  • Hi Elin,

    Low power bluetooth started with bluetooth 4.0.Which bluetooth version do you mean by BLE3 stack, bluetooth 4.0, bluetooth 4.1, bluetooth 4.2 or bluetooth 5.0?The master-slave bluetooth device I want to develop is not a multi-role device, which does not need to run the host or slave at the same time, but only one of the host or slave after the power is on, but it must be based on bluetooth 5.0.

  • Hi Elin,

    Low power bluetooth started with bluetooth 4.0.Which bluetooth version do you mean by BLE3 stack, bluetooth 4.0, bluetooth 4.1, bluetooth 4.2 or bluetooth 5.0?The master-slave bluetooth device I want to develop is not a multi-role device, which does not need to run the host or slave at the same time, but only one of the host or slave after the power is on, but it must be based on bluetooth 5.0.

    Thanks,

  • Hi Baboer, 

    By BLE3 stack I'm referring to the stack that is called "blestack" in the CC2640R2 SDK. 

    If you have to base your project on Bluetooth 5, then you have to use the BLE5 stack.

    I'm a little bit confused by your last post, do you want to have one device that supports multiple roles or do you want to have several devices with dedicated roles?

    Thanks, 
    Elin

  • Hi Elin,

    I want to have one device that supports multiple roles on Bluetooth 5,I have get some information from others,I should give up the CC2640R2F because of FLASH/RAM .

    Thanks

  • Hi Baboer, 

    It is possible to load a project that supports multiple roles in BLE 5, just not the multi_role project. 

    Try using another project, like project_zero, configure the roles you want and see if that works. 

    Thanks, 
    Elin