Post Go back to editing

Where to write in EEPROM "set multiple writeback" ?

Here the problem. I read in the ADAU1701 datasheet, that I have to set "Set multiple writeback" so that every time I change parameters, a writeback occurs... By default writeback is only enabled "one time" (normally used during power down). Could someone show me the position and the value of the byte I have to modify? In Sigmastudio Hardware configuration IC2, in the Display File, could someone tag the hex number I have to change to set multiple writeback? There's something other parameter to "enable" writeback in the EEPROM?

Thanks a lot,

Charlie.

Parents
  • Hello Charlie,

    I would like for you to try this out if you can. Today I wrote several small programs and looked at the EEPROM Hex files that resulted from these programs. It does not appear that this SigmaDSP uses a checksum like the Sigma300/350 parts do. So I think you can simply go in and change one of the NOP instructions to a Multiple Writeback instruction.

    It is not easy for me to test this here so if you don't mind testing this that would be great. So no guarantees but it is worth a try.

    The picture below is from the datasheet showing the EEPROM file format. After the first 8 bytes there are a lot of the NOP commands, (0x03). If you could change one of these NOPs to be an 0x04, then it may set the part into the Multiple Writeback mode. I circled the first NOP in the screenshot. So read bye 9 and it should contain a 0x03.

    Now you can do this from the Read/Write window for the EEPROM. You get to it by going to the config page where you connected the DSP as IC1 to the USBi interface and you connected the EEPROM as IC2.

    So compile your program and download it. Then write the latest compilation to the EEPROM. Then open up this Read/Write window.

    Click on "Read E2 Prom to Display" and wait... it can be slow.

    Then change the first NOP from a 3 to a 4. Then click on "Write Display to E2Prom". Then go for a cup of coffee. It takes a while. It will write all the zeros.

    Then boot up and try it. I will have my finger's crossed!

    Here is a screenshot of the Read Write window and the byte I changed.

    Dave T

Reply
  • Hello Charlie,

    I would like for you to try this out if you can. Today I wrote several small programs and looked at the EEPROM Hex files that resulted from these programs. It does not appear that this SigmaDSP uses a checksum like the Sigma300/350 parts do. So I think you can simply go in and change one of the NOP instructions to a Multiple Writeback instruction.

    It is not easy for me to test this here so if you don't mind testing this that would be great. So no guarantees but it is worth a try.

    The picture below is from the datasheet showing the EEPROM file format. After the first 8 bytes there are a lot of the NOP commands, (0x03). If you could change one of these NOPs to be an 0x04, then it may set the part into the Multiple Writeback mode. I circled the first NOP in the screenshot. So read bye 9 and it should contain a 0x03.

    Now you can do this from the Read/Write window for the EEPROM. You get to it by going to the config page where you connected the DSP as IC1 to the USBi interface and you connected the EEPROM as IC2.

    So compile your program and download it. Then write the latest compilation to the EEPROM. Then open up this Read/Write window.

    Click on "Read E2 Prom to Display" and wait... it can be slow.

    Then change the first NOP from a 3 to a 4. Then click on "Write Display to E2Prom". Then go for a cup of coffee. It takes a while. It will write all the zeros.

    Then boot up and try it. I will have my finger's crossed!

    Here is a screenshot of the Read Write window and the byte I changed.

    Dave T

Children
No Data