From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11375 invoked by alias); 23 Jan 2014 18:02:56 -0000 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 Received: (qmail 11362 invoked by uid 89); 23 Jan 2014 18:02:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f171.google.com Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 23 Jan 2014 18:02:25 +0000 Received: by mail-ob0-f171.google.com with SMTP id wp4so2411788obc.2 for ; Thu, 23 Jan 2014 10:02:23 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.60.115.138 with SMTP id jo10mr1478737oeb.71.1390500143144; Thu, 23 Jan 2014 10:02:23 -0800 (PST) Received: by 10.182.250.162 with HTTP; Thu, 23 Jan 2014 10:02:23 -0800 (PST) In-Reply-To: <52E14C04.30308@dallaway.org.uk> References: <52E14C04.30308@dallaway.org.uk> Date: Thu, 23 Jan 2014 18:02:00 -0000 Message-ID: From: Samuel Charnet To: ecos-discuss@sourceware.org Cc: John Dallaway Content-Type: text/plain; charset=ISO-8859-1 Subject: [ECOS] Re: STM32 ROMINT don't run X-SW-Source: 2014-01/txt/msg00024.txt.bz2 Hi John, > You may be observing the following issue: > > http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001864 > > Try modifying hal/cortexm/arch/current/src/hal_misc.c to read as follows: > >> #if defined(CYG_HAL_STARTUP_ROM) || defined(CYG_HAL_STARTUP_ROMINT) >> // Relocate data from ROM to RAM > > Does that resolve the issue for you? > > John Dallaway > eCos maintainer > http://www.dallaway.org.uk/john Thanks for your quick answer. I had a hope but it is not enought, it still doesn't run. the stack is different : (gdb) target remote :3333 Remote debugging using :3333 0x00000000 in ?? () (gdb) c Continuing. Note: automatically using hardware breakpoints for read-only addresses. stm32f4x.cpu -- clearing lockup after double fault Program received signal SIGINT, Interrupt. 0x00000000 in ?? () (gdb) where #0 0x00000000 in ?? () #1 0x08001d3c in Cyg_Exception_Control::deliver_exception (this=, exception_number=, exception_info=) at /home/lucky/Devel/PLSee/ecos/ecos-3.0/packages/kernel/current/src/common/except.cxx:234 #2 0x0800005e in hal_default_exception_vsr () at /home/lucky/Devel/PLSee/ecos/ecos-3.0/packages/hal/cortexm/arch/current/src/vectors.S:184 #3 0x0800005e in hal_default_exception_vsr () at /home/lucky/Devel/PLSee/ecos/ecos-3.0/packages/hal/cortexm/arch/current/src/vectors.S:184 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss