* [Xenomai-help] read data from serial device
@ 2006-03-22 15:46 Marco Jackel
2006-03-23 10:08 ` [Xenomai-help] " Marco Jackel
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Marco Jackel @ 2006-03-22 15:46 UTC (permalink / raw)
To: xenomai
Hi there,
ATTENTION: I'm a xenomai-newbie
I want to read data from the serial device
I got the serial driver loop demo from
http://www.captain.at/xenomai-serial-port-example.php
It worked without any problems.
Then I modified the demo to read data only (remove all the write_task
stuff).
But I get this error when I do a "echo 123 > /dev/ttyS0" on a other
computer connected with a serial cable.
> voyage:/usr/src/tests/getserial# ./getserial
> rt_serial_uprog: PRESS CTRL-C to EXIT
> rt_serial_uprog: timer started
> rt_serial_uprog: rtser_file opened
> rt_serial_uprog: serial-port-config written
> rt_serial_uprog: read-task created
> rt_serial_uprog: starting read-task
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (1 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (2 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (3 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (4 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (5 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (6 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (7 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (8 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (9 times)
> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (10 times)
> rt_serial_uprog: delete write_task
> rt_serial_uprog: stop timer
> rt_serial_uprog: exit
and:
> Mar 22 15:02:46 voyage kernel: 00000000
> Mar 22 15:02:46 voyage kernel: PREEMPT
> Mar 22 15:02:46 voyage kernel: Modules linked in: xeno_16550A xeno_rtdm ohci_hcd usbcore sis900 mii dm_mod
> Mar 22 15:02:46 voyage kernel: CPU: 0
> Mar 22 15:02:46 voyage kernel: EIP: 0060:[<00000000>] Not tainted VLI
> Mar 22 15:02:46 voyage kernel: EFLAGS: 00010002 (2.6.15.4-gx1-25)
> Mar 22 15:02:46 voyage kernel: EIP is at _stext+0x3feffdc0/0xb4
> Mar 22 15:02:46 voyage kernel: eax: c0316b80 ebx: c03168e0 ecx: c03173a0 edx: c03168e0
> Mar 22 15:02:46 voyage kernel: esi: 00000004 edi: c03168e8 ebp: c03173d0 esp: cdc8ddd4
> Mar 22 15:02:46 voyage kernel: ds: 007b es: 007b ss: 0068
> Mar 22 15:02:46 voyage kernel: Process read_task (pid: 1320, threadinfo=cdc8c000 task=ce951a50)
> Mar 22 15:02:46 voyage kernel: Stack: c010c6ad 00000004 00000000 cffdf2fa 00000048 c03173e0 00000000 c03168e0
> Mar 22 15:02:46 voyage kernel: ffffffff 00000001 00000000 00000002 c03168e0 c03168e0 00000046 c012f6fe
> Mar 22 15:02:46 voyage kernel: 018f7a35 00000048 00000000 00000000 ffffffd5 ce84a110 d0054c07 c02482c6
> Mar 22 15:02:46 voyage kernel: Call Trace:
> Mar 22 15:02:46 voyage kernel: [__ipipe_sync_stage+468/606] __ipipe_sync_stage+0x1d4/0x25e
> Mar 22 15:02:46 voyage kernel: [ipipe_unstall_pipeline_from+196/238] ipipe_unstall_pipeline_from+0xc4/0xee
> Mar 22 15:02:46 voyage kernel: [pg0+265423879/1070375936] rtdm_event_timedwait+0x167/0x171 [xeno_rtdm]
> Mar 22 15:02:46 voyage kernel: [tcp_v4_rcv+1295/2273] tcp_v4_rcv+0x50f/0x8e1
> Mar 22 15:02:46 voyage kernel: [pg0+265260884/1070375936] rt_16550_ioctl+0x571/0x70e [xeno_16550A]
> Mar 22 15:02:46 voyage kernel: [xnpod_announce_tick+83/164] xnpod_announce_tick+0x53/0xa4
> Mar 22 15:02:46 voyage kernel: [xnintr_clock_handler+16/19] xnintr_clock_handler+0x10/0x13
> Mar 22 15:02:46 voyage kernel: [__ipipe_sync_stage+468/606] __ipipe_sync_stage+0x1d4/0x25e
> Mar 22 15:02:46 voyage kernel: [pg0+265416973/1070375936] rtdm_context_get+0x10d/0x116 [xeno_rtdm]
> Mar 22 15:02:46 voyage kernel: [pg0+265418994/1070375936] _rtdm_ioctl+0x3c/0x50 [xeno_rtdm]
> Mar 22 15:02:46 voyage kernel: [pg0+265428189/1070375936] sys_rtdm_ioctl+0x15/0x19 [xeno_rtdm]
> Mar 22 15:02:46 voyage kernel: [hisyscall_event+521/768] hisyscall_event+0x209/0x300
> Mar 22 15:02:46 voyage kernel: [__ipipe_dispatch_event+91/222] __ipipe_dispatch_event+0x5b/0xde
> Mar 22 15:02:46 voyage kernel: [__ipipe_syscall_root+78/186] __ipipe_syscall_root+0x4e/0xba
> Mar 22 15:02:46 voyage kernel: [system_call+32/65] system_call+0x20/0x41
> Mar 22 15:02:46 voyage kernel: Code: Bad EIP value.
I think the error is in the following part:
> void read_task_proc(void *arg) {
> int ret;
> // RTIME irq_time = 0;
> ssize_t sz = sizeof(RTIME);
> ssize_t red = 0;
> struct rtser_event rx_event;
> unsigned char buf[17];
>
> // we are in secondary mode now
> while (1) {
> /* switch to primary mode */
> ret = rt_task_set_mode(0, T_PRIMARY, NULL);
> if (ret) {
> printf(RTASK_PREFIX "error while rt_task_set_mode, code %d\n",ret);
> goto exit_read_task;
> }
> /* waiting for event */
> // be careful not to do printf or so here. Otherwise rt_dev_ioctl
> // returns with an error, because we're not in hard real time
> // anymore (primary mode)
> ret = rt_dev_ioctl(my_fd, RTSER_RTIOC_WAIT_EVENT, &rx_event );
> if (ret) {
> printf(RTASK_PREFIX "error while RTSER_RTIOC_WAIT_EVENT, code %d\n",ret);
> goto exit_read_task;
> }
> //irq_time = rx_event.rxpend_timestamp;
> sz = sizeof(buf);
> red = rt_dev_read(my_fd, &buf, sizeof(buf));
> if (red == sz ) {
> printf(RTASK_PREFIX "rt_dev_read=%s\n",buf);
> } else {
> if (red < 0 ) {
> printf(RTASK_PREFIX "error while rt_dev_read, code %d\n",red);
> } else {
> printf(RTASK_PREFIX "only %d / %d byte received \n",red,sz);
> }
> goto exit_read_task;
> }
> }
> exit_read_task:
> if (my_state & STATE_FILE_OPENED) {
> if (!close_file( my_fd, READ_FILE " (rtser)")) {
> my_state &= ~STATE_FILE_OPENED;
> }
> }
> printf(RTASK_PREFIX "exit\n");
> }
When I use the kernel serial-drivers and do a "cat /dev/ttyS0" I get the
data that I sent from the other computer
Thanks Marco
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Xenomai-help] Re: read data from serial device
2006-03-22 15:46 [Xenomai-help] read data from serial device Marco Jackel
@ 2006-03-23 10:08 ` Marco Jackel
2006-03-23 12:41 ` Marco Jackel
2006-03-24 12:36 ` [Xenomai-help] " Jan Kiszka
2 siblings, 0 replies; 14+ messages in thread
From: Marco Jackel @ 2006-03-23 10:08 UTC (permalink / raw)
To: xenomai
Hello again,
Marco Jackel wrote:
> I want to read data from the serial device
Or does anybody have a sample-programm for reading from a serial device?
Thanks
Maggo
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Xenomai-help] Re: read data from serial device
2006-03-22 15:46 [Xenomai-help] read data from serial device Marco Jackel
2006-03-23 10:08 ` [Xenomai-help] " Marco Jackel
@ 2006-03-23 12:41 ` Marco Jackel
2006-03-23 12:49 ` Philippe Gerum
2006-03-23 12:56 ` Gilles Chanteperdrix
2006-03-24 12:36 ` [Xenomai-help] " Jan Kiszka
2 siblings, 2 replies; 14+ messages in thread
From: Marco Jackel @ 2006-03-23 12:41 UTC (permalink / raw)
To: xenomai
Hi
Another try....
Marco Jackel wrote:
> I want to read data from the serial device
to read data from a serial device I do the following:
/* config for serial device */
static const struct rtser_config ser_config = {
0xFFFF, /* config_mask */
RTSER_DEF_BAUD, /* baud_rate */
RTSER_ODD_PARITY , /* parity */
RTSER_8_BITS , /* data_bits */
RTSER_1_STOPB , /* stop_bits */
RTSER_NO_HAND , /* handshake */
RTSER_DEF_FIFO_DEPTH, /* fifo_depth*/
RTSER_DEF_TIMEOUT, /* rx_timeout */
RTSER_DEF_TIMEOUT, /* tx_timeout */
RTSER_DEF_TIMEOUT, /* event_timeout */
RTSER_RX_TIMESTAMP_HISTORY, /* timestamp_history */
RTSER_EVENT_RXPEND /* event mask */
};
/* open the serial file */
my_fd = rt_dev_open( RTSER_FILE, 0);
/* write the serial config */
ret = rt_dev_ioctl(my_fd, RTSER_RTIOC_SET_CONFIG, &ser_config);
/* read from the device */
unsigned char buf[32];
int sz;
int red = 0;
struct rtser_event rx_event;
while (1) {
ret = rt_task_set_mode(0, T_PRIMARY, NULL);
ret = rt_dev_ioctl(my_fd, RTSER_RTIOC_WAIT_EVENT, &rx_event );
red = rt_dev_read(my_fd, &buf, sizeof(buf));
printf(RTASK_PREFIX "rt_dev_read=%s\n",buf);
printf(RTASK_PREFIX "%d / %d byte received \n",red,sz);
}
"rt_dev_read" gives negative Results. Whats wrong?
Thanks
Marco
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Xenomai-help] Re: read data from serial device
2006-03-23 12:41 ` Marco Jackel
@ 2006-03-23 12:49 ` Philippe Gerum
2006-03-23 12:56 ` Marco Jackel
2006-03-23 12:56 ` Gilles Chanteperdrix
1 sibling, 1 reply; 14+ messages in thread
From: Philippe Gerum @ 2006-03-23 12:49 UTC (permalink / raw)
To: Marco Jackel; +Cc: xenomai
Marco Jackel wrote:
> Hi
>
> Another try....
>
> Marco Jackel wrote:
>
>>I want to read data from the serial device
>
>
> to read data from a serial device I do the following:
>
> /* config for serial device */
>
> static const struct rtser_config ser_config = {
> 0xFFFF, /* config_mask */
> RTSER_DEF_BAUD, /* baud_rate */
> RTSER_ODD_PARITY , /* parity */
> RTSER_8_BITS , /* data_bits */
> RTSER_1_STOPB , /* stop_bits */
> RTSER_NO_HAND , /* handshake */
> RTSER_DEF_FIFO_DEPTH, /* fifo_depth*/
> RTSER_DEF_TIMEOUT, /* rx_timeout */
> RTSER_DEF_TIMEOUT, /* tx_timeout */
> RTSER_DEF_TIMEOUT, /* event_timeout */
> RTSER_RX_TIMESTAMP_HISTORY, /* timestamp_history */
> RTSER_EVENT_RXPEND /* event mask */
> };
>
> /* open the serial file */
>
> my_fd = rt_dev_open( RTSER_FILE, 0);
>
> /* write the serial config */
>
> ret = rt_dev_ioctl(my_fd, RTSER_RTIOC_SET_CONFIG, &ser_config);
>
> /* read from the device */
>
> unsigned char buf[32];
> int sz;
> int red = 0;
> struct rtser_event rx_event;
>
> while (1) {
> ret = rt_task_set_mode(0, T_PRIMARY, NULL);
> ret = rt_dev_ioctl(my_fd, RTSER_RTIOC_WAIT_EVENT, &rx_event );
> red = rt_dev_read(my_fd, &buf, sizeof(buf));
> printf(RTASK_PREFIX "rt_dev_read=%s\n",buf);
> printf(RTASK_PREFIX "%d / %d byte received \n",red,sz);
> }
>
>
> "rt_dev_read" gives negative Results. Whats wrong?
>
Which negative code is returned exactely?
>
> Thanks
> Marco
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
--
Philippe.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Xenomai-help] Re: read data from serial device
2006-03-23 12:41 ` Marco Jackel
2006-03-23 12:49 ` Philippe Gerum
@ 2006-03-23 12:56 ` Gilles Chanteperdrix
2006-03-23 13:21 ` Marco Jackel
1 sibling, 1 reply; 14+ messages in thread
From: Gilles Chanteperdrix @ 2006-03-23 12:56 UTC (permalink / raw)
To: Marco Jackel; +Cc: xenomai
Marco Jackel wrote:
> "rt_dev_read" gives negative Results. Whats wrong?
It depends on the return value, see:
http://download.gna.org/xenomai/documentation/trunk/html/api/group__rtserial.html
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Xenomai-help] Re: read data from serial device
2006-03-23 12:49 ` Philippe Gerum
@ 2006-03-23 12:56 ` Marco Jackel
2006-03-23 13:22 ` Philippe Gerum
0 siblings, 1 reply; 14+ messages in thread
From: Marco Jackel @ 2006-03-23 12:56 UTC (permalink / raw)
To: xenomai
Hi,
Philippe Gerum wrote:
> Marco Jackel wrote:
>> "rt_dev_read" gives negative Results. Whats wrong?
> Which negative code is returned exactely?
It returns -5
Are the error-codes documented somewehere?
Thanks
Maggo
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Xenomai-help] Re: read data from serial device
2006-03-23 12:56 ` Gilles Chanteperdrix
@ 2006-03-23 13:21 ` Marco Jackel
0 siblings, 0 replies; 14+ messages in thread
From: Marco Jackel @ 2006-03-23 13:21 UTC (permalink / raw)
To: xenomai
Gilles Chanteperdrix wrote:
> Marco Jackel wrote:
> > "rt_dev_read" gives negative Results. Whats wrong?
>
> It depends on the return value, see:
>
> http://download.gna.org/xenomai/documentation/trunk/html/api/group__rtserial.html
>
Yes, I saw that, but I get "-5" as error code (I forgot to write that in
my last posting) and I don't know what it means. At the dokumentation
there are only 4 possibilities:
-ETIMEDOUT
-EINTR (interrupted explicitly or by signal)
-EAGAIN (no data available in non-blocking mode)
-EBADF (device has been closed while reading)
Regards
Maggo
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Xenomai-help] Re: read data from serial device
2006-03-23 12:56 ` Marco Jackel
@ 2006-03-23 13:22 ` Philippe Gerum
2006-03-24 12:20 ` Jan Kiszka
0 siblings, 1 reply; 14+ messages in thread
From: Philippe Gerum @ 2006-03-23 13:22 UTC (permalink / raw)
To: Marco Jackel; +Cc: xenomai
Marco Jackel wrote:
> Hi,
>
> Philippe Gerum wrote:
>
>>Marco Jackel wrote:
>>
>>>"rt_dev_read" gives negative Results. Whats wrong?
>>
>>Which negative code is returned exactely?
>
> It returns -5
-EIO. Except for traditional RTOS skins like VxWorks, VRTX and so on
which have their own error list, we tend to normalize on POSIX error
codes in all other parts of the codebase.
Regarding the EIO issue, it looks like a transmission error has been
detected on the read-side by the 16650A driver. Jan will likely tell you
more when time allows.
>
> Are the error-codes documented somewehere?
>
Yes, the documentation link on our website is a good starting point. For
the particular EIO issue on the serial driver, I'm not sure there is a
lot more explanations than the one above, though.
> Thanks
> Maggo
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
--
Philippe.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Xenomai-help] Re: read data from serial device
2006-03-23 13:22 ` Philippe Gerum
@ 2006-03-24 12:20 ` Jan Kiszka
0 siblings, 0 replies; 14+ messages in thread
From: Jan Kiszka @ 2006-03-24 12:20 UTC (permalink / raw)
To: Marco Jackel; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]
Philippe Gerum wrote:
> Marco Jackel wrote:
>> Hi,
>>
>> Philippe Gerum wrote:
>>
>>> Marco Jackel wrote:
>>>
>>>> "rt_dev_read" gives negative Results. Whats wrong?
>>>
>>> Which negative code is returned exactely?
>>
>> It returns -5
>
> -EIO. Except for traditional RTOS skins like VxWorks, VRTX and so on
> which have their own error list, we tend to normalize on POSIX error
> codes in all other parts of the codebase.
>
> Regarding the EIO issue, it looks like a transmission error has been
> detected on the read-side by the 16650A driver. Jan will likely tell you
> more when time allows.
Are you sure that you transmit with the correct baud rate and line
settings? In your rtser_config I see that you use odd parity. I think
Linux default is no parity bit.
>
>>
>> Are the error-codes documented somewehere?
>>
>
> Yes, the documentation link on our website is a good starting point. For
> the particular EIO issue on the serial driver, I'm not sure there is a
> lot more explanations than the one above, though.
Oops, undocumented return code in the profile. Need to be fixed. Yes,
it's indeed some hardware/bit error that is expressed with EIO.
Jan
PS: A cleaned-up version of the serial port demo code can currently be
found at http://www.rts.uni-hannover.de/mitarbeiter/kiszka/rtaddon.
PPS: I'm examining the reason for your crash ATM. Should not happen.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Xenomai-help] read data from serial device
2006-03-22 15:46 [Xenomai-help] read data from serial device Marco Jackel
2006-03-23 10:08 ` [Xenomai-help] " Marco Jackel
2006-03-23 12:41 ` Marco Jackel
@ 2006-03-24 12:36 ` Jan Kiszka
2006-03-24 17:09 ` [Xenomai-help] " Marco Jackel
2 siblings, 1 reply; 14+ messages in thread
From: Jan Kiszka @ 2006-03-24 12:36 UTC (permalink / raw)
To: Marco Jackel; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 3460 bytes --]
Marco Jackel wrote:
> Hi there,
>
> ATTENTION: I'm a xenomai-newbie
> I want to read data from the serial device
>
> I got the serial driver loop demo from
> http://www.captain.at/xenomai-serial-port-example.php
Unfortunately outdated, no longer compiles against recent Xenomai 2.1.
See the recent version at
http://www.rts.uni-hannover.de/mitarbeiter/kiszka/rtaddon instead.
@Hannes: Please update your site to avoid confusion!
> It worked without any problems.
> Then I modified the demo to read data only (remove all the write_task
> stuff).
>
> But I get this error when I do a "echo 123 > /dev/ttyS0" on a other
> computer connected with a serial cable.
>
>> voyage:/usr/src/tests/getserial# ./getserial
>> rt_serial_uprog: PRESS CTRL-C to EXIT
>> rt_serial_uprog: timer started
>> rt_serial_uprog: rtser_file opened
>> rt_serial_uprog: serial-port-config written
>> rt_serial_uprog: read-task created
>> rt_serial_uprog: starting read-task
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (1 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (2 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (3 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (4 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (5 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (6 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (7 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (8 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (9 times)
>> rt_serial_uprog: rtser0 (rtser) -> EAGAIN (10 times)
>> rt_serial_uprog: delete write_task
>> rt_serial_uprog: stop timer
>> rt_serial_uprog: exit
>
> and:
>
>> Mar 22 15:02:46 voyage kernel: 00000000
>> Mar 22 15:02:46 voyage kernel: PREEMPT
>> Mar 22 15:02:46 voyage kernel: Modules linked in: xeno_16550A xeno_rtdm ohci_hcd usbcore sis900 mii dm_mod
>> Mar 22 15:02:46 voyage kernel: CPU: 0
>> Mar 22 15:02:46 voyage kernel: EIP: 0060:[<00000000>] Not tainted VLI
>> Mar 22 15:02:46 voyage kernel: EFLAGS: 00010002 (2.6.15.4-gx1-25)
>> Mar 22 15:02:46 voyage kernel: EIP is at _stext+0x3feffdc0/0xb4
>> Mar 22 15:02:46 voyage kernel: eax: c0316b80 ebx: c03168e0 ecx: c03173a0 edx: c03168e0
>> Mar 22 15:02:46 voyage kernel: esi: 00000004 edi: c03168e8 ebp: c03173d0 esp: cdc8ddd4
>> Mar 22 15:02:46 voyage kernel: ds: 007b es: 007b ss: 0068
>> Mar 22 15:02:46 voyage kernel: Process read_task (pid: 1320, threadinfo=cdc8c000 task=ce951a50)
>> Mar 22 15:02:46 voyage kernel: Stack: c010c6ad 00000004 00000000 cffdf2fa 00000048 c03173e0 00000000 c03168e0
>> Mar 22 15:02:46 voyage kernel: ffffffff 00000001 00000000 00000002 c03168e0 c03168e0 00000046 c012f6fe
>> Mar 22 15:02:46 voyage kernel: 018f7a35 00000048 00000000 00000000 ffffffd5 ce84a110 d0054c07 c02482c6
>> Mar 22 15:02:46 voyage kernel: Call Trace:
>> Mar 22 15:02:46 voyage kernel: [__ipipe_sync_stage+468/606] __ipipe_sync_stage+0x1d4/0x25e
>> Mar 22 15:02:46 voyage kernel: [ipipe_unstall_pipeline_from+196/238] ipipe_unstall_pipeline_from+0xc4/0xee
>> Mar 22 15:02:46 voyage kernel: [pg0+265423879/1070375936] rtdm_event_timedwait+0x167/0x171 [xeno_rtdm]
Which Xenomai version, which xeno_16550A version (/proc/xenomai/rtdm/)?
I think we have fixed such an issue some time back, and this should at
least made it into Xenomai 2.1. Please confirm that it's an issue
persisting with xeno_16550A version 1.2.6.
Thanks,
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Xenomai-help] Re: read data from serial device
2006-03-24 12:36 ` [Xenomai-help] " Jan Kiszka
@ 2006-03-24 17:09 ` Marco Jackel
2006-03-24 17:23 ` Jan Kiszka
0 siblings, 1 reply; 14+ messages in thread
From: Marco Jackel @ 2006-03-24 17:09 UTC (permalink / raw)
To: xenomai
Hi Jan,
Jan Kiszka wrote:
> Which Xenomai version, which xeno_16550A version (/proc/xenomai/rtdm/)?
> I think we have fixed such an issue some time back, and this should at
> least made it into Xenomai 2.1. Please confirm that it's an issue
> persisting with xeno_16550A version 1.2.6.
Ok, my fault: it's xenomai-2.1-rc3 and xeno_16550A-1.2.5
I look if there is a new version before I post the next time...
Sorry and thanks
Marco
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Xenomai-help] Re: read data from serial device
2006-03-24 17:09 ` [Xenomai-help] " Marco Jackel
@ 2006-03-24 17:23 ` Jan Kiszka
2006-03-24 17:42 ` Marco Jackel
2006-03-25 1:06 ` Marco Jackel
0 siblings, 2 replies; 14+ messages in thread
From: Jan Kiszka @ 2006-03-24 17:23 UTC (permalink / raw)
To: Marco Jackel; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 697 bytes --]
Marco Jackel wrote:
> Hi Jan,
>
> Jan Kiszka wrote:
> > Which Xenomai version, which xeno_16550A version (/proc/xenomai/rtdm/)?
>> I think we have fixed such an issue some time back, and this should at
>> least made it into Xenomai 2.1. Please confirm that it's an issue
>> persisting with xeno_16550A version 1.2.6.
> Ok, my fault: it's xenomai-2.1-rc3 and xeno_16550A-1.2.5
> I look if there is a new version before I post the next time...
Hmm, there were changes between 1.2.5 and .6, but no fix that should
relate to your crash.
If you happen to reproduce it somehow, please post the program and
describe the precise setup (used port settings on both sides e.g.).
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Xenomai-help] Re: read data from serial device
2006-03-24 17:23 ` Jan Kiszka
@ 2006-03-24 17:42 ` Marco Jackel
2006-03-25 1:06 ` Marco Jackel
1 sibling, 0 replies; 14+ messages in thread
From: Marco Jackel @ 2006-03-24 17:42 UTC (permalink / raw)
To: xenomai
Jan Kiszka wrote:
> Hmm, there were changes between 1.2.5 and .6, but no fix that should
> relate to your crash.
>
> If you happen to reproduce it somehow, please post the program and
> describe the precise setup (used port settings on both sides e.g.).
Ok, I'll do that if it happens again.
Maggo
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Xenomai-help] Re: read data from serial device
2006-03-24 17:23 ` Jan Kiszka
2006-03-24 17:42 ` Marco Jackel
@ 2006-03-25 1:06 ` Marco Jackel
1 sibling, 0 replies; 14+ messages in thread
From: Marco Jackel @ 2006-03-25 1:06 UTC (permalink / raw)
To: xenomai
Jan Kiszka wrote:
> Hmm, there were changes between 1.2.5 and .6, but no fix that should
> relate to your crash.
>
> If you happen to reproduce it somehow, please post the program and
> describe the precise setup (used port settings on both sides e.g.).
With the serial-test-program (rt_serial_uprog) from your site and recent
xenomai/rtdm versions, reading from the serial device is know working.
Thanks
Marco
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-03-25 1:06 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 15:46 [Xenomai-help] read data from serial device Marco Jackel
2006-03-23 10:08 ` [Xenomai-help] " Marco Jackel
2006-03-23 12:41 ` Marco Jackel
2006-03-23 12:49 ` Philippe Gerum
2006-03-23 12:56 ` Marco Jackel
2006-03-23 13:22 ` Philippe Gerum
2006-03-24 12:20 ` Jan Kiszka
2006-03-23 12:56 ` Gilles Chanteperdrix
2006-03-23 13:21 ` Marco Jackel
2006-03-24 12:36 ` [Xenomai-help] " Jan Kiszka
2006-03-24 17:09 ` [Xenomai-help] " Marco Jackel
2006-03-24 17:23 ` Jan Kiszka
2006-03-24 17:42 ` Marco Jackel
2006-03-25 1:06 ` Marco Jackel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.