[ECOS] How to run a program with RedBoot (with "go" command )?

Jesper Skov jskov@redhat.com
Mon Aug 6 04:41:00 GMT 2001


>>>>> "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



More information about the Ecos-discuss mailing list