From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7224 invoked by alias); 5 Aug 2009 22:22:18 -0000 Received: (qmail 7215 invoked by uid 22791); 5 Aug 2009 22:22:17 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.146) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Aug 2009 22:22:11 +0000 Received: by ey-out-1920.google.com with SMTP id 5so271977eyb.24 for ; Wed, 05 Aug 2009 15:22:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.210.58.13 with SMTP id g13mr11045700eba.51.1249510928786; Wed, 05 Aug 2009 15:22:08 -0700 (PDT) In-Reply-To: <4A782168.3050603@zynaptic.com> References: <4A70A606.5060309@dallaway.org.uk> <4A7156FF.9030206@dallaway.org.uk> <4A72AAD3.70006@dallaway.org.uk> <4A782168.3050603@zynaptic.com> Date: Wed, 05 Aug 2009 22:22:00 -0000 Message-ID: From: kishore Srimat To: Chris Holgate Cc: John Dallaway , 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: Re: [ECOS] Re: How to run ECO 3.0 on STM32 X-SW-Source: 2009-08/txt/msg00013.txt.bz2 Hi John and Chris, Thanks guys, I am really thankful to you. John, thanks for being so patient in answering my dumb questions. I could run the test examples successfully. I am not still out of questions yet :) Well I would like to know the way to add Simon's lwIP 1.3.0 which i downloaded. Is there a procedure to take out the old lwIP and add the new Simon's lwIP ? I see the lwIP folder and also a ecos database file. So I thought its a good idea to ask ecos experts here. My goal is to run the Raw HTTP server example using lwIP 1.3.0(Simon's port). Best Regards Kishore Srimat On Tue, Aug 4, 2009 at 4:54 AM, Chris Holgate wrote: > Hi Kishore, > > kishore Srimat wrote: > >> I tried to run with gdb but i constantly getting this error "Program >> recieved signal SIGBUS, bus error". And some times it freezes at the >> "Continuing". > > Generally speaking, you should interpret the SIGBUS error the same way > as a UNIX segmentation fault - ie, you're trying to read or write to an > area of memory which is not there. > > There is an extra quirk with the STM32 in that you can see similar > errors if the DMA controller attempts to access off-chip memory. You > will see this if you are doing a default RAM based build and enabling > the SPI drivers without specifying a suitable DMA bounce buffer. > >> I tried to reset the board as it was suggested before running the >> example but no use. Any thoughts people ? Does anybody seen similar >> error ? > > If it's not the SPI driver / DMA controller causing the error then the > chances are it's a null pointer dereference or similar bug in your > application. Try setting a breakpoint on cyg_user_start and take it > from there. > > Chris. > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss