BQ41Z90: Not able to program the Firmware on BQ41z90

Part Number: BQ41Z90
Other Parts Discussed in Thread: BQSTUDIO, EV2400, BQ76952, BQ40Z80, BQ78350, , , BQ76920EVM

Tool/software:

Hi Team,

I jsut received the EVM and tried setting it up following the guide present on the EVM.


I can follow the process till step five, but I am not able to flash the firmware onto the board. When I try to program, I am getting the following error "Program Flashstream : Communication protocol not supported"


As you can see in the screenshot, BQStudio thinks that I am trying to communicate via I2C protocol, however, I am using SMB to communicate with the gauge. I am using the J11 on the EVM. 






I used another BMS that I have and it confirmed that I am using SMB port to communicate on my ev2400

  • Hi,

    Send Cmd 0x0F00, then try to flash the FW.

    Regards,

    Diego

  • Hi Diego,

    I tried sending the command 0x0F00 via ManufacturerAccess(), but it failed. Then I sent the command 0x0f directly as the app would only allow a single byte.But still I can not program the board. Please check the screenshot attached,

  • Hi,

    Sorry, send cmd 0x0F00 to cmd address 00.

    Regards,

    Diego

  • Hi Diego,

    I tried sending the commands to 00 as well. The same thing happened again. The gauge seems to believe that it's in I2C mode and not SMB. Please see the screenshot below

  • Hi,

    Are you connected to the SMBus port on the EV2400?

    I will try to recreate this.

    Regards,

    Diego

  • Yes, I am connected to the SMBus port. But I'm not exactly on an EV2400. 

    I also have EVM's of BQ40Z80 and BQ76952, both of which have MCU on board. 

    I have used both of these EVM'S to configure multiple BQ40Z80 and BQ78350 gauges which work on SMBus, so I am pretty sure my BQ41Z90 is connected to the SMBus port. 

    If you are trying to recreate it, please try that as well.

  • Hi,

    Oh ok understood, you are trying to use the ev2400 on the BQ40z80EVM. This approach has never been tested before and is not our recommended way to communicate with the BQ41z90EVM.

    I recommend using a normal EV2400/2400/2300 to communicate with the EVM.

    Can you share an image of your set up?

    Regards,

    Diego

  • Hi Diego,

    I understand that it is not the recommended way, but at the moment I have lent out my EV2300 to a friend and don't have access to it. I will try to check the communication using the EV2300 on Monday and will update you accordingly. Meanwhile please check if you can replicate my setup at your end. 

    I have programmed numerous Gauges and Monitor using the EV2400 on the BQ40z80EVM using both the SMBus out and I2C out from that board. So I am sure that this method atleast works with other IC's. Theoritically if both EV2400 and the MSP on the BQ40Z80EVM  have the same firmware I should be able to communicate using it.

    Here are some pictures of my setup to help you further

    1. BQ40Z80EVM with BQ41Z90EVM.



    In this case the Battery Management Studio detects that I am connected via I2C(Please check in the picture I sent in the thread above)

    2. BQ40Z80EVM with BQ76920EVM+78350 onboard.



    In this case I am able to communicate with the BQ78350 flawlessly as seen below.

  • Hello Bhavil,

    Diego is currently out of office till late next week, please give time for a follow up. We will try to internally follow up this issue until he's back in office

    Thank you,
    Alan

  • Hi,

    Thanks for the images. 

    If you populate the jumper for the pull ups on the i2c lines does this fix the issue.

    Regards,

    Diego

  • Nope,

    I tried doing that before I opened the thread but it didn't seem to help

  • Hi,

    Got it thanks, if you force open BQstudio on an SMBus device, can you communicate SMBus through advanced comms?

    Regards,

    Diego

  • Yes I can communicate with other SMBus devices via the advanced comms(and I don't need to force open BQStudio).

    So far I've only faced problem with the BQ41Z90 EVM.

    Although I can not update the firmware in the BQ41Z90, in the screenshot provided above I tried communicating using the advanced Comms and some of the messages did seem to go through (as I can see the status as "SUCCESS" in the logs.

  • Hi,

    If you can communicate to the BQ41z90EVM via advanced comms, you can configure everything this way until you get your ev2300 back from your colleague. 

    Regards,

    Diego