Hi, Muralidhar,
If I understand you correctly, you want to configure the GPIO of LPC54608 controller as JTAG signals or SWD signals so that the LPC54608 can debug the other processor via JTAG or SWD ports, right?
BR
XiangJun Rong
Suggest you take a look at the CMSIS-DAP source code here:
CMSIS/CMSIS/DAP/Firmware/Source at master · ARM-software/CMSIS · GitHub
CMSIS-DAP is the open source debug probe firmware developed by ARM. I don't think there is a port to LPC54 parts, but there are lots of ports to other LPC hardware, so should be relatively easy to port.
Hi, Muralidhar,
I suppose you would like to develop the code similar as the LPCScrypt tools. But I suppose that the JTAG and SWD code are confidential.
BR
XiangJun rong