public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Error in run tests
@ 2003-12-02  9:52 Ricardo Andrino
  2003-12-02 10:09 ` Nick Garnett
  2003-12-02 10:22 ` [ECOS] " John Dallaway
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Andrino @ 2003-12-02  9:52 UTC (permalink / raw)
  To: JohnDallaway, RicardoAndrino; +Cc: ecos-discuss

Hello,
when i run the test i have this error. Any idea? I am using a ROM start-up mode onto a AT91EB40A. I apreciate any kind of help.
Thaks
****************************************************************************
Run started
(gdb) set height 0
set height 0
(gdb) set debug remote 0
set debug remote 0
(gdb) set remotebaud 38400
set remotebaud 38400
(gdb) target rdi /dev/ttyS1
target rdi /dev/ttyS1
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for AT91EB40A (1.00)
Angel Debug Monitor rebuilt on Feb 03 2002 at 16:09:59
Serial Rate:  38400
(gdb) load
load
Loading section .rom_vectors, size 0x40 lma 0x1000000
Loading section .text, size 0x6840 lma 0x1000040
Loading section .rodata, size 0x34c lma 0x1006880
Loading section .data, size 0x2e0 lma 0x1006bcc
Start address 0x1000040, load size 28332
Transfer rate: 25184 bits/sec, 488 bytes/write.
(gdb) break cyg_test_exit
break cyg_test_exit
Breakpoint 1 at 0x1002c28: file /opt/ecos/ecos-snapshot-2003-11-25/packages/infra/current/src/tcdiag.cxx, line 267.
(gdb) break cyg_assert_fail
break cyg_assert_fail
Function "cyg_assert_fail" not defined.
(gdb) break cyg_test_init
break cyg_test_init
Breakpoint 2 at 0x1002b38: file /opt/ecos/ecos-snapshot-2003-11-25/packages/infra/current/src/tcdiag.cxx, line 192.
(gdb) cont
cont
Continuing.
RDI_setbreak: no more break/watch points available
RDI_setbreak: no more break/watch points available
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x1002c28: Unbekannter Fehler 148.
Cannot insert breakpoint 2.
Error accessing memory address 0x1002b38: Unbekannter Fehler 148.
The same program may be running in another process.
(gdb) set cyg_test_is_simulator=0
set cyg_test_is_simulator=0
Address of symbol "cyg_test_is_simulator" is unknown.
(gdb) cont
cont
Continuing.
RDI_setbreak: no more break/watch points available
RDI_setbreak: no more break/watch points available
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x1002c28: Unbekannter Fehler 148.
Cannot insert breakpoint 2.
Error accessing memory address 0x1002b38: Unbekannter Fehler 148.
The same program may be running in another process.
(gdb) bt
bt
#0  0x01000040 in reset_vector ()
RDI_read: data abort, no memory at specified address?
RDI_read: data abort, no memory at specified address?
Error accessing memory address 0xe59ff010: Die Ressource ist zur Zeit nicht verfügbar.
(gdb) Run complete
****************************************************************************
John Dallaway <jld@ecoscentric.com> schrieb am 01.12.03 12:15:35:
> 
> Ricardo Andrino wrote:
> 
> > Do you know the GDB commands to connect with ARM Angel/Serial? I would like to add these commands to the register for EB40A platform that i have created.Now there are: set debug remote 0 , target remote %p but this is a remote serial connection which doesn't work with my target to run the tests.
> 
> Use "target rdi" to connect to Angel using arm-elf-gdb. Searching for 
> "target rdi" using Google is quite informative.
> 
> John Dallaway
> eCosCentric Limited
> 


______________________________________________________________________________
WEB.DE FreeMail wird 5 Jahre jung! Feiern Sie mit uns und
nutzen Sie die neuen Funktionen http://f.web.de/features/?mc=021130


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* Re: [ECOS] Error in run tests
  2003-12-02  9:52 [ECOS] Error in run tests Ricardo Andrino
@ 2003-12-02 10:09 ` Nick Garnett
  2003-12-02 10:22 ` [ECOS] " John Dallaway
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Garnett @ 2003-12-02 10:09 UTC (permalink / raw)
  To: Ricardo Andrino; +Cc: ecos-discuss

"Ricardo Andrino" <ricardo_andrino@web.de> writes:

> Hello,
> when i run the test i have this error. Any idea? I am using a ROM
> start-up mode onto a AT91EB40A. I apreciate any kind of help.

Well, there's your answer: a ROM startup executable is intended to run
out of ROM, not RAM. The load address of 0x1000000 is in ROM, so the
load won't write anything, and when Angel tries to set the breakpoints
you get error messages.

Try a RAM startup application. Better still, install RedBoot.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* [ECOS] Re: Error in run tests
  2003-12-02  9:52 [ECOS] Error in run tests Ricardo Andrino
  2003-12-02 10:09 ` Nick Garnett
@ 2003-12-02 10:22 ` John Dallaway
  1 sibling, 0 replies; 3+ messages in thread
From: John Dallaway @ 2003-12-02 10:22 UTC (permalink / raw)
  To: Ricardo Andrino; +Cc: ecos-discuss

Ricardo Andrino wrote:

> when i run the test i have this error. Any idea? I am using a ROM start-up mode onto a AT91EB40A. I apreciate any kind of help.

My advice is to install RedBoot:

    http://ecos.sourceware.org/docs-latest/ref/at91.html

John Dallaway
eCosCentric Limited



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2003-12-02 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-02  9:52 [ECOS] Error in run tests Ricardo Andrino
2003-12-02 10:09 ` Nick Garnett
2003-12-02 10:22 ` [ECOS] " John Dallaway

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).