Hello everyone,
I use NXP MIMXRT1052 as MCU in a display project and have problem about installing the software to my board. I am using LPC-Link2 for debugging the software and made connections according to JTAG interface. The connections between my board and LPC-Link2 are in attach.
What is my mistake ? Can LPC-Link2 be used for installing the software this way or what is the easiest way for debugging?
Thank you for your time and help!!
Hi @diego_charles ,
Thank you for your answer. We have LPCLink2 and prepared software but we can not install the software our MCU via LPCLink2. We use MCUXpresso for installing the software.
I made the all connections with your hardware guide as you mentioned above and also connected the JTAG_MOD to GND via 4.7k resistor. My connections can be seen in figure in below. Also, I am adding connections of MCU side.
Are these connections wrong for debugging our MCU via LPCLink2 ?
We take an connection error when we make these connections . That's why , we thought our hardware connections was missing.
Thank you.
Hi @BUras
Thanks for your reply!
I have not seen major issues within your HW connections, I hope not to miss anything. However, below I request a bit more of information.
1 Could you please provide me the log you see when attempting to program your MCU?
2 Is this a new desing you are trying to program for the first time? If not, do you know what was programmed into your MCU?
I have a couple of pointers for you:
If you are still not able to debug the MCU over JTAG/SWD, try to see if you can communicate with the ROM bootloader over UART or USB (if your desing does enables this )
Set the MCU into serial downloader mode ( set boot mode pins to this mode according RM ) and try to connect with the MCU using a tool like our MCUXpresso Secure Provisioning Tool. This communication is over BootROM dedicated LPUART1 or USB1 port. The actual pins for the ports are described in our user manual.
Best regards,
Diego
Hi @BUras
I hope you are doing well!
Would you be able to further describe your problem?
Here is an snapshot from our RT1050 Hardware Development Guide ( MIMXRT105060HDUG ) JTAG interface connection termination. I do not see the JTAG mod setting in your picture, could you confirm if the termination is made as we recommend for JTAG?
Yes, the LPC-Link 2 can be used for programming debugging over JTAG or SWD the RT MCUs. Also, it can work with the same HW connections for the FREELINK, mentioned in the above picture.
All the best,
Diego