- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to get the DebugPrintf function working in CE220331 example project, and do not get anything via Tera Term.
I have enabled #define UART_DEBUG_ENABLE (true) in uart_debug.h .
Any hints would help.
Thanks
Brian
- Tags:
- debugprintf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brian,
With #define UART_DEBUG_ENABLE (true)
Does your project compile without error?
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I noted "I have enabled #define UART_DEBUG_ENABLE (true) in uart_debug.h .".
I also enabled the UART debug feature, right-click the UART_DEBUG Component in the TopDesign schematic and select “Enable”.
<Does your project compile without error?>
No errors, it all works except, the UART DebugPrintf outputs nothing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brian,
Check to make sure the following GPIO connections are made for UART_DEBUG:
If the pins are wrong, the Tx output will not go to the KitProg on the 062 Kit.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brian,
I have a question: Where did you find the FreeRTOS source and header files for the PSoC6?
It is not included in the CE220331 example as indicated in the project instructions.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brian,
I found out how to reference the FreeRTOS.
I compiled the project with #define UART_DEBUG_ENABLE (true) .
I do get terminal output.
Any feedback?
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content