Olimex Support Forum

Others => UEXT => Topic started by: bimodh on February 07, 2013, 10:01:47 AM

Title: MOD RS232 not working
Post by: bimodh on February 07, 2013, 10:01:47 AM
Hi guys,


I have a MOD-USB-RS232. I connected to my P.C having windows 7. It automatically installed the driver and created a COM port. I opened hyperterminal and connected to the COM port with Baud rate 9600, 19200, 115200 etc. Always, i am receiving the same error as follows.

UEXT test ERROR!
UEXT test ERROR!
UEXT test ERROR!
UEXT test ERROR!


What might be the reason?
Title: Re: MOD RS232 not working
Post by: hnlk on February 07, 2013, 10:50:39 AM
Hi,

I have the exact same problem. See my post here: https://www.olimex.com/forum/index.php?topic=810.0 (https://www.olimex.com/forum/index.php?topic=810.0).

Regards
Henrik
Title: Re: MOD RS232 not working
Post by: olimex on February 07, 2013, 12:03:13 PM
this means the functional test code for MOD-USB-RS232 have been left in PIC memory
I'm sorry for this, just spoke with our people to prevent such situations in future by making new test code
you can download the firmware for the serial communication from the product web page and program it in the MOD-USB-RS232
Title: Re: MOD RS232 not working
Post by: bimodh on February 08, 2013, 06:51:42 AM
Its OK.

What about the UEXT module in the OLinuxino A13 Board? Communication is not happening through that also. Which is the device created inside the Linux? I cannot find any communication happening on any Serial Devices. What might be the reason on this?
Title: Re: MOD RS232 not working
Post by: LubOlimex on February 13, 2013, 10:58:33 AM
There are 3 interfaces on the UEXT connector - SPI, I2C and RS232 (UART). Depending on the MOD-XXX board attached one of those interfaces might be used. RS232 interface, for instance, has some shared pins with UART1 connector (the one for debugging). So in order to use a module that utilizes RS232 on the UEXT with A13-OLinuXino you have to disable UART1 debug. This might be done with:

1. Open inittab
#vi /etc/inittab

2. Comment this line:
T0:23:respawn:/sbin/getty -L -a root ttyS0 115200 vt102

3. Restart the board

Best regards,
Lub/OLIMEX