This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: standalone RAM application
- From: "Eric de Jong" <list_ericdejong_10 at gmx dot net>
- To: "eCos Discussion" <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 13 Oct 2003 08:29:54 +0200
- Subject: Re: [ECOS] standalone RAM application
- References: <200310101538.17047.aarichar@cisco.com>
>> 1) no vectors are placed in RAM at 0x0 with the load of my program.
No, the vectors are installed by redboot, and, if selected in the configuration,
updated by your init code.
>> 2) my program seems to want to load at 0x200000.
You can change this in your linker file (target.ld ?) with the command
"ENTRY(reset_vector)". The label reset_vector must be defined globaly.
>> The code prints out a rew things and then hangs at some point.
Your code? It does seem to work then right?
Debug code? Try assembly stepping through the startup code and find out where it
does wrong. Maybe you need to change some options in your config file?
Eric.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss