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-R1: Generation gold file

Part Number: BQ40Z50-R1
Other Parts Discussed in Thread: BQSTUDIO, BQ40Z50, BQPRODUCTION

hello everyone;


I want to understand how to generate the gold file. I know that posts are already present. In bqstudio in the firmeware menu, 

A "read Srec form device" mode what is this mode used for?

best regard ?

Anthony 

  • The read srec from device will allow you to save a golden file in Motorola SREC format. It can be used by the TI bqProduction program to program devices in production. You can also use the HEX DUMP button on the Data Memory screen to export a hex file of the data flash. It can be used with the 0x44 command to program the data flash as well. There is an applications brief describing how to use it on the bq40z50 device website.

    Here are the steps to creating the golden file.

    •Run the Optimization Cycle to update Qmax and the Ra-table.
    •Go to the Data Flash window and press the Read All button.
    •Export the gg.csv file
    •Edit the gg.csv file using a text editor. e.g. Notepad. Do not use Excel.
    •Set the Update Status to 02 and set the Cycle Count to 0.
    •Load the default .srec file into the device.
    •Load the ChemID into the device.
    •Load your modified gg.csv file into the device and press the Write All button.
    •Save the golden .srec file.
  • hello TEC ,
    I am under the last version for bqstudio ( 1.3.76) and i do not a HEX DUMP button on the Data Memory screen.
    There is no automatic generation possible for the golden file
    best regards
    anthony
  • If your HEX DUMP button is missing, the go to the Windows >> Preferences pull-down menu and select Show Advanced Views. This will enable several useful features.
  • Thanks tec i found the button.

    To summarize after generating this file with the button I change the value Update Status to 02 and set the Cycle Count to 0. Then I modify the .Srec file type

    When you talk about stating the file it is to change the value of Update Status to 02 and set the Cycle Count to 0 no?
    I do not understand the manipulation,
    I perform a first program with the .srec default
    • Load the default .srec file into the device.
    • Load the ChemID into the device.
    How do i go from a gg.csv file to a .srec file
    • Load your modified gg.csv file into the device and press the Write All button.

    My goal for later is to program my B.M.S with the .Srec file containing my changes?

    Best regards