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.

BQ40Z80: Failed to start after data memory changed.

Part Number: BQ40Z80
Other Parts Discussed in Thread: BQSTUDIO

Hello,

I have been working on an external battery pack with BQ40z80. I was setting up the parameters in the data memory and the device went into shutdown mode.
I am not able to re-establish a connection with the pack using the BQStudio to reupdate the data memory or re-program the firmware.

Battery pack configuration 1P4S (1100mAh @ 13.6V) LiFePo4 chemistry.


I checked using an oscilloscope PBI and PACK pin. 
Pack pin is working fine, PBI is getting set to around 9V. 
DSG FET is not being enabled. 

My first guess: Shutdown Voltage > Valid update Voltage (by mistake i set the Shutdown voltage to 8000mV)
In case the data memory parameters are casing the immediate shutdown is there a way to recover the normal operation of the device? 

  • Hi Hussein,

    Have you tried using a power supply with higher voltage and then reprogram the device?

  • Yes, I have tried doing that but still, the IC is not responding from the BQStudio. 
    When I try to program a new firmware I am getting the error message "Device, not in rom mode ... Manually enter rom mode before programming".

    The problem is occurring on two boards. 3 other boards are working normally. 

    Can i do something to force the IC to start? 

  • As an update, I read on other threads in the E2E forum they suggested sending 0x08 CMD to the device which i could successfully execute and i then read 0x0D word with a result 0x00,  which as i read means that the firmware is running!

    I think that since the device is responding to the commands then it is not died !.

  • The device was stuck in firmware mode , or the firmware was broken.
    i was able to solve the issue by following this:

    "put your device in ROM mode by sending 0x0F00 to 0x00. You can check if the device is in ROM mode by querying it again at address 16, it will return 0x1717 or by sending command 0x0d where it will return a non zero value.

    Also, if your SEC1,SEC0 are 10, then you are in unsealed mode, not full access, full access is 01."