- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If JTag is reconfigured to uart_0, then printf is re-directed to COM port. How do I use JTag for Console printf while COM port printf is directed to COM port? how to do that? any simple example that shows that capaiblity? Thank you, OneplusOne.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'figured out. Use fopen and fprintf.
Thank you, Oneplusone- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or just assign one or the other to the stderr device and have it automatically opened/closed, just like the stdin/stdout. I use this for printing... wait for it... error messages!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page