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.
Hi all,
I have an issue with BQ studio 1.3.86. I can't "Read srec from device" when gauge is with SMBus adress 0x20. It's with "SMBTAR_ADDR0" selection. Can you solve this one?
I'm using the BQ78350R1
Best regards,
Loïc
Hi Matt,
Maybe you can communicate for reading .srec because the SMBus address of your BQ change to 0x17 after POR. Can you confirm that ?
But in my case, SMBus adress keep to 0x20, then BQstudio miss the communication with the gasgauge
Best Regards
Loïc
Hi Loic,
I was able to repeat what you are seeing. There is a way to communicate with the device with the new address that you can try. When you open bqStudio, it will not automatically recognize the device because of the new address. Select 'Gauge' and near the bottom of the window you can select a new SMBus Target address - here you can choose 'Scan All' and bqStudio should be able to find the device.
Best regards,
Matt
Hi Matt,
It's not my issue.
My problem is that I try to Read firmware with the command "Read Srec From device".
You can see screenshot below :
Before, I have full unseal the gauge
Then, when I want Read SREC I have an error. The Gauge has resetting and the BQ studio cannot communicate with the gauge under the 0x20 SMBus address :
Thank you for your help,
Best Regards,
Loïc
Hi Loic,
Sorry to hear this. I just tried the "Read SREC from Device" and I am seeing the same problem.
I will pass this issue on to our software team, but I think it will be a long wait before they can provide a solution. It would need to wait until the next BQStudio release and go through software validation testing.
One way to work around this is to save the SREC file with SMBConfiguration [FIXED_ADDR] set to 1 and then manually edit the srec file. I will show you an example below. I am using the latest version of the BQ78350-R1 firmware from ti.com (available here: http://www.ti.com/lit/zip/sluc594)
The SMBConfiguration data flash is located at address 0x4462 as noted in the TRM. The default value is 0xA0 and I want to set this to 0x20 in order to update the FIXED_ADDR bit to zero.
Here is the modification. For the SREC line I am editing, I also need to calculate a new checksum. The checksum is the lowest byte of the two's complement of the sum of all bytes after the 'S3'. Checksum = 0xFFFF - (0x28 + 0x00 + 0x00 + ...... + 0x32 + 0x01) = 0xF90B (So, '0B' is the new checksum). If you use Notepad++, it will automatically recognize the Srec format and highlight the checksum in green if it is correct or red if it is incorrect.
At this point, I am able to load the new Srec into BQStudio with no issue. I still cannot do "Read SREC from device", but I am able to do everything else as long as I 'Scan All' addresses when I open BQStudio.
Best regards,
Matt