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.

GG import with errors

Other Parts Discussed in Thread: BQ20Z75-V180, BQEVSW, BQ20Z75-V160, BQ27541-G1

Hello,

I use bq20z75-v180 with EVSW bq20z75 v1.81.

After setting values in DF to appropriate and calibration, I exported DF to GG file. When I import the GG file to load data to another bq, I receive message four times: "The value you entered is not allowed because it results in code(decimal) 11 Division by zero". As I see four values are set to zero in EVSW after I imported gg file: CC Gain, CC Delta, CC offset, Board Offset. In GG file all the values are not zero.

Why there are these errors? How to solve this problem? GG file attached.

Waiting for your answer.

Dariusz7827.ggDataFlash.zip

  • Dariusz, 

    I reviewed your .gg file and did not see any corruption issues. I did notice that the CycleCount has not been set to 0 and the UpdateStatus has not been set to 2. You should incorporate these changes, if the .gg file is used to create a golden file. I also noticed that several of the 'time" values have been set to zero, which will disable the feature. I am not sure whether you intended to set it up this way. Finally, I noticed that the bqEVSW Version was not the latest update. Could you try downloading the software again from the bq20z85 website to see if this helps?


    Regards

    Tom

  • Hello Tom,

    Thank you for quick answer and valuable remarks. Documentation TRM says, in "time x" description, that the function is disabled when the time is set to zero. Intuitively I thought that the only time function is disabled (reaction on threshold without time delay) but in practise I see that the related threshold is disabled - I suggest the documentation would be more intuitive.

    The website bq20z85 as well as the product doesn't exist - please paste appropriate link to take the software from.

    Best Regards,

    Darek

  • Darek,

    That was a typo. The software is on the bq20z75 website.

    Tom

  • Tom,

    I'm really happy that I can at last find the software on bq20z75 website. I don't see there TRM document so it's still not perfect.

    After instalation of the new EVSW 0.9.79, the message "divide by zero" still occures and additionally two other massages: "Missing value: IT Cfg (Gas Gauging) Ra Filter" and "Missing value: IT Cfg (Gas Gauging) Ra Max Delta". I used the same gg file and the previous varsion EVSW I had was 0.9.59.

    Well, it seems it's a bit worse with the new EVSW.

    Regards,

    Darek

  • Darek,

    I imported your .gg file into an EVM and it reported that there was an invalid field. The Manuf Date field does not have the proper format. I corrected this an was able to load the .gg file without any errors. Are you using one of our EVMs?

    Also, the TRM for the bq20z75 is located on the bq20z75-V160 website. The TRM updates for the V181 firmware release is located on the bq20z75-V180 website.


    Regards

    Tom

  • There still seems to be a bug with importing .gg-Files.

    I am using the bq Evaluation Software Version 0.9.92 with a bq27541-G1. If I export a .gg-File, all values seem to be allright, but when I import a .gg-file, the calibration values are wrong by a factor 1000 (for example, CC Offset = -7.123 becomes -7123).

    I attached an example .gg-file (from a currently running learning cycle).

    Anyone encountering a similar issue?

    Regards,

    Daniel

    [Header]
    bq EVSW Version = 0.9.92	
    DeviceName = bq27541G1 v2.24
    Time = 21.07.2014 17:37:54	
    
    
    [Safety(Configuration)]
    OT Chg = 55.0
    OT Chg Time = 2
    OT Chg Recovery = 50.0
    OT Dsg = 60.0
    OT Dsg Time = 2
    OT Dsg Recovery = 55.0
    [Charge Inhibit Cfg(Configuration)]
    Chg Inhibit Temp Low = 0.0
    Chg Inhibit Temp High = 45.0
    Temp Hys = 5.0
    [Charge(Configuration)]
    Charging Voltage = 4200
    [Charge Termination(Configuration)]
    Taper Current = 225
    Min Taper Capacity = 25
    Taper Voltage = 100
    Current Taper Window = 40
    TCA Set % = 99
    TCA Clear % = 95
    FC Set % = -1
    FC Clear % = 98
    DODatEOC Delta T = 5.0
    [Data(Configuration)]
    Rem Cap Alarm = 100
    Initial Standby = -10
    Initial MaxLoad = -200
    Cycle Count = 1
    CC Threshold = 2340
    Design Capacity = 2600
    Design Energy = 9620
    SOH Load I = -150
    TDD SOH Percent = 80
    ISD Current = 10
    ISD I Filter = 127
    Min ISD Time = 7
    Design Energy Scale = 1
    Device Name = bq2754X-G1
    [Discharge(Configuration)]
    SOC1 Set Threshold = 150
    SOC1 Clear Threshold = 175
    SOCF Set Threshold = 75
    SOCF Clear Threshold = 100
    BL Set Volt Threshold = 2500
    BL Set Volt Time = 2
    BL Clear Volt Threshold = 2600
    BH Set Volt Threshold = 4500
    BH Volt Time = 2
    BH Clear Volt Threshold = 4400
    [Manufacturer Data(Configuration)]
    Pack Lot Code = 0000
    PCB Lot Code = 0000
    Firmware Version = 0000
    Hardware Revision = 0000
    Cell Revision = 0000
    DF Config Version = 0000
    [Integrity Data(Configuration)]
    Static Chem DF Checksum = 6470
    [Lifetime Data(Configuration)]
    Lifetime Max Temp = 53.2
    Lifetime Min Temp = 21.0
    Lifetime Max Pack Voltage = 4187
    Lifetime Min Pack Voltage = 2863
    Lifetime Max Chg Current = 1031
    Lifetime Max Dsg Current = -504
    [Lifetime Temp Samples(Configuration)]
    LT Flash Cnt = 26
    [Registers(Configuration)]
    Pack Configuration = 1176
    Pack Configuration B = A7
    Pack Configuration C = 18
    [Lifetime Resolution(Configuration)]
    LT Temp Res = 1.0
    LT V Res = 25
    LT Cur Res = 100
    LT Update Time = 60
    [Power(Configuration)]
    Flash Update OK Voltage = 2800
    Sleep Current = 10
    Hibernate I = 8
    Hibernate V = 2550
    FS Wait = 0
    
    [Manufacturer Info(System Data)]
    Block A 0 = 00
    Block A 1 = 00
    Block A 2 = 00
    Block A 3 = 00
    Block A 4 = 00
    Block A 5 = 00
    Block A 6 = 00
    Block A 7 = 00
    Block A 8 = 00
    Block A 9 = 00
    Block A 10 = 00
    Block A 11 = 00
    Block A 12 = 00
    Block A 13 = 00
    Block A 14 = 00
    Block A 15 = 00
    Block A 16 = 00
    Block A 17 = 00
    Block A 18 = 00
    Block A 19 = 00
    Block A 20 = 00
    Block A 21 = 00
    Block A 22 = 00
    Block A 23 = 00
    Block A 24 = 00
    Block A 25 = 00
    Block A 26 = 00
    Block A 27 = 00
    Block A 28 = 00
    Block A 29 = 00
    Block A 30 = 00
    Block A 31 = 00
    Block B 0 = 00
    Block B 1 = 00
    Block B 2 = 00
    Block B 3 = 00
    Block B 4 = 00
    Block B 5 = 00
    Block B 6 = 00
    Block B 7 = 00
    Block B 8 = 00
    Block B 9 = 00
    Block B 10 = 00
    Block B 11 = 00
    Block B 12 = 00
    Block B 13 = 00
    Block B 14 = 00
    Block B 15 = 00
    Block B 16 = 00
    Block B 17 = 00
    Block B 18 = 00
    Block B 19 = 00
    Block B 20 = 00
    Block B 21 = 00
    Block B 22 = 00
    Block B 23 = 00
    Block B 24 = 00
    Block B 25 = 00
    Block B 26 = 00
    Block B 27 = 00
    Block B 28 = 00
    Block B 29 = 00
    Block B 30 = 00
    Block B 31 = 00
    
    [IT Cfg(Gas Gauging)]
    Load Select = 1
    Load Mode = 1
    Max Res Factor = 15
    Min Res Factor = 5
    Ra Filter = 800
    Terminate Voltage = 3000
    Term V Delta = 200
    ResRelax Time = 500
    User Rate-mA = 0
    User Rate-Pwr = 0
    Reserve Cap-mAh = 50
    Reserve Energy = 1850
    Max Scale Back Grid = 4
    Max DeltaV = 200
    Min DeltaV = 0
    Max Sim Rate = 1
    Min Sim Rate = 20
    Ra Max Delta = 43
    Qmax Max Delta % = 5
    DeltaV Max Delta = 10
    Fast Scale Start SOC = 10
    Charge Hys V Shift = 40
    [Current Thresholds(Gas Gauging)]
    Dsg Current Threshold = 60
    Chg Current Threshold = 75
    Quit Current = 30
    Dsg Relax Time = 60
    Chg Relax Time = 60
    Quit Relax Time = 1
    Max IR Correct = 400
    [State(Gas Gauging)]
    Qmax Cell 0 = 2707
    Cycle Count = 0
    Update Status = 05
    V at Chg Term = 4187
    Avg I Last Run = -454
    Avg P Last Run = -1680
    Delta Voltage = 2
    T Rise = 20
    T Time Constant = 1000
    
    [OCVa Table(OCV Table)]
    Chem ID = 1165
    
    [R_a0(Ra Table)]
    Cell0 R_a flag = 0555
    Cell0 R_a 0 = 208
    Cell0 R_a 1 = 231
    Cell0 R_a 2 = 237
    Cell0 R_a 3 = 268
    Cell0 R_a 4 = 274
    Cell0 R_a 5 = 199
    Cell0 R_a 6 = 305
    Cell0 R_a 7 = 424
    Cell0 R_a 8 = 438
    Cell0 R_a 9 = 393
    Cell0 R_a 10 = 337
    Cell0 R_a 11 = 451
    Cell0 R_a 12 = 1427
    Cell0 R_a 13 = 1918
    Cell0 R_a 14 = 2370
    [R_a0x(Ra Table)]
    xCell0 R_a flag = FFFF
    xCell0 R_a 0 = 54
    xCell0 R_a 1 = 60
    xCell0 R_a 2 = 68
    xCell0 R_a 3 = 84
    xCell0 R_a 4 = 113
    xCell0 R_a 5 = 70
    xCell0 R_a 6 = 106
    xCell0 R_a 7 = 139
    xCell0 R_a 8 = 115
    xCell0 R_a 9 = 92
    xCell0 R_a 10 = 69
    xCell0 R_a 11 = 77
    xCell0 R_a 12 = 100
    xCell0 R_a 13 = 134
    xCell0 R_a 14 = 166
    
    [Data(Calibration)]
    CC Gain = 10.235
    CC Delta = 10.215
    CC Offset = -7.123
    Board Offset = -0.015
    Int Temp Offset = 0.0
    Ext Temp Offset = -12.6
    Pack V Offset = 1
    [Current(Calibration)]
    Deadband = 5
    
    [Codes(Security)]
    Sealed to Unsealed = 36720414
    Unsealed to Full = FFFFFFFF
    Authen Key3 = 01234567
    Authen Key2 = 89ABCDEF
    Authen Key1 = FEDCBA98
    Authen Key0 = 76543210
    

  • The firmware actually prevents manual writing to CC Offset. Only the device is able to update it. CC Offset is different from device to device and will actually auto correct at entrance to sleep if there is no I2C communication.

  • Chase7071949597 said:
    The firmware actually prevents manual writing to CC Offset.

    Okay, thanks, but ALL the Calibration Data Entries are imported wrong, also CC Gain, CC Delta and Board Offset.

  • Which tool are you using for importing the data, EVSW or Gauge Studio? Are you selecting 'Write All' or 'Write All, Preserve'? I recommend using Gauge Studio if you aren't already.

    http://www.ti.com/lit/zip/sluc424

  • Thank you, with the current Gauge Studio importing of .gg-files seems to works flawlessly, problems only occured in the EVSW. But I don't like the fact, that Data Flash Contents are directly written to the device after file import without giving the user the ability to check the values beforehand. Also, there is no option to preserve calibration values anymore, right?

    Although the Gauge Studio works great for most functions, there are some important features missing - that is why we still have to use EVSW an bqCONFIG:

    • autocycle option (at least an option for controlling the load circuit through EV2300 would be nice)
    • question based gauge configuration

    Are there any plans to integrate these features soon? Because at the moment it is quite "inconvenient" having to use 3 differnt programs for gauge configuration, calibration and learning cycle.

    Regards,

    Daniel

  • A comment from the "side line" -

    - Regarding problems importing gg files with errors  in the calibration constants - please notice that regional settings on the computer other than English - US might cause the problems. I have been experienced the same problem but problem was solved once I changed the regional setting from Norwegian to Englich - US.

    Best regards

    Kjell

  • Kjell Ramberg said:

    I have been experienced the same problem but problem was solved once I changed the regional setting from Norwegian to Englich - US.

    Do I have to switch from German to Norwegian first? Just kidding ;-)

    Did not try your solution yet but it sounds very reasonable. Gauge Studio, fortunately, does not have this bug.

    -Daniel