Spaces:
Runtime error
Runtime error
BQ28Z610: Unable to write MAC 0x004C Manufacturer Name | |
Part Number: BQ28Z610 I am able to write to the Serial Number MAC (0x004E) successfully, but am unable to use the same procedure to write to the Manufacturer Name MAC (0x004C). Both regs are listed as R/W, available unsealed, the device is unsealed however. Successful write to 0x004E: Advanced Comm Transaction Log RW Addr Reg Len Data Wr , aa , 3E , 02 , 4E 00 // Set address and read 36 bytes. Rd , aa , 3E , 36 , 4E 00 EA 02 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 C5 06 Wr , aa , 3E , 04 , 4E 00 EA 03 // Change the 2nd byte of the serial number to 0x03 and write it. Wr , aa , 60 , 02 , C4 06 // Write the checksum and length. Wr , aa , 3E , 02 , 4E 00 // Read back 36 bytes and see the 2nd SNum byte has changed to 0x03. Rd , aa , 3E , 36 , 4E 00 EA 03 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 C4 06 Unsuccessful write to 0x004C: Advanced Comm Transaction Log RW Addr Reg Len Data Wr , aa , 3E , 02 , 4C 00 // Set address and read 36 bytes. Rd , aa , 3E , 36 , 4C 00 42 30 31 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 10 07 Wr , aa , 3E , 05 , 4C 00 42 32 31 // Change the 2nd byte of the MFG Name to 0x32 and write it. Wr , aa , 60 , 02 , 0E 07 // Write the checksum and length. Wr , aa , 3E , 02 , 4C 00 // Read back 36 bytes and note the 2nd byte has remains at 0x30. Rd , aa , 3E , 36 , 4C 00 42 30 31 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 10 07 Is there something I am missing in the process with respect to writing string vs numeric data? I have tried 21 bytes with no success as well (field is S21). | |
Hi John, Try to write to the Manufacturer Name in the data flash directly. The slides below how to update the data flash in detail. BQ28z610 Data Flash - Device Name.pdf Andy | |