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.

BQ40Z60: Firmware upgrade failed : No MORE access to BQ40Z60

Part Number: BQ40Z60
Other Parts Discussed in Thread: BQSTUDIO, BQ40Z50

Hi,

I do an upgrade firmware to BQ40Z60 from .13 to .15 version.

The upgrade seems to be failed for an unknown reason.

The worst thing is that i have NO MORE access to the chip. BQ40z60 does not respond to any SMB access. The chip is not seen on any SMB address.

Do you have a rescue procedure in that case ?

Regards

Gilles

  • Hi Gilles,

    Please probe the device at addr 0x16. If you get a response, it means the device is in ROM or fw upgrade mode. You can still flash the new fw. However, you will have to manually open bqstudio and select the device before you do it as it will not auto detect.

  • Hi Batt,

    I already have made these tests without success.

    The answer (for each tentative) is an error like :  Read Block : No acknowledge from device or Write Block No acknowledge from device

    I check also on all the range of SMB address without result.

    Any idea ?

    Gilles

    PS : other PCB of the batch works correctly. This happens after a tentative of firmware upgrade

  • Hi Gilles,

    Was this manually selected or did the device open up with such an ID when you opened the software?

  • Hi Batt,

    No, it's not manually select

    It appears when BQstudio start and display the bad ID.

    But after 3 or 5 seconds, the ID disappear and the left column show nothing (same as no device detect)

    Regards

    Gilles

  • Hi Gilles,

    Can you please try it with having voltage on both cell and the pack side? It may be that it is shutting down due to ACFET not being present.

  • Hello,

    I try it with having voltage on both cell and the pack side. NO CHANGE

    It seems that it's like the firmware is corrupted.No more access to the chip.

    Alternate question (NOT relative to above) : why the register AC adapter voltage does not show the correct voltage (19000mV in my case)

    It show a value around 16000mV

    And how can read it. I don't find in the BQ40z60 guide

    Gilles

  • There is a drop across the 10k and the ACFET. That's why you aren't seeing the voltage. Besides, the charger regulates the voltage at ACP.

    Please try to reprogram the device. Also make sure that when you power up the gauge GND is always connected first. This prevents fw corruption.

  • Batt,

    Remember I cannot access to the chip so I cannot redo the firmware upgrade ! No answer to a ping

    Gilles

  • Hi Batt,

    Once again, this morning I got a second board with NO MORE ACCESS to the BQ40z60.

    This NOT append after a firmware upgrade.

    To do a small rework on a board (change resistor for LED driver), I dismount the board from my system and I unplug the battery pack.

    I do my rework then I plug the battery and connect BQstudio to see registers.

    Again, the chip is no more seen by BQstudio. No firmware version displayed, no I/O reg displayed. No possibility to access to the chip. and obviously no charging process ON.

    I do lots of retries, with or without system power on.

    It seems like a firmware corruption.

    So i ask you again if there is a procedure to reset all the chip if the firmware is corrupted ?

    I have to deliver 60 prototypes next week and I have no idea if your BQ40z60 system can be reliable and scalable for us.

    Hope you can help.

    Regards

    Gilles

  • Hi Gilles,

    Fw corruption can occur if GND is not connected first to the device. Normally this is seen as dataflash corruption. If instruction flagh is corrupted then you can't recover the device. The bq40z60 has been used for many years now. However, due to layout and design sensitivities we suggest using the bq40z50 and a dedicated charger for people with less experience with gauges.