I am using Kinetis Design Studio 3.2 with KSDK 1.3 to work on Kwikstik K40 Rev 5.0.
If I create a new KSDK1.3 project, Use MQX_RTOS, Generate Code and Debug, I can Debug the project for the first time. If I try to Debug for the second time and later on I get the error as below.
"WARNING: CPU could not be halted
ERROR: Could not connect to target.
Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
I could build the project without any issues. I have attached the screenshot for reference.
I am stuck with this issue for more than 2 weeks. Your help would enable me to move forward.