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.

EV2400: not reading Flash data

Part Number: EV2400
Other Parts Discussed in Thread: BQ20Z65, , BQEVSW, BQSTUDIO, BQ20Z65-R1

I have a EV2400 connected to a battery pack that uses the BQ20Z65 fuel gauge. I'm having no luck displaying the Data Flash.

I've tried bqEVSW 0.9.64 which dispays SBS data but not Flash. A "read all" terminates with "The USB connection is busy! Failed communication!"

Using the  slightly different bq2084 1.3.0 I get the same results with SBS data reading fine, but not Flash. This time the error message is "9 Subscript out of range Eror in Read WriteFalshConstant"

Lastly I tried the Battery Management Studio but my device is detected as 650_1_05 which is not supported by the SW. Bypassing this with selecting a different device, I am able to read some data, but again when accessing flash I get "Operation failed because initial read of all data flash failed"

What am I doing wrong?

  • Hi Niels,
    It sounds like SBS reads are generally correct (at least the standard SBS registers), but you cannot read dataflash, correct? If so then it sounds like you likely have already installed the support components required to make the old EVSW and other tools work with newer 64-bit Windows:
    www.ti.com/.../sluc291

    Every device and even every different firmware version of a particular device will have different mapping of dataflash, so you must run the correct version of EVSW to be able to successfully read dataflash. Also note that you must be sure the gauge is unsealed or else reading dataflash will fail. For example, if your EVSW only had bq20z65 in the list, but you are trying to talk to a bq20z65-R1 device, it would not be compatible. Can you send some screenshots of the picklist that shows up when you launch EVSW? Does it usually autodetect your bq20z65-R1 and go straight to the DataRAM screen without you having to select anything? Since bqStudio reportd 650_1_05 it appears that you are using bq20z65-R1 v1.05.
  • So I reinstalled the bqEVSW with the latest on the bq20z65R1 page. Reinstalled the support components. As before, it goes straight into the dataRam screen withou having to select anything. SBS data is being read without an issue. Data flash creates the attached message.

    The status line also shows the slightly more readable "No Acknowledge: VB_T2H_NACK"

    I think I read somewhere that the device might be

  • ... might be locked, but I can't figure out where that would be indicated in the SW.
  • If it goes straight to the SBS screen and RAM can be read normally then it sounds like autodetect is working. Typically you get an error reading dataflash when the gauge is in SEALED mode, because Data Flash reading is blocked when sealed. What are the values of these status bits in RAM? SBS:OperationStatus(0x54)[SS],[FAS]
    Can you also attach a screenshot of the SBS screen after a successful read?