I am running the optimization cycle now for bq34z110 gauge to work with 12 V 7200 mAh Lead Acid battery. The optimization is a long process and there may be errors during it.
I'd like to write some SENC images between optimization steps to have a backup. Then I'd be able to continue optimization from intermediate point. But to write SENC means stopping the code execution inside the gauge (losing it's RAM contents I believe), and to restore SENC means gauge will not have the same RAM contents as the original instance.
My questions are:
1. Is it OK for optimization to stop and start gauge firmware somewhere during the optimization? Say after step 5 of Optimization Cycle (after Update Status is updated with 5).
2. Is it OK for optimization to be started somewhere in the middle of the optimization routine after restoring firmware image from SENC?