- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I'm having some problems debugging with jlnk
1、How to achieve uart printing when using jlink for debugging
2、When debugging, the program does not stop when it encounters a breakpoint, and the breakpoint is invalid
I hope you can help me answer these two questions, thank you very much!
Solved! Go to Solution.
- Labels:
-
Automotive Legacy Products
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please find my comments for your questions below:
1. The procedure for achieving UART prints is same even if JLINK is used/not used for debugging. However, there are chances for occurrence of garbage data along with the UART prints. Please refer to the following KBA which mentions a workaround to fix this issue:
2. I find that another thread is already created for the same issue. The link to the duplicate thread is given below:
https://community.cypress.com/t5/USB-Low-Full-High-Speed/CX3-JLINK-DEBUGGING/td-p/269347
I have already shared my comments regarding this issue in the thread mentioned above. Let us carry forward our discussions related to this issue in the same thread.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please find my comments for your questions below:
1. The procedure for achieving UART prints is same even if JLINK is used/not used for debugging. However, there are chances for occurrence of garbage data along with the UART prints. Please refer to the following KBA which mentions a workaround to fix this issue:
2. I find that another thread is already created for the same issue. The link to the duplicate thread is given below:
https://community.cypress.com/t5/USB-Low-Full-High-Speed/CX3-JLINK-DEBUGGING/td-p/269347
I have already shared my comments regarding this issue in the thread mentioned above. Let us carry forward our discussions related to this issue in the same thread.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Where can I see the print information when I use jlink debbuging, do I need to follow other software?
Best Regards,
Yaqi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Yaqi,
The UART prints can be seen using Applications like Tera Term on Windows.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jayakrishna,
I have downloaded Tera Term, but I don't know how to set up the connection to make it work, can you tell me the exact steps to set it up?
Best Regards,
Yaqi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Yaqi,
Before opening teraterm, the UART lines of the device (CX3) should be connected to the PC using a USB-UART bridge device. I hope you have done this. If not, please do this.
After opening teraterm, follow the steps given below:
1. A new connection popup will open up as shown below:
2. Select Serial and select the appropriate COM Port using the drag down.
3. After this, go to Setup->Serial Port. This will open a new popup as shown below:
4. Change the speed to 115200 and select New connection.
This should give you the prints on teraterm.
Jayakrishna