public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Charnet <samcharnet@gmail.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Fwd: STM32 ROMINT don't run
Date: Wed, 22 Jan 2014 17:24:00 -0000	[thread overview]
Message-ID: <CACra8jX2N2HkH2QnmTh+6u76bUGOT8AyGALQiSB_g0jEXhvHFA@mail.gmail.com> (raw)
In-Reply-To: <CACra8jX5=y1-7iRktxuvK11T8zTNBPfR38=5b57PK2EJNbQ1nA@mail.gmail.com>

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

       reply	other threads:[~2014-01-22 17:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACra8jX5=y1-7iRktxuvK11T8zTNBPfR38=5b57PK2EJNbQ1nA@mail.gmail.com>
2014-01-22 17:24 ` Samuel Charnet [this message]
2014-01-23 17:06   ` [ECOS] " John Dallaway
2014-01-23 18:02     ` Samuel Charnet
2014-01-24  8:57       ` John Dallaway
2014-01-24 11:19         ` Samuel Charnet
2014-01-25 11:07         ` Samuel Charnet
2014-01-25 13:41           ` Samuel Charnet
2014-01-28 20:36             ` Samuel Charnet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACra8jX2N2HkH2QnmTh+6u76bUGOT8AyGALQiSB_g0jEXhvHFA@mail.gmail.com \
    --to=samcharnet@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).