Hi,
I'm using BQ34Z100-G1 with firmware version 0x0016, hardware version 0x0008.
I tried to set manufacturer info (subclass: 0x3A) of data flash, and I followed below steps:
1. Set BlockDataControl() (0x61) to 0x00
2. Set DataFlashClass() (0x3E) to 0x3A
3. Set DataFlashBlock() (0x3F) to 0x00
4. Set BlockData() from 0x40 to 0x42, 0x40 = 0x01, 0x41 = 0x02, 0x42 = 0x03
5. Read BlockData() from 0x40 to 0x42, get 0x01, 0x02, 0x03
6. Set BlockDataChecksum() (0x60) to 0xFF-(0x00+0x02+0x03)=0xF9
7. Read BlockDataChecksum() and I found out that checksum didn't update to 0xF9
8. Reset chip, set Control() (0x00/0x01) to 0x41/0x00
9. Repeat step 1 ~ 3 and read BlockData() from 0x40 to 0x42 -> not update to 0x01 0x02 0x03
I'd already checked the RESET_DATA subcommand of Control() to check whether the chip was reset or not and also checked CONTROL_STATUS to make sure that the checksum had been generated (CSV bit).
What else do I miss to write manufacturer info to data flash?
Thank you in advance.
Ian