Hello,
I meet the same problem with this thread.
forum.segger.com/index.php/Thr…cannot-connect-to-target/
I'm trying to debug FRDM-K64F host msd command bm project from NXP SDK with a JLink EDU and a U-disk.
There are two USB ports, SDA USB and K64F USB.
Generally, I connect the U-disk with K64F USB port and power cable with SDA USB. It works when I debug with LinkServer option in the MCUXpresso IDE.
However, it's different when debug with JLink EDU.
If the power cable linked to the SDA USB and U-disk linked to K64F USB, the MCUXpresso will show an error that couldn't connect to the target when debugging with JLink EDU as the picture shown.
[img]https://community.nxp.com/servlet/JiveServlet/downloadImage/2-1353774-327858/pastedImage_1.png[/img]
If power cable linked to the K64F USB and U-disk linked to SDA USB, JLink Edu works and could debug the project. However, the demo project couldn't detect the U-disk and no attached eventBit flag is set.
Could you please help to explain this and how could I debug the USB demo project with JLink Edu?
Besides, I know the other debug option LinkServer works. But I have to use JLink for future development.
Thanks.
I meet the same problem with this thread.
forum.segger.com/index.php/Thr…cannot-connect-to-target/
I'm trying to debug FRDM-K64F host msd command bm project from NXP SDK with a JLink EDU and a U-disk.
There are two USB ports, SDA USB and K64F USB.
Generally, I connect the U-disk with K64F USB port and power cable with SDA USB. It works when I debug with LinkServer option in the MCUXpresso IDE.
However, it's different when debug with JLink EDU.
If the power cable linked to the SDA USB and U-disk linked to K64F USB, the MCUXpresso will show an error that couldn't connect to the target when debugging with JLink EDU as the picture shown.
[img]https://community.nxp.com/servlet/JiveServlet/downloadImage/2-1353774-327858/pastedImage_1.png[/img]
If power cable linked to the K64F USB and U-disk linked to SDA USB, JLink Edu works and could debug the project. However, the demo project couldn't detect the U-disk and no attached eventBit flag is set.
Could you please help to explain this and how could I debug the USB demo project with JLink Edu?
Besides, I know the other debug option LinkServer works. But I have to use JLink for future development.
Thanks.