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.

RTOS/CC1310: Basic Questions to understand about OAD in CC1310

Part Number: CC1310
Other Parts Discussed in Thread: CC2538

Tool/software: TI-RTOS

Hello,

        We have a couple of questions to clarify things and also understanding about the OAD process in CC1310. Those are

1. When we program .hex file from CCS or SmartRF Programmer 2, whether it will program in internal flash memory or external flash memory? How do we know? 

2. We read in technical reference manual that BIM will be present in internal flash, But Do we have to develop that BIM and program into internal flash or Which was already present in internal flash memory? If we need to develop, How do we do that for CC1310?

3. We have seen sensor_oad application for sensor module to program through OAD. But Is there any collector application for collector module to program through OAD?

Regards,

Harsha

  • 1. Hex file would be programmed into internal flash.
    2. BIM is provided by TI and you can find it at dev.ti.com/.../
    3. collector usually be updated through serial boot loader.
  • Thank you for the quick reply.

    1. Do we need to program that BIM or which was already present in internal flash? If it is already present in internal flash, when we program .hex file through CCS or Smart RF programmer 2, Does BIM gets erased?

    2. "collector usually be updated through serial boot loader" Does it mean that updating through CCS or Smart RF programmer? If not, Can you please refer any document for "updating through serial boot loader" for collector application.

    Regards,

    Harsha

  • 1. You have to program BIM by yourself and when you download hex file with Flash Programmer 2, when have to uncheck erase flash to preserve BIM.
    2. Try to refer to www.ti.com/.../swra466a.pdf
  • Hi YiKai Chen,
    Thank you so much YiKai Chen for quick responses.
    1. If we want to do program application through CCS, then how can we preserve the BIM?

    2. We just want to make a conclusion on OAD. So, please check the below procedure for updating sensor_OAD through OAD
    i. Erase everything in Flash and First Program the BIM through CCS or smart RF programmer 2.
    ii. Then program the "sensor_oad.hex" through Smart RF programmer 2 by unchecking the erase flash.
    iii. Then perform the OAD in collector example of linux PC platform.
    Can you please tell, whether above procedure is right? If it is right, updated one through OAD(from linux PC) will be storing in external flash
    right?So, internal flash has one sensor_oad.hex and external flash also has sensor_oad.bin, then the BIM will execute which one?

    3. When we update multiple times through OAD(using linux PC platform), the new .bin file overwrite the old .bin file in external flash? or new .bin file will erase the external flash and program itself?

    Please help us, we really stuck very badly

    Regards,
    Harsha
  • 1. If you download application from CCS, BIM won’t be erased.
    2&3. If I remember correctly, sensor_oad.hex already contains BIM and you don’t have to download BIM again. Actually, BIM would move sensor_oad.bin from external flash to internal flash to replace original binary.
  • Hi Hi YiKai Chen,
    Oh it would be great to hear that sensor_oad.bin has the BIM.

    1. If we want to develop any sensor- collector based applications, We have to develop in sensor_oad project only to update through OAD right?
    (what i mean is sensor project, we cannot use it for OAD. am I right?)
    2. TI- RTOS will be already present in ROM/internal Flash? or when we program application, it will get programmed as part of the application?

    Regards,
    Harsha
  • 1. If you mean to do sensor OAD, you should do your application based on sensor_oad example.
    2. TI RTOS will be programmed as part of the application and is on internal flash.
  • Hi YiKai Chen,
    Thank you so much for the information, and it will really helpful to my understanding
    1. Boot loader and BIM are same?
    2. www.ti.com/.../swra466a.pdf , I read this document, it's only for CC2538/ CC26xx or else it also can be useful for CC1310 for serial boot loader(SBL)?

    Regards,
    Harsha
  • 1. Not exactly, you can refer to BIM details at dev.ti.com/.../bim.html
    2. CC13xx Serial bootloader is the same as CC26XX.
  • The boot loader is already present in CC1310 or we need to program externally? If we need to program externally, Where can we find the .hex/.bin file or source code?

    Regards,
    Harsha
  • Serial boot loader is a ROM code inside CC1310.
  • So, we don't need to bother about boot loader, because which is already present in ROM right??

    we really appreciate you for the support u gave. once again Thank you so much

    Regards,
    Harsha
  • If you mean to ask serial boot loader, it’s inside ROM by default. However, you will still need BIM when doing OTA.
  • You can also look at dev.ti.com/.../overview.html to give you an intruduction. The SLA is BLE centric but the concepts are still valid for CC1310.