Other Parts Discussed in Thread: BQSTUDIO, EV2400
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.
It is possible that the image is corrupted as it gave a 'packet checksum mismatch error' when creating however the pop up said successfully created golden image file.
How do I program the default srec if bqStudio can no longer communicate with the gauge?
Here is another possible reason:
During flash programming the gauge will require short bursts of high current up to tens of milli-amperes, while normal current is in the micro-ampere range. Anything that could limit the current spikes during the programming could cause failure of the programming. This includes current compliance of power supplies, slow response time of power supplies, or inductance possibly due to long cables.
I've reproduced similar flash programming failures using a source measurement unit where the current compliance was set to 100mA but the meter was set to autorange. The meter function of the SMU was actually limiting the current when it couldn't switch fast enough from the uA to mA range which the gauge needed for milliseconds at a time. By setting the meter to manual range at a higher limit it would program fine.
I tried to program another board with my golden image again today and am still experiencing this IC failure after the fact. See detailed steps I followed below:
0) I am using the TI bqStudio software and a .srec golden image file. I am also using the EV2400. I am supplying 3V3 to the board from a bench supply with 1A current limit. Note, TEC, I only saw the current rise to 2mA.
1) Pluged in new a pc board with this fuel gauge on it. Note when plugged into the EV2400 and bqStudio is running there is good communication between the board and software.
2) In the "Programming" tab I upload the golden image file that was made in-house with another fuel gauge on the same PC board design. Pressed 'Program'.
3) The progress bar displayed the flashing process and reported successful completion after about 60 seconds.
4) Went to the 'Registers' tab and pressed refresh to see if any values changed. This did not work, the software reported a 'No Acknowledge from device'.
5) Power cycled the device and still no acknowledge.
I have not been able to communicate with the device over I2C ever since.
I am using a complete TI tool chain - how did I crash the IC from loading this golden image onto it? Is there a mistake in my process? Please advise.