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.

TAS32044 EEPROM memory map

Other Parts Discussed in Thread: TAS3204

Hi there,

I have to alter the coefficients in the boot EEPROM connected to the TAS3204 by MCU.

I know the I2C address of the coefficients in the TAS3204´s coefficient memory.

How does the I2C address correspond with the address in the boot EEPROM?

Thanks for any help.

Thomas

  • Thomas,

    I am afraid I don't quite understand the question.  As far as I understand, once TAS download from EEPROM is done, the I2C mode would change and TAS won't talk to EEPROM any more.

    If you want to alter something in the EEPROM, why not redownload it from PPS?  Anything prevent you from doing that?

    Please give us more details, if I can't answer, I'll try to find someone who knows more about boot process for help.

    Susan

  • Nice to hear you again, Susan.

    Let me explain the system:

    Our customers are using the DeToma AmpTool Software (see pictures attached) to measure frequency responses and control the DeToma DSP amplifier.

    The DeToma DSP amplifier has build in a MCU to control the TAS3204 and the power amp. The MCU will program the EEPROM the TAS will boot from and the MCU has to alter the coefficients in the EEPROM.

    Therefore I need to know where to find the data that the MCU will store in the EEPROM and more than this I have to know how to find the coefficients in the EEPROM.

    Thanks.

    Thomas

     

  • Thomas,

    Sorry, I am still trying to understand the problem:  Are you trying to change the coefficients during runtime or during boottime? If it's boot time, why not just change the image at the first place?  if it's runtime, MCU should communicate with DSP instead of EEPROM.

    Also, another question: are you using master download or slave download?

    Thanks,

    Susan

  • Susan,

    let me try again:

    On power up the Tas3204 will master boot from the eeprom. Than during runtime when our customer is using the DeToma AmpTool software to do his calibrations the coefficients are altered in the TAS3204. Than when the customer is happy with his calibration he clicks the button  "Save Parameters to Amplifier" as you can see in the picture attached. So on the next master boot the TAS3204 will boot with the new coefficients. So I have to write them to the eeprom.

    To do this I will have to know:

    Which is the image file to load into the eeprom

    and where are the coefficients stored within that file?

    Thanks.

    Thomas

  • Thomas,

    Thanks for the explanation, I think now I understand what you want to do.  How did you generate the image that was stored in EEPROM before the tuning?  Was is generated by PPS?  So after that, you use the tuning tool from DeToma to calibrate...

    The image file loaded into EEPROM is the .hex file generated by PPS, but where to find those coefficient, I really don't have much idea.  Let me ask around to see whether I could get some help from other people.

    regards,

    Susan

  • Yes Susan,

    the image was generated by PPS.

    Then I have to download it to the EEPROM by MCU.

    And alter the coefficients by MCU in the EEPROM.

    So I have to know where the coefficients are and how to store the altered coefficients. Checksum or anything?

    Thanks for any help.

    Thomas

  • Thomas,

    I've asked around, so far, no positive answer yet.  Basically, tuning with PPS would be the easiest, after tuning, just rebuild, the image would be in EEPROM automatically if it's the master download...

    I have an idea, not sure whether it worth a try or not.  Since in the EEPROM image just a collection of I2C commands, we could add a series of commands at the end of the old EEPROM image with the updated coefficient, so the old ones would be overwritten after the whole EEPROM image is downloaded to DAP.  But need to make sure it's a valid image, otherwise DSP won't boot up from it.

    regards,

    Susan

  • Well Susan,

    PPS is writing the coefficients to the EEPROM so there must be a way to find them in the EEPROM and overwrite them.

    Thanks for finding out how to do this.

    Have a nice weekend.

    Thomas

  • Thomas,

    Just got some info from my boss, I am trying to digest it myself, but maybe it's useful info for you to start with to see whether it's can be any helpful.

    There is a .map file that's generated by PPS when build the image file and in it, it listed all the sections being written to the EEPROM as well as the beginning address in EEPROM.  And in the image file, you could see all the sections with the actual data.  You should be able to calculate the address of a certain coefficient by adding the offset to the beginning address of that section. though it's not an easy and automatic way.

    I'll try to understand it more, since I am not familiar with the format of the image file. 

    Susan

  • Fine Susan,

    but do we have to take any checksum in account?

    Thanks.

    Thomas