public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] GDB load error
@ 2001-07-04  7:44 Piteir
  2001-07-04 15:55 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Piteir @ 2001-07-04  7:44 UTC (permalink / raw)
  To: ECOS

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] GDB load error
  2001-07-04  7:44 [ECOS] GDB load error Piteir
@ 2001-07-04 15:55 ` Jonathan Larmour
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2001-07-04 15:55 UTC (permalink / raw)
  To: Piteir; +Cc: ECOS

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"

Try it with just the default configuration (no serial driver) just to be
sure. That should work.

Also if you built your own redboot you can use the redboot_ROM binaries for
the edb7211 at http://sources.redhat.com/ecos/boards/redbootbins/edb7211 to
be sure it isn't something with yours.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] GDB load error
       [not found] <20010705142238.11644.qmail@web12307.mail.yahoo.com>
@ 2001-07-05  8:51 ` Jonathan Larmour
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2001-07-05  8:51 UTC (permalink / raw)
  To: Piteir, eCos discussion

Piteir wrote:
> warning: Remote reply is too short:
> T05thread:000018e5;2f:2004030000000000200403
> 00000018e5d051000005000000e4130000dc010300d8010300483d0300383d03004c6700e0c47900
> e0d81300005c3d03004c3d03007c6700e0446700e0d8130000783d0300603d03000c5c00e06c6700
> e0943d030034480000d4010300903d03007c3d0300cc4b00e0805b00e00200000000000000103e03
> 00943d0300ec0500e0804b00e000000000e518f09f00000000e7e81260e518f09f00000000d40103
> 00dc010300d8010300443e030013000000

Looks like potentially flaky serial that's dropping characters. Try
reconfiguring for a lower baud rate.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] GDB load error
  2001-07-04 20:11 Piteir
@ 2001-07-05  6:06 ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2001-07-05  6:06 UTC (permalink / raw)
  To: Piteir; +Cc: ECOS

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] GDB load error
@ 2001-07-04 20:11 Piteir
  2001-07-05  6:06 ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Piteir @ 2001-07-04 20:11 UTC (permalink / raw)
  To: ECOS

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-05  8:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-04  7:44 [ECOS] GDB load error Piteir
2001-07-04 15:55 ` Jonathan Larmour
2001-07-04 20:11 Piteir
2001-07-05  6:06 ` Gary Thomas
     [not found] <20010705142238.11644.qmail@web12307.mail.yahoo.com>
2001-07-05  8:51 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).