Hi,
I am looking for a way to print out messages from FLEX board on a console on a Windows PC. I found a demo program using console_descriptor_t at RT-Druid C/C++ Project -> pic30 -> FLEX Demo Board -> Console demo.
My question is as follows:
1. Do I need a RS232 module to use this program for such purpose?
2. Currently, I am using a multibus daughter board with a full FLEX board. Can I use one of UART ports of the multibus board for this purpose? Do I still need a RS-232 module?
Thank you in advance,
Moon
Console demo with RS232 module?
Moderator: paolo.gai
Re: Console demo with RS232 module?
The basic idea is that the UART port is a serial port. The RS232 module just contains a MAX-232 chip to change the voltage to make it compatible with the PC serial port.
Be sure to program the console to the correct serial port you are using...
Ciao,
PJ
Be sure to program the console to the correct serial port you are using...
Ciao,
PJ
Re: Console demo with RS232 module?
Yes. I made it work with both UART1 (#define MY_FIRST_SERIAL 0) and UART2 (#define MY_FIRST_SERIAL 1) slots. I used the RS232 module and a hyperterminal at PC. There was a warning about strlen() during compilation but it worked fine.
Thank you,
Moon
Thank you,
Moon