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.

BQ2022A: BQ2022A EPROM programming

Part Number: BQ2022A
Other Parts Discussed in Thread: EV2400

How to program the BQ2022A with Windows 7?
EV2300 needs Win XP, EV2400 does not support the HDQ port.

Currently I can read the BQ2022A via EV2400 and a BQ2022AEVM board.
I am using the BQ2022A Evaluation Software.
However, I cannot program the BQ2022A.
I receive an error: “Data not programmed correctly”.
I also don’t see any programming pulses on VOUT3.

Is there someting I do wrong, do I use the right tools?

Kind regards, Jaap Been

  • Hi Jaap,
    For 32 bit systems the drivers on the EV2300 tool folder should be suitable. For 64 bit systems please see if the drivers here will solve the programming issue. e2e.ti.com/.../458983
  • Dear Genius,

    I am using the EV2400 already with the latest drivers and EV2400 updater.

    I tried your suggestion but it won't help.

    Please note that I can read the EPROM contents but cannot write.

    When I write I receive the error meassage: "data not programmed correctly".

    Still looking for a solution.

  • Hi Jaap,

    The bq2022A eval software was written for the EV2300, and the EVM software user guide is written for the EV2300.  With the EV2400 it had some updates to work in place of the EV2300 with older programs.  It sounds like you have some success with the EV2400 since you can read.

    What is your setup configuration, are you using an EVM?  How is it connected?  Are you supplying 12V for programming?

  • Dear Genius,

    Thanks for your answer.
    I have the EV2400 connected to a BQ2022AEVM board via the HDQ port, port 3.
    During programming I have a 12V supply voltage for the BQ2022AEVM board.
    Once again, I can read but not write.
    Suppose it is a SW/programming issue.
    Did anybody ever program the BQ2022a with the given setup?
    In other words, is the hardware prepared for programming the BQ2022A?

    Kind regard, thanks for future answers, Jaap Been (NXP application engineer)
  • Hi Jaap,

    The bq2022A software uses the EV2300 as its documentation indicates.   The 64 bit drivers for the EV2300 from e2e.ti.com/.../458983 may be helpful for newer systems.

    The EV2400 will read the bq2022A but won't toggle the VIOUT3 to allow programming as you have found. The update that is available on the tool page does not enable support.  The bq2022A may be supported at some time in the future, but is not planned at this time.

    The bq2022A may be programmed by a MCU using the figure 9 flow chart.

  • Ok, thanks for the reply Genius.
    TI could add this in the User's guide SLUU258A.
    Prevents a lot of shouting and may bring back confidence.

  • Hi Jaap,
    That is a good suggestion, thanks.
  • Hi WM5295,

    I am currently  proposing the bq2022A to one of my customers but I can't get the EVM to work with my laptop using the EV2300. I just ordered the EV2400, but by reading this thread, it seems that there are issues as well. Currently with the EV2300 I already downloaded and installed the drivers and the support components, but still doesn't work. I always get the message that no device is detected. Can you help support?

    Thanks! 

    Best Regards, 

    Alfred

  • Hi Alfred,

    If the EV2300 adapter or drivers are not setup properly you will see a message such as this when starting the software:

    If the drivers are installed and working with the adapter you should get a display like figure 6 of the software user guide.  If you then select the Search ID button without the board connected or the part installed you will get a message like you describe:

    If you look at an SDQ test point and Search ID without a part you will see a pulse such as:

    With the part installed the first pulse should look like:

    Check connection of the cable to HDQ port of the EV2300.  Compare your result to the above and determine if the fault is in the cable.  If the signal looks like the no part example pulse check that the part is properly installed in the socket.

    The EV2400 uses different drivers.  If you use the EV2400 it must be updated and you should be able to read but will not be able to write to the part as noted above.

  • Hi WM5295,

    I installed all the drivers and did not get the USB error when I open the GUI. I tried taking scope measurements of the SDQ pins and all I get is the 3.3V. When I click the Search ID button of the GUI, I do not get any pulses even if the device is desconnected or connected. Below is my setup:

    Here is a video of when I press the search ID, I did not get any pulse in my scope.

    Can the problem be in my EV2300 board?

    Thanks!

    Best Regards,

    Alfred

     

  • Hi Alfred,


    You have 3.3V so the 4 wire cable is apparently good. You might check the read again with the scope set to trigger on the edge of the waveform to be sure the scope is not missing the pulse, but basically yes I think the EV2300 could be the problem. It is unusual to see one without the cover which is not essential but does help avoid contact with probes, wires or tools which could cause damage.
  • Hi WM5295,

    I did set my scope to trigger but do not gat any pulse at all. The EV2400 just arrived at my office and I was able to try it out. I was able to get the pulse when searching the ROM and was able to read it. The problem is it also cannot write a new ROM. Any way to trouble shoot the EV2300 to work? I actually have two EV2300 and both do not get any pulses.

    Best Regards,

    Alfred

  • Hi WM5295,

    I have read in the forums that there are problems if the firmware of the EV2300 is version 3.1c. Can you assure that this will work once I update it to version 3.1m or 3.1r?

    Thanks!
  • Hi Alfred,
    That is good to know. I'm using version 3.1m and can talk to the bq2022a. I see there are updates on e2e which run with 2 EV2300 such as: e2e.ti.com/.../317313
  • Hi WM5295,

    I was able to get it to work! Just needed to update the EV2300.

    Thanks!

    Best Regards,

    Alfred