From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31514 invoked by alias); 30 Jul 2009 22:55:00 -0000 Received: (qmail 31277 invoked by uid 22791); 30 Jul 2009 22:54:58 -0000 X-SWARE-Spam-Status: No, hits=-1.5 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; Thu, 30 Jul 2009 22:54:50 +0000 Received: by ewy3 with SMTP id 3so1323740ewy.30 for ; Thu, 30 Jul 2009 15:54:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.210.79.3 with SMTP id c3mr2030685ebb.84.1248994486824; Thu, 30 Jul 2009 15:54:46 -0700 (PDT) In-Reply-To: <4A7156FF.9030206@dallaway.org.uk> References: <4A70A606.5060309@dallaway.org.uk> <4A7156FF.9030206@dallaway.org.uk> Date: Thu, 30 Jul 2009 22:55: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/msg00276.txt.bz2 Hi John, Thank you very much, Finally i could run Reboot.bin. I figured that I need to change the ecos HAL->Cortex-M Architecture->Cortex-M3 STm32 Variant->STM32 Eval Development Board HAL->Startup type= "ROM" I need to change the startup type to "ROM" then it works. Default value was RAM i guess. I could see the Redboot prompt in the serial port. Now I am trying to run Ecos, what is the easiest way to run Ecos ? I got Keil and IAR debuggers and also Amontec debugger. I have added applications using Keil and IAR debugger into STM32. I want to add these applications into Ecos aswell. For example, I have HTTP server running on STM32 with lwIP1.3.0. Now, I know that Ecos does not provide lwIP 1.3.0. I have seen Simon implemented lwIP 1.3.0 for Ecos, I could use that. before that I want to first familiarize with Ecos environment by running different examples. Please show me the direction what is the best path to reach this goal. Thanks Kishore Srimat Kishore On Thu, Jul 30, 2009 at 1:17 AM, John Dallaway wrote: > Hi Kishore > > Kishore Srimat wrote: > >> 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. > > For STM3210E-EVAL, RedBoot is installed to the internal Flash at > 0x08000000. The CYGNUM_REDBOOT_FLASH_BASE option to which you refer > describes the location of Flash memory to be managed by the RedBoot > flash image system. Once you have RedBoot installed, you should be able > to download images and write them to the external NOR Flash located at > 0x64000000 from the RedBoot prompt. > > Check your terminal emulator settings (38400, 8N1, no handshaking) and > try both serial ports. > > 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