Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hello,
I am encountering an issue related to saving a voltage offset in a flash area that is locked with DCSM.
I have included DCSM_claimZoneSemaphore(DCSM_FLSEM_ZONE1);
in the main function before initializing the flash API.
However, I am experiencing inconsistencies in how the voltage offset is retained across different programming and power cycles.
Specifically, I have observed the following behavior:
- When downloading the code via CCS using the debug button and executing it once with the run button, the voltage offset is correctly saved in the flash area.
- If I download the code through CCS, but do not execute it before turning off the power and turning it back on, the voltage offset does not persist indefinitely.
- When programming through Uniflash, the voltage offset does not persist indefinitely.
I would appreciate any insights into what might be causing this discrepancy and how I can ensure the voltage offset is reliably stored under all scenarios.
Thank you for your time and assistance.
Best regards,
Min Oh