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: The debug issue for BQ40Z50

Part Number: BQ40Z50
Other Parts Discussed in Thread: BQSTUDIO, BQ-BATTERY-PROGRAMMER-SW, EV2400

Tool/software:

Hi,

We use the BQ40Z50 for the fuel gauge solution, now, we can use the "bqStudio" to connect to BQ40Z50, and we conisider to use the "EV2300/ EV2400 and BQ-BATTERY-PROGRAMMER-SW",

but the EV2300 can't be connectted by the CMD, please refer to belwe picture and advise how to solve this issue, thanks.

  • Hello,

    Can you please tell us what version of windows this is being attempted on?

    The thread below might have useful information for this issue:

    https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1004093/ev2300-084-the-ev2300-connection-could-not-be-initiated

    Regards,

    Anthony

  • Hi Anthony,

    We use the WIN10 system, and we use the EV2400 also can't connectted to BQ40Z50,

    Please refer to the below picture:

    And the below is the GUI from TI website, and please advise if this EV2400 is support the BQ40Z50 or not?

    License: 
    Texas Instruments Incorporated Evaluation Software License Agreement
    
    Operating systems:
    32 and 64 bit Windows (starting from Windows XP)
    
    Software requirements:
    Visual Studio C++ 2010 runtime from Microsoft must be installed. It is usually included in most Windows installations. Install separately in case of dependency errors.
    
    Includes functions for SMBus and I2C communication including delay functions. A connection to MKS-SAI-001 USB adapter must be successfully opened before communication functions can be called.
    
    ***************
    Command line programmers
    
    Programmers are named by device or function.
    Example: 
    Prog20zx is a programmer for products starting with BQ20Z
    Prog30z5 is a programmer for products starting with BQ30Z5
    ProgBQFS is a programmer that can program any BQFS file (I2C or HDQ based)
    Prog2754X is a programmer for all products starting with BQ2754 and bq34Z. It also programs other flash based products in BQ27XXX family.
    Prog78350 is a programmer for BQ78350 family of products
    Usage:
    Prog20zx.exe -i -p SrecFilename -m0
    
    -i for I2C and SMB, defaults to HDQ if not specified
    -p enables pullups on MKS-SAI-001. Pullups are required for communication
    -m0 is for channel 0 or use any available MKS-SAI-001. Additional software required to enable channel number mapping. EXE can be run in parallel from different command console to program 2 or more targets at the same time.
    
    Programming times vary from 5 seconds to 1 minute.
    
    ***************
    Python API
    
    mks_sai_001_api.py
    
    Works on 32-bit python installations. 64 bit python requires 64 bit libraries which are not included in this release.
    
    commData class stores communication data and communication status. 
    mks_sai_001 class exposes communication functions.
    
    M_API_01.dll and Many.dll must be in path to run python example code
    
    ***************
    C API
    
    Include Header file: M_API_01.h
    Link library: M_API_01.lib
    
    Header file has comments to describe each function.
    slaveAddress = SMBus or I2C device address on bus
    
    The provided library is for 32 bit compilation only. The 64 bit library is not included in this release.
    
    M_API_01.dll and Many.dll must be in path to run compiled executable
    
    

  • Hi Zhang,

    From that image I believe the computer is able to connect to the EV2400. When you are connecting it to the bq40z50, is ample power being applied to it correctly and is the wake button being held when trying to connect to bqStudio? The EV2400 does support the bq40z50.

    Regards,

    Anthony

  • Hi Anthony,

    and is the wake button being held when trying to connect to bqStudio

    Can you advise how to set the wake buttom?

  • Hi Zhang,

    The wake button temporarily connects the BAT and PACK lines to allow the device to be woken up if the DA Configuration does not reflect the correct amount of cells in use. If the bq40z50EVM is in use, this button can be found labelled as WAKE and should be held when bqStudio is opening.

    Regards,

    Anthony