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.

CC2340R5: Issue with migrating CC2340R5 to CC2340R2

Part Number: CC2340R5
Other Parts Discussed in Thread: CC2340R2,

Hi,

    I am trying to migrate a example Basic_Ble_Peripheral project  from CC2340R5 device to a CC2340R2 using CC2340R5 to CC2340R2 Porting Guide

https://software-dl.ti.com/simplelink/esd/simplelink_lowpower_f3_sdk/7.40.00.64/exports/docs/ble5stack/ble_user_guide/html/ble-stack-5.x-guide/porting-guides/cc2340r5_to_cc2340r2.html 

After compile and  loaded in CC2340R5 module where module  is not booting up, while debugging program stops at  

As per CC2340R5 to CC2340R2 Porting Guide made an changes in syscfg and linker command file where the images attached

Can you please help regarding an issue where mistakes made from my end.

CCS version : CCS 12.6.0

SDK version : simplelink_lowpower_f3_sdk_7_40_00_64

Thanks,

Vignesh.

  • Hi Vignesh,

    Do you mean you are following the CC2340R5-CC2340R2 migration guide and are trying to execute the code obtained on a CC2340R5 device? I am afraid this is not possible.

    As you are waiting for the CC2340R2 samples, ensuring you manage to fit your project in 256 kB or Flash and 28 kB of RAM is probably the best way of jump-starting the evaluation of the CC2340R2.

    I hope this will help,

    Best regards.

  • Hi clement,

    Thanks for your response.

    Do you mean you are following the CC2340R5-CC2340R2 migration guide and are trying to execute the code obtained on a CC2340R5 device? I am afraid this is not possible.

    Where CC2340R2 code is not possible to test with CC2340R5 device?

    I have referred an document where mention we can use CC2340R5 launchpad.

    SWRS282_CC2340R2_FCS_2023-02-07.pdf

    For developing  CC2340R2 where I need to import an example basic_ble project from

    SDK :  simplelink_lowpower_f3_sdk_7_40_00_64 \examples\rtos\LP_EM_CC2340R5\ble5stack/basic_ble ? Is that correct.

    Later with CC2340R5-CC2340R2 migration guide need to make an changes for CC2340R2.

    Thanks,

    Vignesh.

  • Hi Vignesh,

    Code configured to run on CC2340R2 can only run on CC2340R2 - this is because radio configurations are not identical on CC2340R5 and CC2340R2.

    Here is the suggested development process:

    If the only hardware you have is built around the CC2340R5 (e.g. you only have a LP-EM-CC2340R5), start you project referencing CC2340R5 examples (e.g. <SDK>\examples\rtos\LP_EM_CC2340R5\ble5stack/basic_ble).
    Ensure the code you are producing fits in the CC2340R2 by reducing the Flash and RAM configured in the linker command file. Note that, even if you modify the RAM and Flash sizes in the linker command file, you are building at this point some code to run on a CC2340R5.

    When you have ready to use CC2340R2 samples, follow the CC2340R5-CC2340R2 migration guide to produce a binary compatible with CC2340R2 silicon. Run this binary on the CC2340R2 device.

    I hope this will help,

    Best regards,