This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
load problem
- From: Piotrek <psroka at simplusnet dot pl>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 25 Jul 2005 18:12:00 +0200
- Subject: [ECOS] load problem
- Reply-to: Piotrek <psroka at simplusnet dot pl>
Hello
I porting excalibur on the excalibur EPXA4
When I try to load something into RAM, using load command, I don't see any bytes loading. For example:
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 16:08:46, Jul 21 2005
Platform: EXCALIBUR system (ARM9)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x00000000-0x00400000, [0x0000d370-0x00400000] available
RedBoot> load -m xmodem -b 0x30000
CxyzModem - CRC mode, 10(SOH)/0(STX)/3(CAN) packets, 11 retries
RedBoot> BB0
I'm trying load the program using the gdb debugger
(gdb) load a.out
Loading section .rom_vectors, size 0x40 lma 0x30000
Ignoring packet error, continuing...
Loading section .text, size 0xf398 lma 0x30040
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
I can read registers:
r0 0x1 1
r1 0xc2f4 49908
r2 0x0 0
r3 0x8000000 134217728
r4 0xc19c 49564
r5 0x1 1
r6 0xc2a0 49824
r7 0x0 0
r8 0x50 80
r9 0x0 0
r10 0x821c 33308
r11 0xa51c 42268
r12 0x7ffffb0 134217648
sp 0xa4ec 42220
lr 0x40007cb0 1073773744
pc 0x40007cc8 1073773768
fps 0x0 0
cpsr 0x600000d3 1610612947
but I can't load program using load command.
What wrong with my ecos?
Piotr
Sroka
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss