I think we've been talking through but I wanted to
post here as well... these are the steps that I have taken to successfully use
the TS-CAN1 and TS-7350:
TS-7350 Instructions:
--------------------------------
JP4=ON; ALL OTHERS=OFF
ts7000:# . /initrd/ts7000.subr
ts7000:# pc104on
ts7000:# insmod lincan.ko hw=tscan1 irq=6 io=0x150
ts7000:# ./sendburst -w1 -b50 -c50 -d/dev/can0 &
CAN /dev/can0 : Sent block of 50 messages #: 1
CAN /dev/can0 : Sent block of 50 messages #: 2
CAN /dev/can0 : Sent block of 50 messages #: 3
...
CAN /dev/can0 : Sent block of 50 messages #: 50
I used the driver available on the FTP site here:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/binaries/ts-modules/lincan.ko
I did see some activity on CANH and CANL as well when doing the above steps
(keep in mind, I'm not a CAN expert either).
Best Regards,
Derek Hildreth
Technologic Systems
Embedded Systems Engineer
--- In "sanjuan34" <> wrote:
>
>
> addendum: I've now tried this with two different 7350's and two different
> TS-CAN1 boards. Assuming others have gotten this working, I am clearly doing
> something wrong here.
>
> --- In "sanjuan34" <jdosher@> wrote:
> >
> > Yes, its a 7350 (that was a typo). Kernel is the stock 2.6.21-ts kernel.
> > The board and the CAN card were ordered together, and the FPGA should have
> > been configured for PC-104 functionality.
> >
> > --- In Joel Morgan <jrcowboy79@> wrote:
> > >
> > > On 3/3/10, sanjuan34 <jdosher@> wrote:
> > > > I've tried it with nothing connected, and I've tried with with an Atmel
> > > > AT90CAN128 connected. I'm running a CAN monitor program on the Atmel,
> > > > and
> > > > I'm also looking at CAN_H and I see zero activity.
> > > >
> > > > --- In Joel Morgan <jrcowboy79@> wrote:
> > > >>
> > > >> On 3/2/10, sanjuan34 <jdosher@> wrote:
> > > >> > Hi. I'm trying to get CAN bus working using a TS-CAN1 on a 7530
> > > >> > board.
> > >
> > > Is this a 7350?
> > > What kernel are you running?
> > >
> > > >> > I'm
> > > >> > loading the kernel module with out any errors using the following
> > > >> > parameters
> > > >> >
> > > >> > insmod -f lincan.ko io=0x150 hw=tscan irq=33
> > > >> >
> > > >> > (for IRQ6, JP4 on, I/O address 150, JP1 and JP2 off)
> > > >> >
> > > >> > I can run lincan utilities like sendburst, sendcan, readcan with out
> > > >> > error;
> > > >> > however, I'm getting no activity on CAN_H and CAN_L. All I see when
> > > >> > looking
> > > >> > at either line is a very odd looking 60Hz signal, about 2Vp-p. The
> > > >> > signal is
> > > >> > persistent whether the kernel module is loaded or not.
> > > >>
> > > >> What other CAN nodes do you have connected?
> > >
> > >
> > >
> > > --
> > > Joel R. Morgan
> > > Morgan Millwright Services, Inc.
> > >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|