Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: chip select on AT91RM9200 and eCos
PostPosted: Mon Aug 14, 2006 2:56 pm 
Offline

Joined: Thu Jun 15, 2006 10:17 pm
Posts: 5
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 14, 2006 3:09 pm 
Offline

Joined: Mon May 15, 2006 11:39 pm
Posts: 25
Location: Bora Bora
You need to modify void hal_mmu_init(void) in order to access the external memory at that location. Then if you are using RedBoot, rebuild RedBoot and reload it.

P.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: