Hi all.
When accessing (both read or write) an external FPGA connected through GPMC the CPU get stuck. Jtag emulator (onboard FT2232, schematic cut&paste from ICE demoboard) is unable to halt CPU, and error console shows this error:
CortxA8: Trouble Halting Target CPU: (Error -2062 @ 0x1FE) Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.899.0)
What does this message means? These are the test conditions:
- for loop writing zeros to fpga, 64 times, starting from address 0x08000000, address incremented every write:
...
volatile unsigned short int *data;
data=(volatile unsigned short int*)0x08000000;
for (index=0; index<64; index++)
{
data[index]=0x0000;
}
...
- FPGA is not programmed yet, so every pin is tristated;
- I can see one single bus access (\CS, ALE and \WR signal tranisions at expected timings) then CPU/Jtag stop responding.
- the same application, running on ICE demoboard, works fine... I can see all signals swinging with exact timings as expected.
Please, help!