Dear ADI Support Team,
We are encountering an issue when using the ICE-1000 emulator to connect to two ADSP-21565 devices via JTAG daisy chain. The details are as follows:
Hardware Configuration:
-
Two ADSP-21565 devices on the same board, connected via JTAG daisy chain.
-
The two DSPs share a single SPI Flash, which is accessed through DSP0's SPI interface. Flash model:w25q256
-
Emulator: ICE-1000.
Programming Architecture:
-
We are using the configuration file
P567_DSP0.iniwith the intention of programming the complete program for both DSP0 and DSP1 into the shared SPI Flash via DSP0. -
The program has been successfully programmed via UART in the past, and both chips boot and work normally after programming. We have confirmed that Secure Boot is NOT enabled in our program code.
Issue Description:
-
When the Flash is already programmed (via UART), both CCES debugger and CLDP.exe can connect successfully.
-
When the Flash is completely blank, CLDP.exe fails to connect with the following error:
PS> .\runtime\cldp.exe -driver .\driver\w25q_dpia_21565.dxe -config .\config\P567_DSP0.ini -cmd prog -erase affected -format hex -file A.hex
Target Emulation Debug Target
Platform P567_DSP0
Processor ADSP-21565
Core 0
Driver .\driver\w25q_dpia_21565.dxe
Error: [TpsdkServer] Failed to connect to processor.
Error: 0x80048083
Error Description: Failed to connect target
-
ICE Test passes all 5 tests, indicating the physical JTAG link is working properly.
Configuration File P567_DSP0.ini Content:
[Platform]
Name = P567_DSP0
Platform Type = ICE-1000
Description = P567_DSP0
Device ID = 0
JTAG TCLK Frequency = 0
[Device 0]
Name = Device 0
Device Type = ADSP-21565
IR Width = 5
[Device 1]
Name = Device 1
Device Type = Unknown
IR Width = 5
What We Have Already Tried:
-
Set DSP0 boot mode to "No Boot".
-
Power cycled both the board and the ICE-1000 emulator.
-
Confirmed that the Flash driver (
w25q_dpia_21565.dxe) matches the actual Flash part on the board. -
ICE Test passes all tests.
Our ultimate goal is to reliably program the dual-core program into the shared Flash via ICE-1000 even when the Flash is completely blank.
We would greatly appreciate your guidance on this issue. Thank you for your support!
