I've been having an issue with using the LPC-Link2 debugger with the MIMXRT1052-EVK evaluation kit and I'd like to know if anyone has seen anything similar?
The issue is, when debugging code which displays an image on the LCD, the LPC-Link2 loses debug connection with the dev kit as soon as there an image on the LCD. Error message is:
16: Target error from status-poll: Ee(FF). Redlink interface error 255.
Debugging context: evkmimxrt1050_usb_examples_host_hid_mouse_keyboard_freertos Debug
My set up is:
Now obviously the workarounds aren't ideal as my application depends on using an LCD, I need to debug my code, OpenSDA is very slow (and I won't be installing in our our product's custom PCB) and J-Link are expensive when having to buy for whole development team!
I've tried shielding the LCD FPC and the LPC-Link2 JTAG cable. This had no effect. Does anyone else have any suggestions or insight as to what may be occurring?
Do you mean that the issue occurs even when the LCD interface itself is running, but the pixel data are constant (all black or all white or all any other color) causing no transitions on the LCD data lines? If so, it actually looks like some crosstalk between the LCD data signals and JTAG signals. Try to check the JTAG signal integrity with the oscilloscope.
Another hint is that it's always better (from the signal integrity point of view) to have the common ground for the board power supply and the probe power supply. So, try to power the board through the USB OTG port connecting it to the USB Host port of the same PC which you connect your LPC-Link2 probe to.
Have a great day,