[ECOS] upload using xmodem, ymodem
Christoph Csebits
Christoph.Csebits@frequentis.com
Wed Jun 13 06:04:00 GMT 2001
On Wed, Jun 13, 2001 at 06:07:14AM -0600, Gary Thomas wrote:
> Did you run the script intact? On what platform? What version of RedBoot?
yes,
Linux/minicom 1.82.1/sx 0.12.21rc <-> MPC860T based board,
CVS 12May2001 (eCos and RedBoot)
loading elf binaries with gdb works fine.
> The messages from 'sx' indicate that you've dropped into GDB. Kill the 'sx'
you are right, after killing sx and starting gdb i get:
Remote debugging using /dev/ttyS1
0x23fc8 in ?? ()
(gdb)
> and just type return on the console. What does it show?
something like this:
$T0240:00023fc8;01:0003464c;#1f$T0240:00023fc8;01:0003464c;#1f$T0240:00023fc8;01:0003464c;#1
I found out that
transferring a file with 81 bytes gives the following
--------------------------------------------------------------------------------------
RedBoot>
Ambiguous command '', choices are: cache cksum dump go help load ping reset version
** Error: Illegal command: ""
RedBoot>Sending upload, 0 blocks: Give your local XMODEM receive command now.
Xmodem sectors/kbytes sent: 0/ 0kRetry 0: NAK on sector
Bytes Sent: 128 BPS:5
Transfer complete
ode, 2(SOH)/0(STX)/0(CAN) packets, 2 retries
RedBoot>
--------------------------------------------------------------------------------------
dumping the according memory shows the expected content
I read about intermediate NAKs happening with earlier versions of RedBoot
but i use a very virgin one.
thanks for any advice, best regards, Christoph
PS: sorry if i posted the previous mail twice, i thougt i had
troubles with mutt
More information about the Ecos-discuss
mailing list