From: Wolfgang Grandegger <wg@domain.hid>
To: "Charlton, John" <john.charlton@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>,
"socketcan-users@domain.hid" <socketcan-users@domain.hid>
Subject: Re: [Xenomai-help] [Socketcan-users] rtcanconfig rtcansend rtcanrecv
Date: Mon, 12 Jan 2009 18:17:40 +0100 [thread overview]
Message-ID: <496B7B34.9030405@domain.hid> (raw)
In-Reply-To: <CF7FB0793253794F9F45991443E5FE2004DF7840E1@domain.hid>
Charlton, John wrote:
> Wolfgang,
>
> Thank you for the help. I do have XENO_DRIVERS_CAN_DEBUG enabled and the registers are:
>
> root@domain.hid:~$ cat /proc/rtcan/rtcan1/registers
> SJA1000 registers
> 00: 00 00 0c 02 ff 00 03 1c 1a 00 00 00 00 60 00 00
> 10: 08 00 20 01 02 03 04 05 06 07 08 ff 20 00 00 c8
> root@domain.hid:~$ cat /proc/rtcan/rtcan0/registers
> SJA1000 registers
> 00: 00 00 0d 01 ff 00 03 1c 1a 00 00 00 00 60 00 00
> 10: 08 00 20 01 02 03 04 05 06 07 08 bf 00 01 00 c8
> root@domain.hid:~$
Looks like the data have been received by the rtcan0 chip. Then most
likely there are problems with the interrupts.
> I will focus on the transmitter and try another CAN device or CAN analyzer as you suggest.
I see that the TSCAN1 Lincan driver also writes 0 to offset 4:
outb(0x0, TSCAN1_BASE_ADDR + idx * 8 + 4);
outb(0x60 + idx, TSCAN1_BASE_ADDR + idx * 8 + 5); // set base I/O address in
// control reg
Maybe it already makes a difference?
Wolfgang.
next prev parent reply other threads:[~2009-01-12 17:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 16:17 [Xenomai-help] rtcanconfig rtcansend rtcanrecv Charlton, John
2009-01-07 17:28 ` Sebastian Smolorz
2009-01-07 19:56 ` Charlton, John
2009-01-08 10:32 ` Sebastian Smolorz
2009-01-08 13:21 ` Charlton, John
2009-01-12 15:33 ` Charlton, John
2009-01-12 16:10 ` [Xenomai-help] [Socketcan-users] " Wolfgang Grandegger
2009-01-12 16:30 ` Charlton, John
2009-01-12 17:10 ` Sebastian Smolorz
2009-01-12 18:47 ` Charlton, John
2009-01-12 20:30 ` Wolfgang Grandegger
2009-01-13 14:32 ` Charlton, John
2009-01-13 15:04 ` Wolfgang Grandegger
2009-01-14 20:50 ` Charlton, John
2009-01-12 17:17 ` Wolfgang Grandegger [this message]
[not found] ` <496605F2.1080306@domain.hid>
2009-02-02 21:54 ` Charlton, John
2009-02-03 14:19 ` Sebastian Smolorz
2009-01-07 20:08 ` [Xenomai-help] " Charlton, John
2009-01-07 18:19 ` Wolfgang Grandegger
2009-01-07 20:16 ` Charlton, John
2009-01-07 20:31 ` Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=496B7B34.9030405@domain.hid \
--to=wg@domain.hid \
--cc=john.charlton@domain.hid \
--cc=socketcan-users@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.