Post Go back to editing

Unstable JTAG connection to custom board with ADSP-21489

Hi all,

I am having some problems with a custom board that is based on ADSP-21489. I have been able to use USB-ICE to communicate with the DSP on the custom board for quite a number of days. However, recently I keep getting the following errors in both VisualDSP as well as CrossCore Embedded Studio:


Unable to halt processor. JTAG communication failed.

You may need to exit the debugger and reset the target hardware to correct this problem.

If I choose Do Not Disturb instead of Halt Then Reset in the USB-ICE device properties, I see that the processor is "Running" but when I halt or reset the core manually I get these messages:


JTAG scan failed - Check target power and emulator connection.

JTAG scan failed - Check target power and emulator connection.

Failed first NOP block scan.

JTAG scan failed - Check target power and emulator connection.

Failed second NOP block scan.

JTAG scan failed - Check target power and emulator connection.

JTAG scan failed - Check target power and emulator connection.

JTAG scan failed - Check target power and emulator connection.

DSP could not generate emulator interrupt

JTAG scan failed - Check target power and emulator connection.

I am using an external oscillator as well as ADM809 supervisory IC to ensure RESET is low for at least 240ms at power up.

Since I have established JTAG connection with the DSP on the custom board before, the JTAG connection should be OK.

Any ideas on where to start troubleshooting will be helpful.

Parents
  • I have double-checked and the board has the BOOT_CFGx pins wired for SPI master. I am not sure what else I need to check. This issue with the custom board occurs on and off, sometimes we can always halt and reset the processor before a debug run with a .dxe file, sometimes it just refuses to halt. It happens more frequently if a .ldr is loaded into the flash chip connected via SPI. Any suggestions to help with the troubleshooting will be great.

Reply
  • I have double-checked and the board has the BOOT_CFGx pins wired for SPI master. I am not sure what else I need to check. This issue with the custom board occurs on and off, sometimes we can always halt and reset the processor before a debug run with a .dxe file, sometimes it just refuses to halt. It happens more frequently if a .ldr is loaded into the flash chip connected via SPI. Any suggestions to help with the troubleshooting will be great.

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.