How to view PIC32 UART1 output in MPLABX simulator?

I am using MPLABX v1.80, xc32 V1.21 and a uart sample for a microchip (base sample).

I chose the simulator in the project properties. I turned on UART1 to display a window in the project properties.

I tried to compile using both UART1 and UART2. However, I cannot find where the exit goes.

Sample code here: http://ww1.microchip.com/downloads/en/DeviceDoc/PIC32_UART_CodeExample_041613.zip

Thanks for any help.

+4
source share
1 answer

The MPLABX environment uses UART1, and the sample code uses UART2.
I recompiled after changing UART_MODULE_ID to UART1 in uart_basic.c, and now MPLABX displays the UART 1 output tab with output.

+1
source

Source: https://habr.com/ru/post/1482616/


All Articles