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.

BQ27220: NAK error while programming OTP of BQ27220

Part Number: BQ27220
Other Parts Discussed in Thread: BQSTUDIO, , EV2400

Hi, 

We are using bq27220 in our project.We have created golden image via BqStudio and EV2400 when I am trying to flash the same into OTP of gauge SmartFlash is showing error that "NAK on i2c write" (attaching the SmartFlash logs).

But we are able to communicate with gauge via I2C through Bqstudio and EV2400.
Please assist on the above issue
15-11-2017 13:03:58 >> SmartFlash v0.9.3
15-11-2017 13:04:22 >> Open FS File: D:\New folder\HHIU_SHSC\Golden image\0220_0_03-bq27220.ot.fs
15-11-2017 13:04:22 >> FileTarget: 220 v0.03
15-11-2017 13:04:29 >> Target Gauge: 220 v0.03
15-11-2017 13:04:29 >> Programming Gauge...
15-11-2017 13:04:30 >> ERROR: Received NAK 14 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 15 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 17 - NAK received.
15-11-2017 13:04:30 >> ERROR: Cannot parse FS data in line 18 - Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
15-11-2017 13:04:30 >> ERROR: Received NAK 19 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 21 - NAK received.
15-11-2017 13:04:30 >> ERROR: Received NAK 22 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 23 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 25 - NAK received.
15-11-2017 13:04:30 >> ERROR: Received NAK 26 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 27 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 29 - NAK received.
15-11-2017 13:04:30 >> ERROR: Received NAK 30 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 31 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 33 - NAK received.
15-11-2017 13:04:30 >> ERROR: Received NAK 34 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 35 - NAK received on I2C Write.
15-11-2017 13:04:30 >> ERROR: Received NAK 37 - NAK received.
15-11-2017 13:04:37 >> ERROR: Received NAK 44 - NAK received on I2C Write.
15-11-2017 13:04:37 >> ERROR: Received NAK 45 - NAK received on I2C Write.
15-11-2017 13:04:43 >> ERROR: Received NAK 51 - NAK received.
15-11-2017 13:04:43 >> ERROR: Received NAK 52 - NAK received on I2C Write.
15-11-2017 13:04:43 >> ERROR: Received NAK 53 - NAK received on I2C Write.
15-11-2017 13:04:43 >> ERROR: Received NAK 55 - NAK received.
15-11-2017 13:04:43 >> ERROR: Received NAK 59 - NAK received on I2C Write.
15-11-2017 13:04:43 >> ERROR: Received NAK 60 - NAK received on I2C Write.
15-11-2017 13:04:47 >> ERROR: Programming failed!
  • hi Kasket
    After extraction of your flashstream files, were you able to still communicate with the guage? At what point did the gauge stop commucating? What is the set up for programming your OTP. Can you describe? Are you following the instructions for OTP programming as listed in the TRM?

    thanks
    Onyx
  • Hi Onyx,

    I am using EV2400 and SmartFlash is also detecting gauge but when I am trying to flash .ot.fs, it is failing.

    In logs it is showing NAK after I2C write operation).

    We have made setup to target board and EV2400 as mentioned in TRM  and i am following each and every step defined in TRM for flashing .OTFS file.