This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: AEB: GDB vs. ROM monitor dilemma
Quoting Jesper Skov <jskov@cambridge.redhat.com>:
> Marco> Symptoms: When running the target application inside GDB
> Marco> (Insight), things work as expected. When communicating with
> Marco> the on-board ROM monitor (v0.01) via a terminal application
> Marco> (minicom), however, execution typically immediately branches
> Marco> through zero (as remarked upon by the monitor, followed by a
> Marco> reboot).
> Are you running an eCos app by downloading it with the board monitor's
> download command? If so, you will need to hack the eCos startup (I
> think including stubs should suffice) so the board will be properly
> initialized. The board monitor does not leave the board in the state
> expected by eCos applications.
Yes indeed--thanks! Didn't expect it to be *that* simple, though. :^)
Marco
--
-------------------------------------------------
This mail sent through IMP: imp.imms.de