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 Simultaneous connections & Secure boot implementation

Other Parts Discussed in Thread: CC2340R5, UNIFLASH

Dear Team,

Greeting of the day!

We are using CC2340R5 for our new product range and have some queries  

1. Maximum no. of simultaneous connections: If we are using CC2340R5 as peripheral than what's the maximum number of central devices like smart phones that can be connected to it & operate simultaneously.

2. Secure boot implementation: Is the present given OAD implementation in 6.40SDK has secure boot implemented. In the example implementation mcu_boot , persistant app & user app. so does the mcu_boot having the secure boot implemented or end user has to take care of the OAD security related issues.

Please let me know if you need more information from my end.

Thanks & Regards,

Harinder Singh

  • Hi Harinder,

    Thank you for reaching out,

    Regarding your first point, the maximum number of BLE connections depends on the RAM size left by the application. But, you can reach up to 4 simultaneous connections. Please have a look at the ble_user_guide in your SDK, at the BLE5-Stack > Overview > Plateform Devices Comparison section for more informations.

    Regarding your second point, secure boot might be enabled through a configuration of MCUBoot.

    Regards,

  • Dear Sir, 

    Thanks for your response.

    Can you please tell, how to enable secure boot through configuration of MCUBoot or you can share any article/documentation which I can refer. 

    Thanks & Regards,

    Harinder Singh

  • Dear Harinder,

    We have also a dedicated section in the same ble_user_guide in your SDK, just search MCUBoot in the search docs section.

    I need to now what's kind of security you need, to explain you how to enable it more precisely (Anti rollback, image encryption, image signature...)

    Thanks and regards,

  • Dear Sir, 

    Our primary focus in OAD process is on image encryption & I need configuration details regarding it.

    Sir, when I was going through ble_user_guide, got the following details of the BTool for secura ODA (*ref. the pic. below),  from where we will get public.pem and private.pem files, from where we will get these files & how we will enable secure OAD process.

    While I was referring the similar threads for CC26xx platform, I found that more tools like a key_generate.py will be required for this but I didn't find any such file in the 6.40SDK_eng (*...ti\simplelink_cc23xx_sdk_6_40_00_21_eng\tools\common).

    Kindly share us the step by step guide to enable the secure OAD.

    Thanks & Regards,

    Harinder Singh

  • Dear Harinder,

    I had a look on the steps you need  to do  to enable the secure OAD.

    First you need to use ImageTool from Mcuboot : You can find a link to the guide here:

    https://docs.mcuboot.com/imgtool.html

    Then you'll have the steps to encrypt the image here:

    https://docs.mcuboot.com/encrypted_images.html

    regards,

  • Dear Sir,

    Thanks for your response but I am not able to understand the above two steps properly, can you please elaborate the steps in the context of CC2340R5 with Code Compressor Studio, Uniflash & BTool.

    I am able to do the basic OAD process but need detailed information regarding what changes I need to make to enable secure OAD process.

    Thanks & Regards,

    Harinder Singh

  • Hi Sir,

    MCUBoot is the secure boot loader, so that's our secure OAD option already, there isn't anything else you need to do for secure OAD.

    You can make it even more secure by encrypting your own image, unfortunately TI doesn't offer the solution for additional application encryption.

    Thanks and regards,