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.

BQ34Z100-G1: Golden image Execute firmware: Failed to execute firmware - no acknowledge from device

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: BQSTUDIO

Hi. I tried to install .srec file to the bq34z100-g1. It succeeds with downloading it but fails with to execute. When ever I press the "Execute FW" it shows Failed to execute firmware - no acknowledge from device.

I noticed that parameters in data memory have changed anyway.

any advice? Did the fw execution happened or not?

BTW. Can someone please explain major difference between .gg and .screc files? I have been using .gg files to copy battery pack parameters all the time, but now when we start production it seems like I will be using .screc files.

 

Best regards,

Karlis Tucs

  • The bq34z100-G1 uses I2C address AA when in Normal mode and I2C address 16 when in ROM mode. You can try reading register 00 using each of these addresses and see if one of them acknowledges. That will indicate which mode the gauge is in. You can check the external thermistor with an oscilloscope to see whether the firmware is running. It should pulse every 1s. If the Execute button does not return the gauge to Normal mode, then try removing and reconnecting the battery. This will power-up reset the device.

    The srec file is a Motorola SREC format file that contains the full flash memory and the gg file is a text file that has to be parsed through bqStudio to program parameters that the user can change. The two best ways to update a device in production are:

    1) Use bqHiCellProduction and update the flash memory using the golden srec file.

    2) Export a df.fs file from bqStudio and program this file to the device using your tools. The df.fs file contains all of the commands and data to update the data flash memory.

  • Thanks for reply.
    So the device is in Normal mode because I see in BqStudio the address is AA. I checked it in the way you described too, it ACKed 0xAA and not 0x16.
    Actually I did not see the pulses, but when I heated the thermistor a bit there was temperature change in the Bqstudio screen.

    I tried to remove the battery and reconect but FW execute button still shows "Failed to execute firmware - no acknowledge from device"

    I guess the FW is running ?

    Where can I get this bqHiCellProduction ? I did not find the download link and noticed that Thomas Cosby in some other thread was sending the download link privately to some guy.
  • The bqHiProduction setup program can be downloaded from the bq34z100-G1 website now. If the gauge is reporting parameters, then the firmware must be running. Maybe you have the internal temp sensor selected and this is why the thermistor is not pulsing. Can you provide a screenshot of the bqStudio screen and a gg file from the device. That may provide some clues.

  • Hi. 

    I guess I'm just stupid and can't seem to capture these pulses with oscilloscope.

    The external temperature measurements are working because, I put something hot next to thermistor and saw immediate temperature increase in Bqstudio window.

    I think I will test now is the fuel gauge working properly by doing full discharge/charge cycle. Anyway, here is the GG file and screen from Bqstudio. I will report back if the fuel gauge is working or not.

    uzkopeta golden faila neierakstitas fw gg fails.gg.rar

  • The screen looks like the like the gauge is running. I checked your gg file and it looks okay as well. The RM looks low for a 3475mV cell voltage. What ChemID are you using? You can try setting the Avg I Last Run to -200mA in the data flash and reset the device to see whether it shows any capacity. The lighter current will allow more capacity and the reset will force a simulation.
  • Thanks for reply. I will have to stop the process now for a bit, because it seems like one of the cells in the pack has failed.
    What do you mean by RM? Sorry for stupid question.
    Chem Id is 2017.
    The capacity of pack it self is actually 4times more than shown. The current measured actually is 4 times higher. But that's ok because if i remember correctly this gauge could not be used with that high capacity. Anyway this golden file was exported from battery pack that works well so it should run without problems, I just did not know how to install this golden file in brand new bq34z100-g1 and make it run. But thanks to you I guess I succeed. I still have to check if gauging is working, but I will have to wait for that because of the cell failure.