This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to run a program with RedBoot (with "go" command )?
- To: Gozman Florian Leonard <leonard at bluegem dot codec dot ro>
- Subject: Re: [ECOS] How to run a program with RedBoot (with "go" command )?
- From: Jesper Skov <jskov at redhat dot com>
- Date: 06 Aug 2001 13:41:36 +0200
- Cc: ecos-discuss at sources dot redhat dot com
- References: <3B6E7F28.254A0E56@bluegem.codec.ro>
>>>>> "Gozman" == Gozman Florian Leonard <leonard@bluegem.codec.ro> writes:
Gozman> Hi,
Gozman> My target is: AT91EB40. I ready installed RedBoot and I tried
Gozman> to run some of examples. When I tried to run the "hello
Gozman> world" program with "go" command into RedBoot as follow:
RedBoot> load -m y -b 0x02040000 // select the file with ".srec" ext.
Gozman> oint: 0x02020040, address range: 0x02020000-0x02026c4c
Gozman> xyzModem - CRC mode, 653(SOH)/0(STX)/0(CAN) packets, 6 retries
RedBoot> go // blocks !!! none from the following commands works:
Gozman> "go", "go 0x02040000" and "go 0x02020040"
Gozman> What is the problem ?
Impossible to tell. Try to use GDB instead, then you might get an
exception - or at least be able to step through the code to see where
and why it fails.
At a guess, did you build the test in the same directory as you built
redboot? You need to build from a clean directory.
Jesper