From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29577 invoked by alias); 22 Jan 2014 17:24:53 -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 29565 invoked by uid 89); 22 Jan 2014 17:24:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 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; Wed, 22 Jan 2014 17:24:51 +0000 Received: by mail-ob0-f171.google.com with SMTP id wp4so765076obc.30 for ; Wed, 22 Jan 2014 09:24:49 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.182.230.135 with SMTP id sy7mr2376893obc.24.1390411489881; Wed, 22 Jan 2014 09:24:49 -0800 (PST) Received: by 10.182.250.162 with HTTP; Wed, 22 Jan 2014 09:24:49 -0800 (PST) In-Reply-To: References: Date: Wed, 22 Jan 2014 17:24:00 -0000 Message-ID: From: Samuel Charnet To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [ECOS] Fwd: STM32 ROMINT don't run X-SW-Source: 2014-01/txt/msg00022.txt.bz2 Hi, I want to try the ecos OS. My board come from waveshare, it is based on stm32f407ig core ( http://www.wvshare.com/product/EVK407I.htm ) After some days I have ecos from CVS compiled. With the configtool I have created my library with the stm3240 template and i have modified the startup type to ROMINT I have a simple thread which blink a led. I can upload the binary file to the stm32 (i use the last openocd from source and olimex arm-usb-ocd-h jtag device) Unfortunately the led don't blink. With gdb i can't break on any function and the stack seems broken. The objdump seems ok but i am not a veteran with embeded developpment. Could you give me some hints, i do not know where to search.. thanks in advance. This is a gdb output : (gdb) b cyg_user_start Breakpoint 1 at 0x80001a2: file plsee.c, line 151. (gdb) target remote :3333 Remote debugging using :3333 hal_reset_vsr () at /home/lucky/Devel/PLSee/ecos/ecos-3.0/packages/hal/cortexm/arch/current/src/hal_misc.c:132 132 { (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 ?? () -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss