Hello,
i try sample program serialexa.c with devenloped board on the RCM3700 module, but program doesn’t work. From TCP to serial i can read data, but from serial to TCP i can’t read data. Program does’t store data to the input serial buffer.
Did you change the define of SERIAL_PORT to 3 or 4 instead of the default of 2? The SERIAL_PORT definition sets which port to use and by default is 2 which selects port B. On the RCM3700, port B is used for the on module serial flash chip and cannot be used by this application. Select 3 or 4 to get to port C or D respectively. Both are wired to RS-232 drivers on the development board for the RCM3700.
[QUOTE=koutasek;28]Hello,
i try sample program serialexa.c with devenloped board on the RCM3700 module, but program doesn’t work. From TCP to serial i can read data, but from serial to TCP i can’t read data. Program does’t store data to the input serial buffer.
Yes, I did. I try D and C port too. When i send some text data to TCP interface i can read on COM2 port this same data, but when i send some text data to the COM2 port i can�t read in tcp interface
I try some sample program for serial comunication 3 wire(RCM3700/SERIAL/SIMPLE3WIRE.C) and this program have some function: brdInit();, whitch is not included in serialexa.c. Maybe it’s the problem. But when I use this function in serialexa.c it dishables tcpip interface
Yes, I did. I try D and C port too. When i send some text data to TCP interface i can read on COM2 port this same data, but when i send some text data to the COM2 port i can�t read in tcp interface
I try some sample program for serial comunication 3 wire(RCM3700/SERIAL/SIMPLE3WIRE.C) and this program have some function: brdInit();, whitch is not included in serialexa.c. Maybe it’s the problem. But when I use this function in serialexa.c it dishables tcpip interface
What do you have the serial port connected to? If it is a PC, do you have the handshaking lines looped back. A PC serial port may not transmit without RTS-CTS and in some cases DTR-DSR being connected together. You can check this with a scope or an LED based serial monitor that would show whether you have activity on the PC’s transmit line when you’re sending data from the PC. I would verify this as that could cause a situation where the PC is receiving data but not sending it.
If that doesn’t help, let me know what version of Dynamic C you are using. Also, how are you connecting to the TCP/IP port on the network side?
[QUOTE=bsprouse;38]What do you have the serial port connected to? If it is a PC, do you have the handshaking lines looped back. A PC serial port may not transmit without RTS-CTS and in some cases DTR-DSR being connected together. You can check this with a scope or an LED based serial monitor that would show whether you have activity on the PC’s transmit line when you’re sending data from the PC. I would verify this as that could cause a situation where the PC is receiving data but not sending it.
If that doesn’t help, let me know what version of Dynamic C you are using. Also, how are you connecting to the TCP/IP port on the network side?[/quote]
Hi,
I using only 3 wire for conectiong. TXD,RXD,GND - for some digital voltmeter.
I fixed my prolem by this functrion: brdInit(); i put this function to the main() and sample worked
thx for help and suppor