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.

bq3060 sealed by mistake

Other Parts Discussed in Thread: BQ3060, BQEVSW, BQ40Z50, BQ34Z110, BQ26221, BQ26220, BQ26200, BQ26231

Hello,

while learning step by step the bq3060 TechRef, I entered 0x20 in SBS Manufacturer Access and hit "Refresh".

It works, FAS and SS flags are set: Bravo! The gauge is sealed. No way to unseal it by 0x60, it just returns 0000 in the Manuf.Access field. I tried with Write 2 Word command, and with Read SMB Block.

But there's worse : no way to Read Data Flash anymore. An error box opens up: "Date" and "Error Reading subClsId=0 at block read cmd =120. Error code = 6"

No way to send any command on the Pro page, except for 0x00 (Man. Access) : another error prompts up, "SMB Read Word Error. Error Code: SMB Terminated: VB_T2H_UNKNOWN"

Did I kill the chip, Doc?

Thanks for your help.

Regards.

Matthieu.

  • I suspect the default unseal and full access codes might be same as for 20z family in which case see  attached slua421 app note in figs 26 and 28 for details how to enter that and let me know

    6138.slua421a quick start guide for bq20zxx family gas guages.pdf

    Note if these work yoy will have to enter them every time from now on after you reset unless you reload a fresh senc and start again.

     

  • I can confirm that the bq3060's default Unseal and Full Access keys are the same as the ones listed in the SLUA421 app note.

  • Hello Jason and Mike, thank you for your help.

    It works, although I have to go thru the seal--unseal--fullaccess process after each  reset.

    What if I want to go back to the start from scratch? That could be a good practice. Where do I find the original TI firmware bq3060_Vxxx.senc?

    Thank you.

    Regards.

    Matthieu

  • Hm, that's actually a pretty good question. I couldn't dig up a .senc file from the bq3060's product page. I may be able to solder in a fresh bq3060 from my sample kit and pull a .senc off it, but I am not sure about getting an official firmware image for the bq3060.

    As for the seal-unseal after reset, when you seal the gauge, it sets a non-volatile bit in a hidden area of the chip's Flash memory. If you send the unseal commands, it sets a bit in RAM, but the Flash's bit remains the same, hence why you need to do the unseal every time after a reset.

  • Hello Jason,

    Thank you for your answer. At least it enlightens me.

    Note that the bq3060 i've been sealing by mistake is on a BMS from StarTec (China) that I purchased for evaluation purpose. I still have the official EVM from TI, which is unsealed. But I don't know how to retrieve the original.senc file from it. And as you stated, will that be the original bq3060 firmware?

    Regards and thanks.

    Matthieu.

  • Yes, you can capture a .senc from the unsealed TI EVM by doing these steps:

    • Open up bqEVSW
    • Navigate to the "Pro" screen
    • Type 0F00 into the "Write SMB Word" field, then click "Write". This will make the gauge enter its ROM (bootloader) mode if the gauge is unsealed, and in full-access mode.
    • Click the "Flash Memory" menu on the top menubar, and click "Read to File". You can choose where to save your .senc file.
  • Thank you, Jason.

    Regards.

    Matthieu

  • Hello Jason,

    I am designing a new UPS with external batteries, and I'd like to keep track of their SOC. Some of those batteries (LiFePO4, LiCoO2) will have a BMS with integrated bq40z50 (IT + NFET HiSide control + Led display) or bq3060 (CEDV + NFET LoSide Control, but no Led display alas). The Central Unit can thus retrieve info from the batteries via SBS.

    But the system MUST also run on third party batteries without SBS info, such as 12V / 12Ah SLA (no connection to internal cells), or Li-Ion/LiFe batteries with integrated protection but no SBS.

    I'd like to implement a (rough) gas gauge  inside the unit - a basic Coulomb Counter - controlled by a MCU, and user program it according to the chemistry / capacity of the external batteries.

    I saw that bq34z110 does support Lead Acid chemistry. But does it support also other chemistries (LiIon, LifFe)?

    Do I rather have to go for the bq26200 / bq26220 / bq26221 / bq26231 / bq 26500 / bq 26500 series, and scale the voltage/current as if it were a single cell battery?

    If you have any opinion/suggestion, I'd be glad to hear from you.

    Thank you.

    Best Regards.

    Matthieu.