[En-Nut-Discussion] Ethernut with CAN-IF

Huett W. wolfgang.huett at t-online.de
Thu Aug 11 22:20:20 CEST 2005


Thanks,
HW is not the problem, I've already connected the HW
with corresponding glue logic (Adress decoder,....).

Now I've done first SW steps:
But adding
u_short base_address = 0x8000;
NutRegisterDevice(&devSJA1000, base_address, 0);
to my example program I run into the following link error
C:/ethernut-3.9.8/nutbld/lib\libnutdev.a(sja1000.o)(.text+0x12): In function
`CA
NBufferInit':
: undefined reference to `NutSemInit'
I've already searched several hours but I can not locate the problem.
Everything seems to be fine (Configurator used as SW-manual tells, no
problem
with lib build, compile/link ok if I remove NutRegisterDevice(&devSJA1000,
base_address, 0);
call, take a look on build control files Makefile, etc, ......)
Maybe it's really simple and only a matter of my very small experience.

For any hint thanks in advance.

Best regards

Wolfgang Hütt
----- Original Message -----
From: "Ole Reinhardt" <ole.reinhardt at kernelconcepts.de>
To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
Sent: Monday, August 01, 2005 11:57 PM
Subject: Re: [En-Nut-Discussion] Ethernut with CAN-IF


> Hello,
>
> > Thanks, for the information. I will try it, and for sure have much fun
with
> > ethernut.
> > Perhaps you can answer one more question.
> > Should the mode pin of sja1000 selected for Intel or Motorola ?
>
> You should definetly use Intel mode. In this mode the de-muxing of
> DA[0..7] are done by the SJA itself correctly.
>
> But you still need an address decoder to correctly set the /cs pin
>
> Best regards,
>
> Ole Reinhardt
>
> --
> kernel concepts    Tel: +49-271-771091-14
> Dreisbachstr. 24   Fax: +49-271-771091-19
> D-57250 Netphen    E+ : +49-177-7420433
> --
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list