public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] SIGTRAP problems
@ 2012-12-09  1:07 Michael Jones
  2012-12-10 21:33 ` Morris, Richard
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Jones @ 2012-12-09  1:07 UTC (permalink / raw)
  To: eCos Discussion

I am starting a new thread on my debugging problem with Kinetis. I don't really know for sure it is a Kinetis specific problem.

The behavior I get is when I have downloaded my hello world ELF image from gdb, an image that runs fine when loaded into the RedBoot rom monitor via telnet, I get a SIGTRAP at the reset vector. Any attempt to continue generates the same SIGTRAP.

I search all over the discussion list and there are comments about multithread problems, and others that have run into the same problem, but no definite solutions.

I have played with more settings than I can remember in my configuration. And come up empty.

Does anyone have any advice on how to debug this kind of problem rather than ignorantly guessing?

Does anyone have any fixes from the past that might understand what causes it?

Mike

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] SIGTRAP problems
  2012-12-09  1:07 [ECOS] SIGTRAP problems Michael Jones
@ 2012-12-10 21:33 ` Morris, Richard
  0 siblings, 0 replies; 2+ messages in thread
From: Morris, Richard @ 2012-12-10 21:33 UTC (permalink / raw)
  To: Michael Jones; +Cc: eCos Discussion

Check to ensure you are using the correct memory startup type you are intending.  I often use ROM, when loading with a JTAG directly into flash without Redboot.

To find this option, check in the Kinetis HAL, then probably development board: Startup Type.  On the processor I'm using STM32F4, options are ROM, RAM, SRAM, JTAG, ROMINT.  Not sure what the Kinetis platform offers.

Also, if you are not using Redboot or another ROM monitor, disable "Work with a ROM monitor" under: eCos HAL:ROM monitor support.

--Richard

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-10 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-09  1:07 [ECOS] SIGTRAP problems Michael Jones
2012-12-10 21:33 ` Morris, Richard

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).