Other Parts Discussed in Thread: BQSTUDIO
I need to know if each chip has to be calibrated before the golden image is loaded or does the golden image also calibrate the chip?
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.
I need to know if each chip has to be calibrated before the golden image is loaded or does the golden image also calibrate the chip?
Patrick,
The golden image file (.srec) will contain the same calibration information that the device it was exported from had.
Although it is recommended as part of the manufacturing process to calibrate each board, it is often where users will calibrate a handful of boards and rely on an average within the golden file
Thanks,
Eric Vos
Thanks Eric.
I developed a .srec file using the parameters another user developed as my application was using a similar battery pack.
However after creating the golden image when I reuse it I lose I2C comms and the chip has to be replaced.
I am just in the development stage but it is still a time critical project. Is there a reason this could be happening? The same data worked for the other user and doesn't seem to be online anymore so I have not received any answers from him.
Regards,
Paddy
Hello Paddy,
Can you share your schematic with us?
It is important not to lose power during the srec programming.
I would also try to communicate with the device in address 0x16 (ROM mode) to make sure it is not in ROM mode. It is also important to ensure you are sending the exit ROM mode command. This is in the bq.fs file, last three rows if you use bqStudio's golden image tab.
Last 3 lines are.
W: 16 00 0f
W: 16 64 0f 00
X: 4000
I don't have access to schematic but I can try to get a copy. What in the schematics could cause this issue. This also happens on the eval board I purchased for the project.
Regards,
Paddy
Hello Paddy,
I think the ground plane needs to be checked. Did you check if the device responds in ROM mode?
Hi Kang,
I don't think this is the problem as i get the same issue on the Texas Instruments Eval BoardBQ34Z100EVM.
Regards,
Paddy
Hello Paddy,
Ah I see, it was a hand-crafted srec.
The srec file is corrupted. It most likely still responds in ROM, please confirm that.
Please use srec files generated by TI tool chains.
Hi Kang,
Could you send me details on how this is accomplished please.
Kind regards,
Paddy
Hello Paddy,
Please go to Golden Image plug-in and click generate files.
Hi Kang,
This is how i already made files so how would doing it again make any difference?
Regards,
Paddy
Hello Paddy,
I believe the original ask was corrupted srec. Please generate the correct srec using TI Tool Chains. If you have done so already, please use the bq.fs file format to flash your device.
Sorry Kang,
I incorrectly said i created an srec file what i meant to say is i hand crafted a .gg.csv file and from that i developed a the golden image files.
How do i flash the ic using the .bq.fs file when i look in the folder only .srec files are visible.
TRegards,
Paddy
ok I figured that out. When I try to load the .bq.fs file the loading screen flashes up for a second and then i lose comms. when i restart i have comms back but all the settings are incorrect. i have attached my files for review.6607.Golden_file.zip
Hello Patrick,
1. Make sure you are in unseal and full access mode.
2. Run bqStudio as admin on your computer.
Thanks
Hi Kang,
I did this and same issue occurs. I get an error for line 160 in my .bq.fs file, i lose comms with the device and i have to reload the default firmware.
Regards,
Paddy
Hello Paddy,
That doesn't make sense to me. Make sure to check your power supply compliance and be certain you can provide the current levels for programming. You should supply at least 20 mA.