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.

BQ40Z50-R2: BQ40z50-R2: SMBusCommandGenerator Python Application - Writing .srec File

Part Number: BQ40Z50-R2
Other Parts Discussed in Thread: BQ40Z50,

Hello TI expert,

I would like to program BQ40z50 device .srec with Python application. Do you have any Python source code available to write the program or refence python source code?

I was going through some of the Thread, writing .srec with Python using SMBusCommandGenerator Python application for BQ78350-R2-Device-FW and  response to this request.

is their Python application for BQ40z50 ? Please help and advice.

Can you please share SMBusCommandGenerator Python application for BQ40Z50-R2 ?

Best Regards,

Suresh 

  • Hi Suresh,

    I don't believe we have such an application available for the BQ40Z50. You can, however, create a Python application that does the programming yourself. The .srec file is the Motorola S-REC file which basically outlines the data values for each address (there's a nice breakdown of the structure on Wikipedia). You could use that to program the data flash through SMBus.

  • Hi Albert, 

    Thanks for the response.

    How about writing .srec with Python using SMBusCommandGenerator Python application for BQ78350-R2-Device-FW ? and  responded to this request. 

    Can I have you SMBusCommandGenerator source code as reference to start with?

    Regards,
    Suresh