ttyS2 cannot transmitt data on the panel-card

Hello everyone,

I am trying to communicate PC and Panelcard with serial port and used the example "terminal.c" from the CD.

I changed some settings like 8N1, and serial Port "/dev/ttyS2". The thing is, the Panel card receives data from PC well, but if I type in from Panel side, nothing happened to the console from PC, so could anyone give me some hints?

I would really appreciate that, thanks in advance!

best regards, Lei

Re: ttyS2 cannot transmitt data on the panel-card

Although I already answered your question with an email, for everyone who has the same problem:
The program was originally written for Portux920T and its modem card. When run on the Panel-Card, it reconfigures pin PC12, which is TXD1, but was just used as a GPIO pin in the program. To get it working, just comment out all the lines with references to PIO_C12. You can actually comment out lines 61-103. They are not needed for a working serial communication. You need to reboot the system, if you had the old version running before.

Re: ttyS2 cannot transmitt data on the panel-card

Thank you very much, it works now:)

Syndicate content