Tool/software:
I have a custom board with BQ34Z100-G1 gauge. I did the learning cycle and created the golden image. I have several batteries (all the exact same model), and for testing purpose and other reasons I often remove all the batteries (no more power to the fuel gauge) and reconnect/replace them.
What I notice is that the fuel gauge seems to lose memory when it lose power. After reconnecting the batteries, from BMS software I see correct measurements of voltage/current, but the capacity is always 0%. I then proceed to rewrite the golden image, and it starts tracking the batteries capacity correctly.
Is this the normal behavior? The golden image needs to be rewritten after battery change?
Since I can't access with I2C externally (i.e. from BMS) once my system is fully assembled, it is quite inconvenient for me to disassemble everything to be able to reprogram the Golden Image, and then reassemble it.
At least, is there a way to write the Golden Image from Linux? I have a custom Linux OS that loads the bq27xxx driver and correctly talks with the gauge (read voltage, current, capacity, ...). Can i use the driver to write the Golden Image?
Thanks