Other Parts Discussed in Thread: BQSTUDIO
Hello, guys!
I managed to flash a bq.fs image from Linux to BQ28Z610 by using these components:
- A modified bqz file that enables Golden Image generation for v0.20 (sent to me in a PM)
- i2c-flashstream Perl script to transform bqfs to a C header file
- tibms Github repo with the bq28z610 driver
I had conducted a series of experiments w/o bumping into any issues until, well, I did. This was due to some I2C noise on the line.This led to the gauge responding on ROM mode address (0x0b).
It NAK's all reads and writes on this address, though. bqStudio also cannot help in this situation. On a Logic analyser log I see a series of NAKs from 0x16 (0x0b << 1).
I'm wondering how can I recover the device from this state.
Sending 0x0x 0x11 to 0x0b to exit the ROM mode doesn't work as I said above. SMBUS recovery using a bq24xxx.bqz and "Advanced SMBUS communication tab" described in another post on this forum also fails.
As the device still responds on 0x0b I think that there's something left to try before admitting that this is a lost cause and soldering a new gauge.