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: How to write Golden Image File without bqStudio

Part Number: BQ40Z80
Other Parts Discussed in Thread: BQSTUDIO

Hello

I am not very good at English, so I apologize in advance.

I want to know how to write Golden Image File to bq40z80 through the MCU without using bqStudio.

I created a Golden Image File and it is written through the MCU.

But there is an area in 0x4000 to 0x5FFF that cannot be written by the ManufacturerBlockAccess() by addressing the physical address.

Addresses 0x5E80 to 0x5EC8 are different between our Golden Image File and the initial value, and the values cannot be written by the ManufacturerBlockAccess().

Could you tell me how to write to this area?

The threads below say to put it in ROM mode and update the FW, but I didn't know how to update the FW without using bqStudio.

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1009196/bq40z80-bq40z80-programming-through-mcu/3730491?tisearch=e2e-sitesearch&keymatch=golden%2520bq40z80#3730491

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/843649/bq40z80-production-programming-of-golden-file

Best regards, masami

  • Hello

    What error do you get?

  • Hello, Shirish

    Thank you for your response!

    After that, referring to the communication process of bqStudio, I made a write process in ROM mode. And It seems I succeeded in writing to 0x5E80-0x5EC8.

    Could you please check if the sbs commands in my process are correct? I will send the sbs commands by e-mail.

    -----------------

    By the way, the initial problem was:

    I wrote a golden image to bq40z80 by sending the ManufacturerBlockAccess() 0x4000-5FFF.

    Then I read Firmware(including 0x4000-5FFF) with bqStudio's Program tab.

    Then I noticed the value of 0x5E80-0x5EC8 was still bq40z80_v0_04_build_5.srec instead of the golden image.

    I tried the above several times and the result was the same.

    Best regards, masami