From: Yigit Can <yigit.can@karel.com.tr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] SPI + SCC problem
Date: Mon, 30 Jun 2003 13:15:25 +0300 [thread overview]
Message-ID: <002e01c33ef0$8627e320$3002a8c0@yigitcan> (raw)
In-Reply-To: 20030630091725.E63C2C592A@atlas.denx.de
Oops I'm sorry,
all of the drivers are for SPI,
I have changed the driver which comes with eldk to compile with TQM850L.
this driver's header contains a #define statement for a specific module, and
I have changed it.
secondly I have changed the chip select statements.
Best regards,
Yigit Can
PS : I attached another code that I use.
I'm compiling this code with the kernel, it works with SCC1 enabled and it
does not work with SCC2, SCC3 or with disabled SCC ethernet.
----- Original Message -----
From: "Wolfgang Denk" <wd@denx.de>
To: "Yigit Can" <yigit.can@karel.com.tr>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Monday, June 30, 2003 12:17 PM
Subject: Re: [U-Boot-Users] SPI + SCC problem
> In message <001901c33ee7$214ae5f0$3002a8c0@yigitcan> you wrote:
> > I use 3 different drivers,
>
> Arrrgghh. Please don't let my guess what sort of drivers these are.
>
> Ethernet? UART? HDLC? SPI? Or what?
>
> > I'm using standard TQ850L_config in kernel (eldk 2.0.2)
>
> ...which works fine.
>
> > first one comes with eldk I only made a small modification to compile
with
> > TQM850L.
>
> OK, so what exactly did you change, and why?
>
> > second is an interrupt driven driver working with TQM862L (I have
verified
> > it)
> >
> > and I wrote the last one using 850 user-manual to be sure.
> >
> > All has the same problem when I choose SCC1 they work perfectly ,but
when I
> > choose the other SCCs or disable the SCC ethernet,
> > they send data but they stall while receiving becouse the buffer
descriptor
> > cbd_sc register does not change (rx_bdf->cbd_sc).
>
> You mentiones SPI before, but now you talk about using SCC1 - this
> makes no sense to me.
>
>
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
> You can love it, change it, or leave it. There is NO other option.
> But do not complain - it is your own choice... -- wd
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpm_spi.c
Type: application/octet-stream
Size: 20465 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030630/1370a9f9/attachment.obj
next prev parent reply other threads:[~2003-06-30 10:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-30 7:07 [U-Boot-Users] SPI + SCC problem Yigit Can
2003-06-30 8:05 ` Wolfgang Denk
2003-06-30 8:18 ` Yigit Can
2003-06-30 8:53 ` Wolfgang Denk
2003-06-30 9:08 ` Yigit Can
2003-06-30 9:17 ` Wolfgang Denk
2003-06-30 10:15 ` Yigit Can [this message]
2003-06-30 10:27 ` Wolfgang Denk
2003-06-30 11:38 ` Joakim Tjernlund
2003-06-30 11:43 ` Wolfgang Denk
2003-06-30 11:55 ` Joakim Tjernlund
2003-06-30 12:26 ` Wolfgang Denk
2003-06-30 12:50 ` Joakim Tjernlund
-- strict thread matches above, loose matches on Subject: below --
2003-06-27 13:45 Yigit Can
2003-06-27 14:26 ` Wolfgang Denk
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='002e01c33ef0$8627e320$3002a8c0@yigitcan' \
--to=yigit.can@karel.com.tr \
--cc=u-boot@lists.denx.de \
/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.