This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: upload using xmodem, ymodem
- To: "'Christoph Csebits'" <Christoph dot Csebits at frequentis dot com>,<ecos-discuss at sources dot redhat dot com>
- Subject: RE: [ECOS] upload using xmodem, ymodem
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Tue, 12 Jun 2001 10:36:53 -0600
- Organization: Extreme Engineering
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