public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How program the Chip Slect on at91?
@ 2005-08-03  7:55 Jaws
  2005-08-03  8:34 ` [ECOS] " Jani Monoses
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jaws @ 2005-08-03  7:55 UTC (permalink / raw)
  To: ecos-discuss

Hi all,
    I'm trying to use an EB40A connected with an ethernet Chip CS8900A.
To interfacing them I'm using EBI expansion Bus and I connected the CS8900A
chip select to NCS1.
I have to program this chip select to remap my device to the address
0xf0000300.
How can I do this? What changes and where is the best place to insert this
changes?

Thanks in advance
Jaws

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS]  Re: How program the Chip Slect on at91?
  2005-08-03  7:55 [ECOS] How program the Chip Slect on at91? Jaws
@ 2005-08-03  8:34 ` Jani Monoses
  2005-08-03  8:35 ` [ECOS] " Dirk Eibach
  2005-08-03  9:24 ` Paul D. DeRocco
  2 siblings, 0 replies; 4+ messages in thread
From: Jani Monoses @ 2005-08-03  8:34 UTC (permalink / raw)
  To: ecos-discuss

Jaws wrote:
> Hi all,
>     I'm trying to use an EB40A connected with an ethernet Chip CS8900A.
> To interfacing them I'm using EBI expansion Bus and I connected the CS8900A
> chip select to NCS1.
> I have to program this chip select to remap my device to the address
> 0xf0000300.
> How can I do this? What changes and where is the best place to insert this
> changes?

Look at how the edb7xxx platfrom uses the generic cs8900 driver
devs/eth/arm/edb7xx.

make a similar package for your platform and include it in your build.

Jani


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] How program the Chip Slect on at91?
  2005-08-03  7:55 [ECOS] How program the Chip Slect on at91? Jaws
  2005-08-03  8:34 ` [ECOS] " Jani Monoses
@ 2005-08-03  8:35 ` Dirk Eibach
  2005-08-03  9:24 ` Paul D. DeRocco
  2 siblings, 0 replies; 4+ messages in thread
From: Dirk Eibach @ 2005-08-03  8:35 UTC (permalink / raw)
  To: jaws75; +Cc: ecos-discuss

Hi,

>     I'm trying to use an EB40A connected with an ethernet Chip CS8900A.
> To interfacing them I'm using EBI expansion Bus and I connected the CS8900A
> chip select to NCS1.
> I have to program this chip select to remap my device to the address
> 0xf0000300.
> How can I do this? What changes and where is the best place to insert this
> changes?

have a look at 
packages/hal/arm/at91/eb40a/current/include/hal_platform_setup.h


Cheers,
Dirk


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] How program the Chip Slect on at91?
  2005-08-03  7:55 [ECOS] How program the Chip Slect on at91? Jaws
  2005-08-03  8:34 ` [ECOS] " Jani Monoses
  2005-08-03  8:35 ` [ECOS] " Dirk Eibach
@ 2005-08-03  9:24 ` Paul D. DeRocco
  2 siblings, 0 replies; 4+ messages in thread
From: Paul D. DeRocco @ 2005-08-03  9:24 UTC (permalink / raw)
  To: eCos Discuss

> From: Jaws
>
>     I'm trying to use an EB40A connected with an ethernet Chip CS8900A.
> To interfacing them I'm using EBI expansion Bus and I connected
> the CS8900A chip select to NCS1.
> I have to program this chip select to remap my device to the address
> 0xf0000300.
> How can I do this? What changes and where is the best place to insert this
> changes?

By the way, the chip selects can only be programmed to multiples of one
megabyte, e.g., 0xF0000000. If you don't mind your device mirrored
throughout a one megabyte range (i.e., 0xF0000000 to 0xF00FFFFF), then
you're all set. If you need finer granularity, to prevent it from responding
to other addresses in the range, your hardware has to decode the lower order
address lines directly.

--

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@ix.netcom.com


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-03  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-03  7:55 [ECOS] How program the Chip Slect on at91? Jaws
2005-08-03  8:34 ` [ECOS] " Jani Monoses
2005-08-03  8:35 ` [ECOS] " Dirk Eibach
2005-08-03  9:24 ` Paul D. DeRocco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).