I have an LPC804 design, all IC connections to JTAG connector, chip connections are correct. Tried with Keil and then with MCUXpresso with LPC Link2 an cannot connect to the target. These are new prototypes the LPC804 has not yet been programmed so should not have the SWD disabled.
I have tried the usual recommendations, i.e. ISP boot. Looking for other suggestions. I've done many NXP micros and have never had an issue.
Schematic, note ISP was moved to the correct input PIO0-12:
Solved. The issue was that the dual supply version (111 vs. 101) for the 24 pin part was installed on these prototypes. On 111, pin 3 is I/O power connection.
Hi Mark Kraft,
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
The LCP804 definitely supports the SWD interface, in the OM40001board, it uses the SWD interface to debug the target LPC804.
I find a weird thing, the pin assignment of the SWD interface is in contrast with the routine SWD interface (Fig 1), it may be a cause of the issue.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
The OM40001 you mention does not use pin 6 or 8 of the 10-pin JTAG connector, check the schematic. Your image does not match the OM40001 connections. The LPC804 does not support SWO to my knowledge. TDI is not used with SWD.
My 10-pin connector matches the OM40001 eval.
Hi
Thanks for your reply.
Fig1 presents the standard diagram of the Cortex Debug interface, it not only supports the SWD interface but also can support the JTAG interface.
In your design, the pin assignment of the SWD interface is in contrast with the routine Cortex Debug interface.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
That's true that it will also support JTAG. Here is the snapshot from the OM40001 eval board schematic which shows the minimized debug connections. Look at the zip posted by converse as well. Look at the application info in the LPC804 datasheet, look at the SWD, chapter 28 of the LPC804 UM. Connections 6 and 8 are not necessary for SWD to work.
You can download the schematic from here
https://www.nxp.com/downloads/en/printed-circuit-boards/OM40001-PCB.zip
Thank you. I already have this file. We actually bread boarded our design using this eval board.