How do one load a chemistry into the bq78350 without using bqstudio?
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 Harald,
Sorry, but bqstudio is the only tool available right now. Do you have a problem with it?
Regards,
Doug
Sorry for late repyly; I've been ill.
As for bqstudio, it's working quite well, but it would have to be scriptable if we were to use it for production. Also, the firm we have hired for testing will use labview only, and this is the stage where GG-file, chemistry, serial number and so on will be uploaded to the card. I've found a work-around that seems to work: I downloaded everything from address 0x4000-0x4800 and use these raw data as GG-file. But I expect this would mean we need a unique "gg-file" for each firmware version? I guess this hardly is an official way to do it...
Hi Harald,
Yes, you can use the 0x44 command as explained in 16.2.57 of the TRM to read and write 32 byte blocks of data flash in production. Normally, when you are happy with the design, you will read all the dataflash rows from the gauge and store that as your "golden file". This same pattern is then written into every battery of that type that is produced. Then, calibration can be done on an individual basis as well as writing serial number and other pack-specific information.
Regards,
Doug
I see. I've been a bit confused about what constitutes the GG-file, as bqstudio has an "export" button which exports a csv file. I assumed this was supposed to be the GG-file.
You're saying that if I do as I described; read all data flash memory from address 0x4000 to 0x4800 through command 0x44 (in 32 bytes chunks, of course), then this will be my GG-file, and that I can be guaranteed that the chemistry data is then also loaded into the device?
Yes, the exported file is still known as the "GG" file. But, now it has many more columns and is in csv format. Yes, all the data flash is contained between 0x4000 and 0x459e for the current version of the bq78350. You can see this by examining the .srec file. Dataflash stops at 0x459e:
S21900456A0C2D370310680BB8006409C40B5400FA0040004B284C
S21900457F000E7400641F4000003C0A0258006446500A00001920
S20D0045944380010F3C006428146A