This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
YModem send file fails
- From: Jürgen Lambrecht <J dot Lambrecht at televic dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 23 Feb 2006 16:50:44 +0100
- Subject: [ECOS] YModem send file fails
Hello,
I'm porting ecos to a custom board based on the Atmel EB55 board (with an
ARM7TDMI, AT91M55800A). It has the same RAM, but a bigger flash, and an
8-bit boot EEPROM.
My template in the configtool is nearly the same as the EB55 one, and also
the redboot_rom.ecm file is nearly the same, except for the other type of
flash (spansion S29GL512N).
RedBoot runs on the board (in ROM), and I can read/write RAM and flash,
and read the EEPROM.
When I want to load a file from PC to RAM, it fails after a couple of
retries. It never starts sending (no throughput, 0K sent). Last error is
'Unrequested response'.
I first give the command (below) in redboot, and then in hyperterminal I
select 'Transfer - Send file', protocol: Ymodem, I browse for the file,
and click 'Send'.
If I cancel the hyperterminal send, redboot is stuck (need to reset). If I
let hyperterminal retry until it gives up, redboot behaves sometimes
strange (see the 'x -b 0x0100F000' command). After a version command,
redboot is OK again (see same command lower).
Also xmodem fails.
Anybody any clue about what's wrong?
Thanks,
Juergen
************************************************************
RAM: 0x02000000-0x02100000, [0x02006e00-0x02100000] available
FLASH: 0x03000000 - 0x5000000, 256 blocks of 0x00020000 bytes each.
RedBoot> load -m ymodem -b 0x02010000
CCan't load '<null>': Cancelled
RedBoot> x -b 0x0100F000
** Error: Illegal command: "<Not a string: 0x2004638>"
...(version)
RedBoot> x -b 0x0100F000
0100F000: 91 06 B0 16 57 66 76 76 15 46 34 56 4C D9 6D C9 |....Wfvv.F4VL.m.|
0100F010: 0E F9 2F E9 C8 99 E9 89 8A B9 AB A9 44 58 65 48 |../.........DXeH|
************************************************************
--
Jürgen Lambrecht
Development Engineer
Televic Transport Systems
http://www.televic.com
Televic NV / SA (main office)
Leo Bekaertlaan 1
B-8870 Izegem
Tel: +32 (0)51 303045
Fax: +32 (0)51 310670
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss