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.

bq40z50 No communication with bqStudio after firmware update

Other Parts Discussed in Thread: BQ40Z50, BQSTUDIO

Hello

I have some issues with the firmware update of an bq40z50. I did the learning cycle and export the Srec-file in order to update another 40 samples.
I select the Srec-file (which is located on a server) and push "Program" button in bqStudio (Execute after programming was checked).
This works fine for the first three samples. At the fourth sample the update process stopped after a short time. From then on the sample is not longer reachable. bqStudio reports two errors:

1. No acknowledge from device (this error is displayed all time)
2. Packet checksum mismatch (this error is displayed only a few milliseconds)

The next 3 samples got the same issue.

I suspect, bad network connection while downloading the Srec-file from the server is responsible for the issue. Can anyone provide detailed information about the firmware update process?

Is there any possibility to reanimate the 3 broken samples? Maybe a kind of hard reset?

Thanks

Patrick

  • Patrick

    The gauge should still be in ROM mode, if the firmware did not load properly. You should be able to press the Program button again and reload the srec. You can check to see whether the device is in ROM mode from the Advance Comm SMB screen and Read Word 0D. If the device returns a 9002, then it is in ROM mode.

    If it is not in ROM mode or if the srec will not load, then the device is probably not recoverable. You could try removing and reattaching cells to see if it will return=to ROM mode, but there is no guarantee.

    Tom

  • Hi Tom,

    thanks for quick response.


    Yes, the gauge is still in ROM mode.

    I tried to reload the srec without success.
    First try: My own srec.
    Second try : The default srec file from one of your previously posts.
    e2e.ti.com/.../348198

    bqStudio reports :
    Program Srec: Data flash checksum calculated from srec does not match checksum returned from device after programming.

    Any ideas?

    Patrick
  • Will bqStudio allow you to export an srec from the device? I could check that srec to see if I can find any problems. Also, send the srec that you are loading into the devices and I will check it for corruption.
  • Yes, I can export the srec.

    20150730_broken_firmware.srec --> exported srec from device

    20150727_customize_firmware.srec --> my own srec

    bq40z50_v0_12_build_24.srec --> default firmware

    Thanks

    Patrick

    7041.firmware.zip

  • I was able load the "customize_firmware" srec and there is an Open Cell PF. This may be causing the problem and I cleared it and disabled this fault in the attached file. I also tried loading the "broken" srec and the instruction flash memory is missing. You can try loading the attached srec to see if you can recover the device. Otherwise, they are not recoverable and will need to be replaced. Do not use your "customize_firmware" srec as it can cause problems. You are using a 2S configuration. Are VC3 and VC4 connected to VC3 on your PCB?

    20150727_customize_firmware OPNCELL off.srec

  • Thanks a lot, Tom.

    With the "20150727_customize_firmware OPNCELL off" srec everything works fine.