AnsweredAssumed Answered

Cannot use SWO Trace function of MCUXpresso IDE

Question asked by Toshiyuki Takagi on Aug 28, 2019
Latest reply on Aug 29, 2019 by LPCX presso support



I would like to use the SWO Trace function to debug my code.
However, the following error occurs and it cannot be used.


"Failed to configure the target for SWO - may not be supported on this target."


The working environment is as follows:
 - TWR-KE18F (Target board)
 - LPC-LINK2 (Debug probe)
 - MCUXpresso IDE v11.0.0


The boards are connected as follows:
 PC ⇔(*1) LPC-LINK2 ⇔(*2) TWR-KE18F


 *1 USB cable connection
 *2 JTAG connector connection (10pins)
     LPC-LINK2 is connected to J7.
     TWR-KE18F is connected to J10.


With this connection, I can download the program to the target board and supply power.


How can I use the SWO Trace function on this target board?
If the SWO Trace function cannot be used, let me know if there are other similar functions.


Best regards.