From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7496 invoked by alias); 14 Aug 2006 11:58:02 -0000 Received: (qmail 7484 invoked by uid 22791); 14 Aug 2006 11:58:01 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-27.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 Aug 2006 12:57:59 +0100 Received: by hermes.chez-thomas.org (Postfix, from userid 999) id C8F421950175; Mon, 14 Aug 2006 05:57:57 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by hermes.chez-thomas.org (Postfix) with ESMTP id A4C2C195009E; Mon, 14 Aug 2006 05:57:55 -0600 (MDT) Message-ID: <44E06542.9040505@mlbassoc.com> Date: Mon, 14 Aug 2006 11:58:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: pippo@pippo.it CC: ecos-discuss@ecos.sourceware.org References: <16768178.1155556415822.JavaMail.root@ps12> In-Reply-To: <16768178.1155556415822.JavaMail.root@ps12> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] AT91RM9200 chip select X-SW-Source: 2006-08/txt/msg00134.txt.bz2 pippo@pippo.it wrote: > Hi, > I'm using eCosPro with a AT91RM9200-EK board and I'm trying to set up Then you should be asking them for support, I'm afraid... > 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. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss