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.

PGA900: Can't read the memory of PGA900 through XDS200

Part Number: PGA900
Other Parts Discussed in Thread: PGA970, USB2ANY, UNIFLASH

Hi:

Recently, we downloaded the firmware to the boards with PGA900 through XDS200, we found that 1 board can't read the memory, the other 49 boards were OK. we tried several times, there were still no use.

I checked the voltage for AVDD and DVDD, voltage for AVDD is about 3V and voltage for DVDD is about 1.9V. I think there are OK.

I don't know the reason.

I want to know any other reasons can cause this problem?

I'm looking forward to your reply.

Thanks and best regards!

Kim

  • Hi Kim,

    What was the error message? Most common I’ve seen is the device is stuck in reset where MCU_INTERFACE needs to be changed back the MCU mode instead of in Reset.

    Another reason is an FRAM parity error has occurred. You can read from the FRAM_STATUS register and see if the bit is set. This sometimes happens after programming firmware into the device.

    Can you talk to the device via I2C? If you have the EVM and USB2ANY, you can connect the SPI pins to the PGA970 SPI pins and communicate using the GUI. I would read all the status registers to check for clues  

    Best,

    -Cole

  • Hi Cole:

    Thanks for your reply.

    There was no other error message. Just I can't read the memory by uniflash through XDS200 and can't program the firmware into the device (via SWD).

    If can we talk to the device via I2C?  We need to check. But according to the previous experience, I think this may not.

    Thanks and best regards!

    Kim

  • Hi Kim,

    If you're not getting an error message, then something is fundamentally wrong.

    Let's ensure you have the correct settings for the debugger. Please see the correct settings below:

    This is a typical error message of what happens when you can't read from the device.

    Unless you're saying that every looks good and you only get ??? in memory banks for every single location you read.

    Note, I'm using the browser version of Uniflash, I won't recommend any older and local version of the software.

    Best,

    -Cole

  • Hi Cole:

    The settings of the Uniflash like below pictures, and when I clicked  "read target device",  no any error message showed, it just showed loading .

    I use the desktop version of Uniflash . I confirm the version of uniflash and connecting of XDS200 is no problem, because we programmed so many PGA900s with same version 、setting and xds200.

    Thanks and best regards!

    Kim

  • Hi Kim,

    Thanks for the context. Unfortunately, I haven't heard of this issue before.

    Can you go to the program tab and try to verify the values against some .hex file? The .hex file doesn't need to match what's already inside the device, we just need to see if it'll throw an error on the other page or also get stuck.  

    In addition, is it possible to check the impedance of those pins when the device is not powered? We should make sure its not damaged in some way.

    Best,

    -Cole