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.

bq-EASY "Run-time error '6':"

Other Parts Discussed in Thread: BQ27501, BQ27500

I'm trying to generate a golden file using the bq EVM, and whenever I try to write the settings from one of my own .EZY files to the device, I get the following:

 

Run-time error '6':

Overflow

 

Writing the .EZY sample file to the board completes successfully.  Searching the resources that TI has online, I found this, but there is no response:

http://e2e.ti.com/support/power_management/battery_management/w/design_notes/using-bqeazy-to-write-configuration-data-to-bq27501-causes-amp-quot-run-time-error-6.aspx

 

Has anyone seen this issue, and if so, how do I resolve this problem?  Thanks very much.

  • Can you please clarify which gauge and firmware version you are using?  Are you also using bq27501?

    Also, at the top of your bqEASY screen, what version are you using?  It should say "bqEASY-HH (v1.xx)".  What is your "xx"?

    When you say program an .EZY file I am not sure what you are talking about.  A .EZY file just has the configuration items stored as you progress through the wizard.  It is a .DFI file that is actually used to program your IC.  Do you mean you are having trouble programming a .DFI?

    Please post more details and maybe some screenshots or step-by-step instructions about what you are doing and when you get the error.

     

  • Right now I'm just using the EVM to try and generate the golden image.  The part is a BQ27500 and we're using firmware v1.20.  I've successfully downloaded the v1.20 firmware onto the eval board that we have here.

    bqEASY version is v1.38.

    I'm sorry the original post was unclear.  Here is how the error arises.

    I open a fresh instance of the bq Evaluation software and enter into bqEASY
        - Step 1A select a pre-existing .EZY project
        - Step 1B load bq27500_1_20.dfi (program dataflash image)
        - Click 'OK' through step 2H where I get a popup that says "The configuration data is complete and must be written to the data flash. OK to write?"

    If in step 1A I selected my own project with customized configuration, when I click yes at this dialogue box I get the crash described above.
    If in step 1A I selected 'bq27500 Sample.ezy', when I click yes this crash does not occur. 

    Here is a screenshot of the error: http://bugcommunity.com/wiki/index.php/Image:Error.jpg

  • Dave,

     

    have you tried to uninstalled the EVSW and re-install it?  I assume the .EZY file is generated using the same EVSW. When you open EVSW, did it recognize the EVM automatcally?

     

    Ming

  • The software is basically working - the problem turned out to be that the value I had set for initial standby current was too large.