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.

BQ27510: Register writing of BQ27510G3

Part Number: BQ27510
Other Parts Discussed in Thread: BQSTUDIO

Dear, All

Customers are using BQSTUDIO and BQ27510G3 to acquire log data.
Please tell me about using BQSTUDIO.
They want to write to flash memory in the window of Data Memory.
They think we can write using Write_All.
However, an error occurs and it can not be written.
Also, even if they create Golden Image and use Programming they can not write.
How do they write to flash memory?

Thanks, Masami M.

  • Hi Masami,
    Pls make sure the device is not in a sealed state. The SS flag if red will indicate it is sealed. Also, make sure the device has sufficient voltage, preferably greater than 3.5V before trying to program a gg file. Finally make sure that the contents of the files that you are trying to program on the device is within range otherwise you will get out of range messages.

    For further understanding of how to use bqstudio, pls refer to the EVM user guide.

    thanks
    Onyx
  • Hi, Onyx-san,

    Thanks for your support.

    The customer confirmed what you pointed out.

    The SS flag of bqstudio was green.

    Also, when they measured the voltage they are supplying to the device, it was 3.7V.

    The data they write to flash memory is 'out.gg.csv' File, so upload that data.

    out.gg.zip

    Please check.

    Thanks, Masami M.

  • Hi Masami,
    Where did you get that gg file from because i highly doubt you extract it using bqstudio other wise you would have been able to program the file back on the gauge. I tried programming the file on mine and there are an observations.
    - It appears you open and edited the file using MS excel. That is strictly forbidden as excel strips out the 0s of hex parameters that starts with them.
    -You need to edit the file using text editors like notepad to avoid running into such issues.
    -Also, make sure none of the parameters you modify exceed the limits that bqstudio allows. You will get an error in red at the bottom of bqstudio if that is the case.
    i hope this helps.
    thanks
    Onyx

  • Hi, Onyx-san,

    Thanks for your support.

    I uploaded the uploaded gg file as it was sent back from GPC TOOL.
    I displayed it using a text editor, but it was decimal number.
    Do we need to convert this to hexadecimal number?

    Thanks, Masami M.

  • I do not think gpc tool strips out the 0s in front of the hex values. You must have opened the files with excel and saved  over it. Only excel does that to the gg files.

    For us to be certain that it isin't gpc stripping out the 0s, try resubmitting your files and send the results gotten from gpc tool as is.

    thanks

    Onyx

  • Hi, Onyx-san,

    Thanks for your support.

    Upload data in file format that was sent from GPC TOOL.

    config-report.zip


    Thanks, Masami M.

  • Hi Masami,
    Use a tool like beyond compare or winmerge and copy the resistance table and flags returned from gpc tool to that of the original file you submited. Do the same for qmax and Trise and Ttime constant. Those are the only parameters that are actually changed changed by the tool

    You should now be able to program the new file on the device.

    thanks
    Onyx
  • Hi, Onyx-san,

    Thank you for your answer.
    I will create a modified file with that content and ask the customer to write to flash memory.

    Thanks, Masami M.