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.

ADS122C04EVM: Can't load register file although device package is correct

Part Number: ADS122C04EVM
Other Parts Discussed in Thread: ADS112C04, , ADS122C04

I also have an issue loading the register map and it also has something to do with a confusion between ADS122C04EVM and ADS112C04EVM, however my board (ADS122C04EVM ) matches by device package "ADS122C04-dvcpkg.exe" which I ran and filled the folder ADS122C04. Strangely, when the GUI starts up first says "Unable to identify device = ADS112C04" before it changes to "Hardware Connected. Ready..." Why is it trying to connect to the wrong board? Thanks

  • Hi Andrey,

    Are you absolutely sure you have the ADS122C04EVM (24-bit version)?  Most often we have seen the user think they have one EVM when it is actually something different as there are both 24-bit and 16-bit versions of the EVM.  You can verify that the device installed on the EVM is the ADS112C04 which is the 16-bit version of the device.  Note the package marking on top of the ADC installed on the board.

    Apparently the firmware being used is for the ADS112C04 which requires that the ADS112C04EVM-DVCPKG be downloaded and installed.  The firmware is installed as a part of the test procedure when the board is manufactured.  If you install the correct device package for the firmware installed on the EVM you should be able to connect.

    Best regards,

    Bob B

  • Hi Bob,

    Please see pictures of the board's sticker "ADS122C04EVM" and part marking "ADS122C", so I'm not sure how it can be ADS112C04. Strangely, I did try the ADS112C04EVM-DVCPKG and now I do see the register map. Do I need to update the board's firmware somehow?

    Also, if I were to change the I2C address on the ADC (e.g. populate R55 instead of R57), is there a way to set that in the GUI or can it only handle the default address? 

        

    Thank you,

    Andrey

  • Hi Andrey,

    It appears you did proper diligence in determining the issue.  This has happened once before and I would suggest you read the following thread:

    https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/1032112/ads122c04evm-adc-identifies-as-ads112c04-chip-in-evaluation-software/3818149#3818149

    As you can see from this thread, there is some risk in doing this which could render the EVM totally unusable.  I would send you another EVM, but due to supply issues in building the EVMs we currently are out of stock and it could be months before more become available.

    Best regards,

    Bob B

  • Hi Bob,

    I downloaded the LM Flash Programmer tool, but there are no instructions for how to flash the EVM. Any chance there is a screenshot of how the four tabs should be configured? I don't know how to work with batch files, so I'm hoping the tool is enough.

    Also, back to my earlier question about an alternate I2C address...is there a way to change that in the GUI? 

    Thank you very much,

    Andrey

  • Hi Andrey,

    As to the I2C address, no you cannot change the address in the GUI.  However, there is a routine in the firmware that checks the communication and selects the address and stores it in volatile memory when an ACK is received.  So you should be able to manually change the address if desired by hardware.

    As to the LM Flash Programmer Tool, it has been many years since I have actually used the tool.  Normally I run the batch file.  As far as using the tool, there is a Help button on the upper right corner of the screen.  First you need to erase the flash memory in the microcontroller.  Plug the USB cable into the EVM, then press and hold the RESET button (S4) and then press and hold the BSL switch (S2).  Release the RESET button, count to five and release the BSL button.  Unplug the USB cable and plug back in.  Verify that the EVM is in DFU mode by checking the Device Manager.  You should see something similar to what is shown below.

    Open the LM Flash Programmer tool and the first tab is the Configuration and should appear as shown:

    Press the Refresh button and you should see the available DFU device:

    This device should be highlighted as shown, and then select the Program tab.  In the Select .bin file box, Browse to the desired file location where the firmware is located.  This will be located in the folder where the DSEvalSW\Devices is located. such as:

    Documents\DSEvalSW\Devices\ADS122C04\fw\ADS122C04_v1.0.0.bin

    Once the correct file is located and selected, press the Program button.

    That should be all that it takes.

    Best regards,

    Bob B

  • That worked, thank  you Bob! I was surprised to find that the USB DFU interface option only became available after I performed the initial button pressing steps. 

    Note that Mouser did have a few boards in stock and I just received one. It has the same issue as the original board that I purchased from DigiKey (I confirmed the sticker and part marking), so there must be a larger issue where the 3rd party supplier is generally not programming them correctly.

    Thanks again,

    Andrey