Other Parts Discussed in Thread: BQ27Z746, BQSTUDIO
How do I write data into the System Data of the BQ34Z100 and BQ27Z746?
I tried writing, but it was unsuccessful. Are there any additional conditions or requirements for writing?
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.
The attached image is a screenshot I captured from BQStudio.
When I attempted to write, the lower left corner displayed the message: "A read of data written failed comparison."
At the same time, I’ve also attached the data captured using a logic analyzer.
write to 0x55 ack data: 0x3E 0x3A
write to 0x55 ack data: 0x3F 0x00
write to 0x55 ack data: 0x40 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
write to 0x55 ack data: 0x60 0xEF
write to 0x55 ack data: 0x61 0x00
write to 0x55 ack data: 0x3E 0x3A
write to 0x55 ack data: 0x3F 0x00
write to 0x55 ack data: 0x40
read to 0x55 ack data: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
write to 0x55 ack data: 0x60
read to 0x55 ack data: 0xFF
This is a common mistake on bq34z100
1. Device need unseal mode.
2. Data flash cannot be written until the voltage is greater than flash update voltage.
Refer to link below