Tool/software: Code Composer Studio
Hello,
We had a strange problem with the power consumption with one of our low power devices. When we make OTA from older version to newer, the sleep current raised to 2mA, but when we burn the new version directly from CCS, the sleep current is what it should be – 2uA. After looking into the problem it turned out to be that the ccfg was different when burned from CCS.
This is the flash layout of our device:
Bootloader |
Bank 1 |
Bank 2 |
NVS |
ccfg |
We’ve noticed that different optimization levels produce different ccfg. This is a problem for us, since we only update the banks.
Is there a way to make ccfg part of the application (bank 1 and bank 2), so that when we make OTA it will be updated as well?
Is there a way to guarantee that ccfg will remain unchanged?
Thank you.