This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
AT91RM9200 chip select
- From: <pippo at pippo dot it>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 14 Aug 2006 13:53:35 +0200 (CEST)
- Subject: [ECOS] AT91RM9200 chip select
- Reply-to: <pippo at pippo dot it>
- Xoriginalsenderip: 194.171.252.108
Hi,
I'm using eCosPro with a AT91RM9200-EK board and I'm trying to set up
a connection with a radio module mapped at CS4 (Host Interface) and CS5
(DCI). For the moment my attempt is to see both CS4 and CS5 activated
on my scope. On my code I firstly configure the external bus:
HAL_WRITE_UINT32(_EBI_CFGR, (AT91C_EBI_DBPUC & 0x00) |
(AT91C_EBI_EBSEN & 0x00));
but when I try to assign the CSs my application stops
HAL_WRITE_UINT32(_EBI_CSA, _EBI_CSA & ~(_EBI_CSA_CS4A));
I thought that maybe is an MMU problem, but I don't know what I should
modify to get the application running, could someone help me? I've
already been spending some time looking for a similar problem and I
noticed that on the file hal_platform_setup.h some initialisations are
done. In particular I saw that the CS0 is assigned to flash before the
MMU is enabled, should I do the same thing with CS4 and CS5?
Thanks.
Michele
Naviga e telefona senza limiti con Tiscali
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom
http://abbonati.tiscali.it/adsl/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss