Hi there,
i have a board with a Lattice XP2 FPGA and a Cortex-M3 Controller (LPC1778). The devices are chained on the JTAG (first is FPGA). The FPGA programmer can program the FPGA without errors. The Microcontroller is shown as a "NOP" device. That's OK. But uVision will fail to detect the chain.
From debug options i have used the "ULINK cortex debugger". From the settings menu, i can choose between automatic and manual JTAG configuration. The automatic config will fail completely with "JTAG Device Chain Error". When selecting the manual config, i can see the two devices and their JTAG IDCODES. The IDs are OK, but i can not select the Controller so flashing and debugging over JTAG will not work. The device name fields are empty. I am using uVision 4.22 and an ULINK.
Regards Philipp