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.

BQ34Z100-G in system flash programming help

Other Parts Discussed in Thread: AM3352, BQ34Z100-G1, BQPRODUCTION, BQSTUDIO, BQ34Z100

I was able to successfully program the data flash portion of my bq34Z100-G1 devices using the 'golden rom' image generated by the EVM software from my application running on my target system.  Prior to using the block programming method in document SLUA665 "Going to Production..." I had been messing about with trying to update individual flash locations and I think that I may have buggered up the program flash memory.  Since I have both the firmware flash and data flash contents from my EVM board available where can I find the commands for programming the firmware memory?  These don't appear to be documented anywhere.  These devices are "in system" sitting on I2C1 of a AM3352 processor, and aside from some tricky micro surgery I have no way to attach something like a EV2300 to these boards for programming the blighters, I need my C application code to do this.

Regards,

-Jeff

  • Jeff
    You can export a bq.fs file from the device and use it to program the full flash memory to the device. It contains the I2C commands and data to program the file and can be used by a uC or third party tool. Other than that tool, we do not have another means to program t he full flash memory without using bqStudio or bqProduction.
    Tom
  • I was afraid you were going to say that. Well, having a program that programs the data flash, having that data in .srec format, I can probably reverse engineer how the .fs files work. Not a lot of fun but I suppose it's better than nothing. I brought my EVM board up to date with the latest 0016 firmware release then re-entered the configuration information I needed and wrote out new .fs and .srec files. Now just need to grind it out...

    Regards,
    -Jeff
  • Is there _really_ no documentation for ROM and flash programming of the bq34z100? I started to reverse engineer the .fs files, and right away in the 0100_0_16-bq34z100G1.df.fs file there are 2 96 byte blocks of data being written into the part that appear nowhere in the .srec file output. These are loaded prior to beginning the row by row loading of the data flash. In the SLUA665 document these are not present in the ROM loading example code so I plan to just ignore them for now, but would be nice to know what these actually do.

    -Jeff
  • Hi,

    I have another question about golden images files.

    Why BQ Studio generates 3 golden image files?

    Which of them is best/good enough for loading on production line?

  • There are two file types available. The srec is the Motorola SREC format and you can use this to program the data flash portion. The bq.fs contains the commands and data to program the full flash memory contents. You should not have to program the full flash memory. The df.fs contains the commands and data to program the data flash memory contents. Most pe\ople seem to work with the df.fs file.