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.

OAD function. CC2541 - ID0899: HEX file content at address 0x3E7FF exceeds chip's 128 kB flash size

Other Parts Discussed in Thread: CC2541

Hi, 

I am trying to flash in the firmware (superhex) to enable OAD for the CC2541 using CC debugger and SmartRF Flash Programmer but I get the above mentioned error message. 

I created the BIM.hex from the sample code. And the ImageA and ImageB of sensorTag sample and created a superhex using the 3 hex files. The hex files of one image A is 349KB and the BIM.hex is 6kb. 

Please help.

Thank you  

  • Hi,

    You shouldn't get this error. 

    For me, OAD-Img A hex file is also 349 KB. 

    Can you try as follow:

    1. Load BIM.hex file to CC2541 using "Erase, Program and verify " option.

    2. Load Image A hex file to CC2541 using "Append and verify" option,

    3. Now try to load image B hex file as mentioned in 2. 

    It should work. If this works fine then you are doing something wrong when you generate super.hex. 

    Also you just need BIM and Image A, if you want to do OAD. Once system boots in Image A, try to update image B via OAD. 

    -----------------------------------------------------------------------------------------------------

    PRESS "VERIFY" BUTTON  IF YOUR QUESTION IS ANSWERED. 

  • Hi Maulik, 

    Thank you for your advise. However, I am getting this error when I load Image A hex file to CC2541 using "Append and Verify" option. 

    I am able to complete step 1 where I load the BIM.hex file using "Erase, Program and verify" option. but not step 2.

    Am I missing some configurations for my ImageA? However, on an existing sensortag I am able to use OAD using ble device monitor by sending the sensortag.bin file. 

    Thank you 

  • Hi Maulik, 

    I just realised that I am Flashing a CC2541F128 instead of a CC2541F256.

    I modified the BIM sample to use the CC2541F128.i51 and loaded it in but I'm still having the same problem. Will read on some other configurations and see if I can solve this. 

    Thank you