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.

Flashstream

Other Parts Discussed in Thread: BQ30Z554-R1

I'm working on our production process for our bq30z554 and have been able to read/write from flash using an Aardvark I2C device.  Judging from the scattered information I have found, it sounds like I need the Flashstream utility to create a *.dffs file.  Is this correct?

If so, where can I download the Flashstream utility?  Are there any examples to look at?

Thanks,

Kyle

  • Kyle
    Flashstream and the dffs files only apply to our devices that have I2C interfaces. The bq30z554 has an SMBus interface. It is true that these interfaces are almost the same, but unfortunately SMBus is not supported. We have .rom files to support programming the data flash on these devices. We have application notes to help with manipulating the .rom file and I can send a link when I get back to the office this afternoon.
    Tom
  • Tom, can you please send me the link to the app notes you mentioned? Thanks!
  • Kyle
    There is some information in the bq30z554-R1 TRM on reading and writing the data flash. You can also find some VB6 examples in this applications report. Search for SLUA379E on the TI website.
    Tom
  • I have read the documentation on reading/writing to flash.  I have implemented a read-modify-write routine for the data flash and verified it on some non-critical flash locations (manufacturerInfo).  I've gathered information from other bq documentation, but need to confirm a few things since other devices use different command codes.

    1. I'm assuming I need to put the device into ROM mode before erasing and writing DF.  Is this correct?

    2. The TRM for the bq30z554-r1 does not show an erase command.  What is the command to erase a DF row?

    3. Are the commands the same to read and write DF when the device is in ROM mode?  If not, what are the ROM mode commands for the bq30z554-r1

    Thanks,

    Kyle

  • You will need to place the gauge into ROM mode before writing the dfi or rom file to the flash memory.

    The code to erase the memory should be the same as the code used to erase the memory shown on page 4 of the SLUA379E document.

    The SMBus and MAC commands are not valid when in ROM mode. The only thing that you can do when in ROM mode is read and write blocks of memory.

  • I've seen you say that TI no longer supports *.dfi files, and that I should use a ROM file at production because it prevents data being loaded on the wrong device. Will the ROM writing fail somehow if I try writing to the wrong device? How would I catch that during programming?

    Also, is there a way to add the bq30z554 to the bqTesterRomImager? The EV software only gives me a *.dfi file, and the bqTesterRomImager software does not list the bq30z554. Is there a location that I should copy the encr and ini files like I did for the EV software?

    As always, thanks for your help!
  • Kyle,
    It does not look like the bqTester ROM Imager can be used to export a .rom file from the bq30z554-R1 device. This tool writes 0f00 or 000f to the gauge to place it into ROM mode and the bq30z554-R1 requires that a 0033 be written to the gauge to invoke ROM mode. I looks like you will have to work with the .dfi file for this gauge.
    Tom