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.

CCS/BQ40Z80: 07_How to update battery pack firmware

Part Number: BQ40Z80
Other Parts Discussed in Thread: BQSTUDIO,

Tool/software: Code Composer Studio

see document: 07_How to update battery pack firmware

                                      8372.07_How to update battery pack firmware.docx

 

 

Here is the text of the file

How to update battery pack firmware

 

1 Circuit board

 

1.1: Evaluation board bq40z80evm-020, bms020b, hereinafter referred to as EVM

 

1.2: Circuit board BP, hereinafter referred to as BP

 

U3 model in the figure is bq40z80rsmt

 

2 Before and after firmware update

 

bqStudio Version No:BatteryManagementStudio-1.3.92

 

For the new chip (BQ40Z80RSMR), restarting bqStudio after firmware installation will automatically identify the firmware and automatically establish communication

 

3 bqStudio establish firmware process

 

Firmware prompt after update:

 

Program Srec: Packet checksum mismatch.

 

  • Hello Jinyi,

    I will check with someone in the team and we will get back to you.

    Best Regards,

    Luis Hernandez Salomon

  • Hello Jinyi,

    I consulted with someone in the team.

    Your BQ40Z80 might not be receiving the minimum amount of voltage/current required to update the firmware. According to the Technical Reference(Section 19.6.1), the minimum stack voltage required for a valid voltage update is 3500mV. During flash writes, the BQ40Z80 draws a bit more current.

    If at any moment it drops below 3500mV, it will cause the error you are getting. I would suggest to check the wiring in your board and that the battery stack is providing enough voltage to the BQ40Z80.

    Best Regards,

    Luis Hernandez Salomon

  • 1

    When the Read All button is executed in Data Memory, there are two error messages:

     

    Error message 1:Operation failed because initial read of all data flash failed

     

    Error message 2:Device is sealed. No access to memory. Scroll to bottom of Commands windows on the right and use “Unseal”and then“Unseal_Full_Access”Bottons to change state to Full Access.

    See part A1 of document 0701

    0701.docx

     

    2

    Execute the Program in Firmware, occasionally with the following error message:

     

    Device not in Rom mode … Manually enter ROM mode before programming …

    See part A2 of document 0701

     0701.docx

    3

    Execute command “Unseal”and then “Unseal_Full_Access” unable to access ROM. But when you execute the seal command, the dashboard is valid

    How to set the command correctly to make it effective

     

    4

    How to start the internal ROM outside bq40z80, or how to increase the starting voltage outside bq40z80 to realize the normal operation of ROM

  • Go to the Register widows, take a screenshot of the bqStudio and share it with us?

    Andy

  • Register widows and screenshot of the bqStudio,Reply on Monday

  • 1

    Register widows and screenshot of the bqStudio,See document:01_Register widows and screenshot

    01_Register widows and screenshot.docx

    2
    Problems mentioned in previous application cases, such as the minimum starting voltage of ROM is 3.5V, according to the data (bq40z80,SLUSBV4A).

    Because there are 3-types of ROM (Flash EEPROM,Data Fllash EEPROM,Data SRAM) in the chip, the starting voltage is generated in the chip, so my question is, what are the minimum voltage values of "BAT" required for these three types of ROM respectively

    3
    On the basis of "2", I have another question: what is the minimum voltage of bat to ensure the normal operation of the chip

  • The screenshot you provided is not what I am looking for. 
    Please go to the Registers Window. See the screenshot below.
    Click the Refresh button and then take a screenshot of the entire window and share it with us.
     
    Andy