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.

BQ27500EVM: Error code 52 when trying to program SENC through bqEVSW

Part Number: BQ27500EVM

Hi,

Every time I try to program a BQ27500EVM with bq27500_1_20.senc, the bqEVSW outputs the following error code:

"Programming failed! Error code = 52"

This happens with both the EV2400 and EV2300 interface boards. I'm running version 0.9.92 of the bqEVSW.

Does anyone know what this error code means?

Thank you in advance for your help!

Andrei

  • Hi Andrei

    Is there any particular reason you are using the bq27500? That device is really old  and NRND. i would recommend either the bq27510 or the bq27520.

    Can you check to make sure your device isn't sealed? Are you able to extract an senc from the device and reprogram it back on? Ensure that the voltage on the IC is above 3V when trying to program the chip. Also, can you share the srec you are trying to program?

    thanks

    Onyx

  • Hi Onyx,

    Thank you for your reply. I have to use the BQ27500 since it's integrated in an existing customer system that I'm supporting.

    Is there any way to check from ROM mode if the device is sealed? Since I'm not sure what state the flash is in, I'd rather not exit ROM mode so as not to brick the gauge.

    I am able to extract a SENC file and program it back in the gauge. However, I'm not able to program any of the SENC files that TI provides for the BQ27500/BQ27501.

    The following ZIP file contains all of the SENC files that I've tried to program in. It also contains the SENC file that I've extracted from the device:

     BQ2750X_SREC_files.zip

    Thank you,

    Andrei