From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19411 invoked by alias); 29 Jul 2009 21:33:40 -0000 Received: (qmail 19401 invoked by uid 22791); 29 Jul 2009 21:33:38 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f207.google.com (HELO mail-ew0-f207.google.com) (209.85.219.207) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Jul 2009 21:33:32 +0000 Received: by ewy3 with SMTP id 3so356303ewy.30 for ; Wed, 29 Jul 2009 14:33:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.210.36.10 with SMTP id j10mr389872ebj.30.1248903208469; Wed, 29 Jul 2009 14:33:28 -0700 (PDT) In-Reply-To: <4A70A606.5060309@dallaway.org.uk> References: <4A70A606.5060309@dallaway.org.uk> Date: Wed, 29 Jul 2009 21:33:00 -0000 Message-ID: From: kishore Srimat To: John Dallaway Cc: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: How to run ECO 3.0 on STM32 X-SW-Source: 2009-07/txt/msg00265.txt.bz2 Hi John, Thanks for showing the direction to move. I am using ST's STM3210E-Eval board Rev-D. I did try to do as you told. 1) Build--> Template and selected STM32 EVAL and packages--> Redboot. But once i select that i got conflicts and i did cancel the conflicts and did the second step 2) File--> import and from the path you have mentioned. and imported and built the library and flashed the .bin into the STM32Eval but did not see anything in the serial port :( I have noticed that the this option in the configuration "Base address of flash device redboot is use == 0x64000000" but when i see the memory map of STM32 it is shown as 0x08000000 for the FLASH But if i change it base address and build the library it is building with errors and if i leave it as is at 0x64000000 it is a FSMC BANK 1 Nor/PSRAM base address. I think it is not that correct base address to start with. Regards Kishore Srimat On Wed, Jul 29, 2009 at 12:41 PM, John Dallaway wrote: > Hi Kishore > > Kishore Srimat wrote: > >> I am trying to port Ecos 3.0 onto STM32. > > Which board are you porting to? Is this a public evaluation board or a > board of your own design? > >> I have done the preliminary >> steps. Now, I tried use configtool and buid a Redboot.bin. But, I >> could not resolve the conflicts and even if i continue with proposed >> solutions and get a .bin from configtool, It is not working or I did >> not see any msg in the Hyperterminal when i run. > > The basic procedure is to create a new eCos configuration for your > intended hardware based on the "redboot" packages template. Then import > the appropriate RedBoot .ecm file from the "misc" directory of the > relevant eCos platform HAL package. For example, the relevant .ecm file > for the STM3210E-EVAL board would be: > > packages/hal/cortexm/stm32/stm3210e_eval/v3_0/misc/redboot_ROM.ecm > > Use the Build->Templates dialog to select the hardware and packages > templates and then import the .ecm file using the File->Import menu item > before you attempt to resolve any conflicts. > > I hope this helps... > > John Dallaway > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss