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.

bqStudio for BQ27742G1 - Parameter Q&A not working

Other Parts Discussed in Thread: EV2400, BQSTUDIO, BQ27742-G1, BQ27742EVM, BQ25890

I installed bqStudio version 1.3.47, connected the PC via the EV2400 to our custom board and started bqStudio. Auto-Detection works and the BQ27742G1 was discovered. The dashboard of bqStudio was able to read the battery voltage and other parameters, all values are updated automatically in the dashboard without any problem.

I created a new project and wanted to use the Parameter Q&A. Here I get the following error message:

Load or Store Action can't find the parameter: Gas Gauging.IT Cfg.Reserve Energy

I looked into the data memory and I could not find Gas Gauging -> IT Cfg -> Reserve Energy. Therefore the error message is right, but I cannot go any further. Parameter Q&A does not work. What shall I do?

BTW 1: I tried the same with the official version of bqStudio, but no luck.

BTW 2: The project typed (basic, advanced) has no influence

  • 0742_1_03-bq27742G1.bqz

    I tried this successfully. Please use the attached .bqz file (save it to BatteryManagementStudio\config\).

    Gas Gauging -> IT Cfg -> Reserve Energy is a private parameter which exists but is not shown in bqStudio.

  • I copied the file to the config directory. A file with the same name exists already, I overwrote the old one. I started bqStudio again and created a new project in basic style. The problem still exists, I get the same error message when trying to start the Parameter Q&A. Any idea?
  • It works with V1.3.52. Please upgrade your bqStudio.
  • No luck…

    The problem still persists. I did a complete uninstall, then installed a fresh downloaded 1.3.52 version of bqStudio. The dashboard connects to the BQ27742-G1 with no problems.

    I created a new project. In the new project the Parameter Q&A is not possible, see screenshots below.

    I am blocked completely. Is there any way to program a BQ27742-G1 without the Parameter Q&A? How shall I proceed?

  • Hi Thomas,
    The parameter Q and A is just there to ease configuring the gauge. Alternatively, You can configure the gauge by just going to data memory and changing the parameters to suit your application. You can also exract a gg file, make modifications to the file to suit your application and then import back on the deivice.

    Once you are done configuring the device, calibrating and running a learn cycle, you can extract either an srec or a .fs file which will be your golden file that will be programmed on multiple devices.
    thanks
    Onyx
  • I'm not sure why this doesn't work with your setup. If you attach your current configuration (create a golden image) and give me your Q&A answers I'll create an updated image for you.
  • Hi Dominik,

    thank you for offering help. One of my problems is that I cannot see the Q&A questions. Please send me a screenshot of the questions. In the attachment you will find a zip archive of the image files, which I extracted from the BQ27742-G1.

    ImageFiles.zip

    In the meantime I will follow the workaround proposed by . I am not sure if I can generate a consistent data memory content without contradictions. I see 2 problems here:

    • I cannot set hidden parameters like Gas Gauging.IT Cfg.Reserve Energy, which are not shown in the data memory plugin by bqStudio.
    • Maybe I do not generate the correct checksums and the BQ27742-G1 will not accept my settings.

    So I have 3 questions regarding this workaround:

    • Is it necessary to set the hidden parameters?
    • Are the checksums in the "Integrity Data" group generated automatically by the BQ27742-G1 or do I need to calculate and set them manually?
    • Is it correct to set the Chemistry ID first before setting the data memory?
  • Is it necessary to set the hidden parameters?
    OA: No, you do not have access to them so you do not need to set them.
    Are the checksums in the "Integrity Data" group generated automatically by the BQ27742-G1 or do I need to calculate and set them manually?
    OA: Don't worry about trying to manually calculate the check sums. After you make the changes to your gg file, import and then send the checksum commands to the gauge to read back correct check sums then update your gg file with the correct checksums. See the TRM for the checksum commands and further details on what happens if the checksum is wrong.

    Is it correct to set the Chemistry ID first before setting the data memory?
    OA: You can do either first, either program the chem id or configure the data memory. There really isn't an order. I prefer programming the chem id first before configuring the data memory.
  • Here are the screenshots for the Q&A:

  • I have the exact same issue, parameter Q&A: Load or Store Action can't find the parameter: Gas Gauging.IT Cfg.Reserve Energy. My bqStudio version is 1.3.52 and use BQ27742EVM board. I wonder how to get it work??

    Thanks!

    Mike

  • Same here. Custom embedded board with BQ27742G1. BQStudio 1.3.54 detects it ( but I notice it was an evaluation build when I installed it). Not easy to relate the Data memory to the Q&A screen shot ( not for a novice anyway )

    I have a BQ25890 on the same I2C bus - supplementary - how to disable autodetection in BQStudio so I can select this device to check the system status as well.

    John

  • FWIW, if you rename the bqz to zip and try to unzip them, you get an error 0x80004005. This is a known Windows problem. I assume the Eclipse uses the Windows API to extract its files and meets this error.
    Still looking into a resolution -will post if I find it.

    It seems the file is password protected as well, presumably BQStudio has the password to extract it. Suggest the machine on which BQStudio is deveeloped and the installation package are different.

    Also, if you unzip the bqz file ( skipping the error ) you will see the ui.xml file which is the parameter Q&A with the