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.

BQ34Z100: Datamemory change failed

Part Number: BQ34Z100
Other Parts Discussed in Thread: BQSTUDIO

Tool/software:

Related to a thread two month ago. 

Trying to modify ManufactuereDate and SerialNumber in SubclassID 48. 

R: AA 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
;DesignVo^^ ^^|          |          |          |          |          |
;ManfactDate   | ^^ ^^ |          |          |          |          |
;SerialNumber             |^^ ^^ |          |          |          |
;CycleCount                          |^^ ^^  |          |          |
;CC Threshold                                 |^^ ^^  |          |
;Max Error Limit                                          |^^ ^^  |
;Design Capacity
;Design Energy
;SOH Load I
;Cell Charge Voltage T1-T2

... 

Followed the Guide from this document section 2.4 https://www.ti.com/lit/an/slua790/slua790.pdf?ts=1748347165886&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FBQ34Z100-G1#%5B%7B%22num%22%3A47%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C0%2C369.7%2C0%5D 

I did this...

... but didn't got a successfull change. 

To show the device is in unsealed mode and Update Voltage is fine:

Can somebody explain, why my data flash process is not working. 

  • Hi,

    How did you calculate your checksum?

    Regards,

    Diego

  • You are the expert. 

    "Add the bytes of data in hexadecimal and inverse the bits on the last byte to find the checksum."

    Data: 0E 10 F7 5A 01 00 00 01 13 24 64 19 C8 09 48 F7 04 10 68 10 68 10 68 32 32 32 00 0A 2D 37 01

    CheckSum = 0xFF - (0x0E + 0x10 + 0xF7 + 0x5A + 0x01 + 0x00 + 0x00 + 0x01 + 0x13 + 0x24 + 0x64 + 0x19 + 0xC8 + 0x09 + 0x48 + 0xF7 + 0x04 + 0x10 + 0x68 + 0x10 + 0x68 + 0x10 + 0x68 + 0x32 + 0x32 + 0x32 + 0x00 + 0x0A + 0x2D + 0x37 + 0x01) AND 0xFF

    = 0xFF - (0x6A6) AND 0xFF

    = 0xFF - 0xA6

    = 0x59

  • Hi,

    Your process appears incorrect.

    Regards,

    Diego

  • I can see that you're also reviewing the same documents available to me and arriving at the same conclusions.
    Perhaps it would be helpful to escalate this thread to someone with more specific expertise in the matter.

  • Hi,

    Here are my steps.

    Regards,

    Diego

  • Ok Expert Diego, 

    I found the issue.

    Offset counter and the parameter between the Data Memory what the bqStudio shows and the Data Flash Summary of the BQ34Z100-R2 datasheet doesn't match! 

    I followerd the datasheet table so my last byte was the "Design Energy Scale" parameter before the String of Device Name on the "2nd page" starts. 
    In reality there are "Scale Volt Scale" and "Curr Scale" except of "Design Energy Scale". 

    It is reloved by adding the last missing byte for "Curr Scale". "Design Energy" and "Scale Volt Scale" are both 0x01 so no change to the byte before. 

    W: AA 61 00 
    X: 10 
    W: AA 3E 30
    X: 10
    W: AA 3F 00
    X: 10
    W: AA 40 0E 10 F7 5A 01 00 00 01 13 24 64 19 C8 09 48 F7 04 10 68 10 68 10 68 32 32 32 00 0A 2D 37 01 01
    X: 10
    W: AA 60 58 
    X: 10

    So it works.