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.

LP-EM-CC2340R5: CC2340R5: OAD Testing SDK 7.10 on PG2 Chip

Part Number: LP-EM-CC2340R5
Other Parts Discussed in Thread: CC2340R5, UNIFLASH

Dear Sir,

We are using CC2340R5 PG2 version of the BLE IC & working on OAD application with SDK: simplelink_lowpower_f3_sdk_7_10_00_11_eng. initially we are trying the given example in the SDK for the OAD testing.

As per my understanding the OAD process will need two boards

1. Distributor : Running host_test_LP_EM_CC2340R5_freertos_ticlang with BTool - Working

2. Target : Running MCUBoot, basic_persistent_LP_EM_CC2340R5_freertos_ticlang & basic_ble_oad_onchip - Not working for us as of now

ISSUE: basic_persistent application giving compilation error out of the box, its giving the following error:

 Description Resource Path Location Type
<a href="file:/C:/ti/ccs1220/ccs/tools/compiler/dmed/HTML/10099.html">#10099-D</a> program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment fails for section ".rodata" size 0x341e. Available memory ranges: cc23x0_app_freertos.cmd /basic_persistent_LP_EM_CC2340R5_freertos_ticlang line 240 C/C++ Problem

Please let me know what should be done or if I am doing something wrong.

Regards,

Harinder Singh

  • Hi Harinder,

    The 7.20 SDK version of the SimpleLink Low Power F3 SDK has been released on ti.com recently. You may download this version here: https://www.ti.com/tool/download/SIMPLELINK-LOWPOWER-F3-SDK

    This releases includes several improvements and fixes which may solve the issue you are facing. Can you download this version and test? Please ensure you are using the recommended CCS version (12.4) during your testing.

    Best Regards,

    Jan

  • Dear Sir,

    Thanks for your quick response!

    hurrah!!  :)  The OAD example is working with 7.20 SDK version of the SimpleLink Low Power F3 SDK & I have used recommended CCS version (12.4) for the testing.

    The issue I have observed is after loading the initial files (mcuboot, persistent app & basic_ble) through uniflash the CC2340R4 don't launch the basic_ble app instead it launch the persistent app, it apperars like the basic BLE app is not loaded to correct address or not detected by the persistent app after intial boot up process. The basic_BLE app runs only after doing the initial OAD process through BTool. After loading the basic_BLE through BTool over the OAD it works well after bootups. 

    Concerns:

    1. Please let me know if I need to modify anything in the source code or default address for loading the applications.

    2. Transparent UART over BLE :  one more thing, I want to add Transparent UART over BLE implementation to this basic_BLE_oad app. any application note or example code which I can refer ? please share the resources if available. 

    Thanks & Regards,

    Harinder Singh

  • Hi Harinder,

    I am glad to hear the updated SDK and CCS were able to resolve the issue! 

    1. Please let me know if I need to modify anything in the source code or default address for loading the applications.

    Are the addresses in the UniFlash image the default values or are these custom values?

    2. Transparent UART over BLE :  one more thing, I want to add Transparent UART over BLE implementation to this basic_BLE_oad app. any application note or example code which I can refer ? please share the resources if available. 

    We have recently released a UART over BLE example (based on the data_stream example) onto our ble_examples repo. I believe this example would be a very valuable reference for implementing an OAD UART over BLE example.

    Best Regards,

    Jan

  • Dear Sir,

    Thanks for the the BLE Uart example I will go through it.

    In response to: "Are the addresses in the UniFlash image the default values or are these custom values?"

    I have refed the address from other threads on the e2e form, don't know if they are correct. please confirm me back the addresses that we will need to set in the target device for MCU boot, Persistant & basic ble apps.

    Regards,

    Harinder Singh

  • Hi Harinder,

    Can you try using the addresses that are found in the .map file (present inside the Release/Debug folder after you build your projects). An example is found below:

    Best Regards,

    Jan

  • Dear Sir,

    Thanks for confirmation, it's working now smoothly... :)

    Issue was in the addressing of the Basic_BLE app. Need to set it's base address to 0x32000.

    Thanks & regards,

    Harinder Singh