Hi All,
I ported the BSP from K60F120M to my target board. I want to try the UART communication using MQX RTOS.
But when I try to debug it, it always gives me lost connection error.
When I try to step in it and find which part cause this problem, at first step(when try to disable interrupt and clear flags), it gives me error:
"Target request failed: Failed to step, An error occurred while trying to Step in target."
I checked my debugger setting, it is already set to disable interrupt when stepping.
Any advices will be appreciated.
Thank you.
-Daniel
已解决! 转到解答。
I figure it out. Because the ttya in the library is mapped to PTA1 and PTA2 which are also used for JTAG on my board.
I need to reconfigure the pin for it and it works.