This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: GDB load error


Is this truly a 7211 (CL-7211) chip - and not a 7212 on a 7211-2 board?
If so, that chip is pretty slow.  Maybe you are having trouble keeping
up at 38400.  You might try rebuilding RedBoot to run at 19200 and then
see if GDB works with it.

On 05-Jul-2001 Piteir wrote:
> Hi,
> 
> I have build ecos configuration for Cirrus Logic
> EDB7211 using "default" template. with RAM startup and
> enable "Cirrus Logic EDB7XXX serial port 1 driver"
> 
> then I compile hello example by typing:
> 
>       arm-elf-gcc -g -o hellog.exe
> -I//c/ecos-work/hel_install/include hello.c
> -L//c/ecos-work/hel_install/lib
> -T//c/ecos-work/hel_install/lib/target.ld -nostdlib
> 
> then I convert to SREC format, using:
> 
>       arm-elf-objcopy -O srec hellog.exe hellog.srec
>  
> I load this using YMODEM, unfortunatelly when I type
> 'go' it just hang and nothing appears in my
> HyperTerminal screen.
>  
> So, I tried again but this time using Redboot GDB-stub
>  by typing in my HyperTerminal:
>       $Hc-1#09 and got respond +$OK#9a
>  
> I closed HyperTerminal and tried to debug it from
> Cygwin but I got this error:
> 
> ....
> Remote debugging using com1
> 0xe0004c68 in ?? ()
> (gdb) load
> Loading section .rom_vectors, size 0x40 lma 0x20000
> Loading section .text, size 0xfda8 lma 0x20040
> Memory access error while loading section .text.
> (gdb)
> 
> 
> then I tried again, this time I just restart my board
> and didn't enter to GDB-stub from Hyperterminal and
> debug it. but this time I got error when I type
> 'continue', it just hanged there no respond at all
> 
> ....
> Remote debugging using com1
> 0xe0004c68 in ?? ()
> (gdb) load
> Loading section .rom_vectors, size 0x40 lma 0x20000
> Loading section .text, size 0xfda8 lma 0x20040
> Loading section .rodata, size 0x460 lma 0x2fde8
> Loading section .data, size 0x6cc lma 0x30248
> Start address 0x20040 , load size 67860
> Transfer rate: 27144 bits/sec, 304 bytes/write.
> (gdb) continue
> Continuing.
> 
>  
> anyone know what happen and what I should do to solve
> this?
>  
> all I want just to see this example running in my
> redboot
> 
> Thanks in advance
> 
> 
> =====
> Regards,
> Piteir
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]