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.

BQ20Z45-R1: Exporting the .senc

Part Number: BQ20Z45-R1
Other Parts Discussed in Thread: BQEVSW, EV2400, BQSTUDIO

I am trying to export the .senc file, but every time I place the part into ROM mode, it no longer communicates.  I cannot get any response in any of the screens.  I have over 50 cycles on these batteries and I am on the last battery.  I do not want to lose this data.  What did I do wrong?

Steps that got me to failure:

1. Sent 0x0F00 to 0x00.

2. Selected Flash Memory -> Read to File.

3. Name file to save

4. Error message "Communication error! Error code (decimal) = 772 and Error reading Flash! Error code (decimal) = 13

  • I don't think you were able to put your device in ROM mode. Check to make sure the device is not in a sealed state. If sealed the command to put the device into ROM would not work

    thanks
    Onyx
  • We do not seal the parts before we send them out (internal discussions determined that we were not going to do this).  

    If it were sealed, would I be able to communicate to the part after sending 0x0F00?  The part does not communicate at all anymore.  Maybe the CM sealed it even though we did not have this step in our manufacturing procedure.  

    In short, the part has zero communications after sending 0x0F00; what would cause this?  What are some potential resolutions? I am trying to export the .senc file and I cannot.  This is also holding up production now.

  • Can you send the command to exit ROM mode. When you send the 0f00, that command puts the device in ROM mode and the only thing you will be able to do in rom mode is extract an senc. if an senc is not being able to be extracted, then something is wrong.
    if you are using bqEVSW, can you verify what version of firmware is on the ev2300 or ev2400 adapter? What is average voltage of each of your cells? Can you also try disconnecting and reconnecting your cells and the applying a charger voltage to wake the iC up?

    thanks
    Onyx
  • Yes I can put the device in ROM mode. I noticed since writing this post, that I can also take it out of ROM mode even though I get an error message. When I take the device out of ROM mode, I can communicate with the battery once again in the SBS screen. I can put the device back into ROM mode, but cannot export the .senc file. What potential reasons would cause this behavior and what is the solution? I was able to follow this exact process using a battery that has been production for a couple of years without error.
  • check to make sure that you have sufficient voltages on your batteries. what is your flash update voltage set to?

    thanks
    Onyx
  • Flash voltage is set to 12V. I have 16.4V at the pack level.
  • change the flash update voltage to the default value which i think is 4500mV let's see if taht helps.
    thanks
    Onyx
  • These are the same settings that we have used in 6 other battery lines that we have.  With that being said, it was actually 7500, but I changed it to the default without any luck.

    Any other suggestions?  

  • hi David,

    Can you verify what firmware versions are on the ev2300 or ev2400 that you are using? I believe i asked this question earlier on. I have seen cases where using an earlier firmware version corrupted the srec/senc. I just haven't seen it preventing an srec or senc extraction. It might be worth checking.

    thanks

    Onyx

  • Ooops, you did ask. Sorry about that.

    I am using a ev2400 with bq Evaluation Software 0.9.64.
  • Can you install bqstudio and then start the program with the ev2400 connected. the dashboard on the left hand of bqstudio screen will tell you what version of firmware in on the ev2400. It should be v0.18 or later.
  • Do you mean uninstall and re-install?

    Can you list all possible reasons for failure with their solutions? We keep going back and forth. I would like to try doing all of them to save on the communication lag.
  • bq20z45 only works with bqevsw. Bqstudio is our tool used with our newer devices. if asked that you installed bqstudio because i was under the assumption that you didn't have it installed. If installed, simply start an instance of it.

    There really isn't a list to go off.. at this point i am just going off possible causes given previous tests hasn't worked so far.
    thanks
    Onyx
  • I figured out the issue. At least the "what" is happening but not the "why."

    When I send the 0x0F00 command over, the FETs seem to power off. We control our side of the circuit from the discharge FET. This essentially turns off the 5V rail where the SDA/SCL lines are. For some reason, the discharge FET remains on when using some of our other batteries that have been in production. I was able to export the .senc file if I used a jumper between the pack voltage and the output voltage rails.

    Any idea why sometimes the chip removes the FETs? In both instances, impedance tracking has been enabled (QEN is high). I did not see any documentation that suggested that a jumper is needed.
  • Hi David,
    Can you send a screen shot of bqEVSW so we see if a register is set to indicate why your fets are turned off. Even if the fets are turned off, the chip should still be powered from the battery. Do you not have your batteries connected?

    thanks
    Onyx