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.

CC1350STK: How to find from the HEX file if serial bootloader (SBL) is enabled.

Part Number: CC1350STK
Other Parts Discussed in Thread: CC1350, UNIFLASH

Hi all,

I am creating a sensor network with 450 nodes.

I have a facility to flash them over serial, the CC1350 sensortags I am using have a carier board to put them on serial bootloader mode.

for this happen after every flash, we need the CCFG to be correctly configured for the right GPIO to be checked and the bootloader should be enabled.

I have management software where I would like to check on the hex file the user provides to see if the serial bootloader is enabled with the right GPIO and level.

is there any documentation to do this in a nice way?

i have been analysing some hex files from CCS - gcc compiler and the contiki produced hex file.

there are some differences to start with, therefore, any help would be appreciated to point me in the right direction.

_aswin

  • #ak rv,

    If the CCFG was set up correctly to enable the serial bootloader, you should see a 0xc5 at 0x57fd8 (Bootloader configuration).

    See section 9.1.1.13 in the CC1350 Technical Reference Manual.

    BR,

    Seong

  • Thank you very much, that was a good point to start.

    I am using the uniflash utility to read the memory map.

    I am able to find the config that I set up on the CCFG.

    I used a hex viewer and tried to check for the same keyword (32-bit hex value) that I found also on the memory map browser.

    I found the same keyword.

    Just for confirmation, is it always on the same place of the hex file or it depends on the program and I have look for certain keys that say it is the start of CCFG register map?

    until now, I found only one existence in text search at the same line number for the BL_ENABLE keyword. it might be possible on a different program that the same keyword is present.