[ECOS] upload using xmodem, ymodem

Trenton D. Adams tadams@extremeeng.com
Tue Jun 12 09:40:00 GMT 2001


Compile your program using the cross compilers.  No need to strip the
executable for now.

arch-elf-gdb yourexecutable
target remote /dev/ttyS0

The last command will complete.  That's when you need to do the next
commands
load
continue

load downloads to the "target remote".
continue continues debugging the program which will run it.


Oh, by the way I've never used the SREC format while using GDB so I
don't know if it will work or not.  Just use your executable, and see
what happens.

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[ mailto:ecos-discuss-owner@sources.redhat.com ] On Behalf Of Christoph
Csebits
Sent: Tuesday, June 12, 2001 9:33 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] upload using xmodem, ymodem


hi

i have redboot working on my MPC860T based
board in RAM. The host is linux.
I am using eCos CVS version from today.

Loading a file with gdb is working.

I tried many failing possibilities
to load a .srec file with minicom and sx.
(XMODEM and YMODEM)
There is no working eth till now.

Can anybody show me the right way
for uploading an executable via serial
line.

thanks, christoph



More information about the Ecos-discuss mailing list