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.
Hi,
How can i know current size of image store in internal flash of CC2530 downloaded from IAR using CCDebugger.
I need to see program size of image, CRC if calculated, like info stored in OTA_CrcControl_t.
When we do OTAConverter.exe for generate .zigbee image, this header have this info inside. But for current original image store in flash of CC2530 from IAR cc-debugger directly,It doesn't have it.
For now it is CRC[0] 0x2013, and CRC[1] 0x2013 and program size 0xFFFF,
Thanks for reply.
It not for me to see size of it.
But during running of code through bootloader, it need to know size of current running flash, so it copy it to external flash for backup.
It's ok to read it during application code as well.
I was thinking any way to write current image program size and crc of it in location of flash HAL_OTA_CRC_ADDR
where OTAConverter.exe in general writes for generating .zigbee image for OTA.
But compiler in IAR dont do it.
SO, i was thinking might be some settings in IAR to enable it.
So when write image from CC-debugger to CC2530 it also write this info.
Thanks,