From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1849 invoked by alias); 14 Aug 2006 11:53:45 -0000 Received: (qmail 1795 invoked by uid 22791); 14 Aug 2006 11:53:43 -0000 X-Spam-Check-By: sourceware.org Received: from mrqout1-sorbs.tiscali.it (HELO mrqout1.tiscali.it) (195.130.225.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 Aug 2006 12:53:39 +0100 Received: from 10.39.115.29 by mrq-1 with esmtp (Exim) id 1GCb0i-0003sU-5D; Mon, 14 Aug 2006 13:53:36 +0200 Received: from ps12 (10.39.75.82) by mail-10.mail.tiscali.sys (7.3.110.2) id 44BD7B9300057262 for ecos-discuss@ecos.sourceware.org; Mon, 14 Aug 2006 13:53:36 +0200 Message-ID: <16768178.1155556415822.JavaMail.root@ps12> Date: Mon, 14 Aug 2006 11:53:00 -0000 From: Reply-To: To: ecos-discuss@ecos.sourceware.org MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit xOriginalSenderIP: 194.171.252.108 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: [ECOS] AT91RM9200 chip select X-SW-Source: 2006-08/txt/msg00132.txt.bz2 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