public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] arm-elf-gdb does not work
@ 2002-11-05 18:33 Mildred Frisco
  2002-11-05 23:23 ` Iztok Zupet
  2002-11-06  6:32 ` [ECOS] arm-elf-gdb does not work Warren Postma
  0 siblings, 2 replies; 8+ messages in thread
From: Mildred Frisco @ 2002-11-05 18:33 UTC (permalink / raw)
  To: ecos-discuss


Hi !  I am having a problem with my arm-elf-gdb.  I produced an application
hello.elf and downloaded/tested it using arm-elf-gdb and it worked.  I built
another ecos with net test configuration.  I wanted to use the test programs
produced but when I ran arm-elf-gdb the program did not work.  The memory
window (I think it's the memory window) in arm-elf-gdb appeared for a while
and then back to the prompt.  What seems to be the problem ?
Thanks.

mildred


-- 
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] 8+ messages in thread

* Re: [ECOS] arm-elf-gdb does not work
  2002-11-05 18:33 [ECOS] arm-elf-gdb does not work Mildred Frisco
@ 2002-11-05 23:23 ` Iztok Zupet
  2002-11-05 23:57   ` Mildred Frisco
  2002-11-06  6:32 ` [ECOS] arm-elf-gdb does not work Warren Postma
  1 sibling, 1 reply; 8+ messages in thread
From: Iztok Zupet @ 2002-11-05 23:23 UTC (permalink / raw)
  To: Mildred Frisco, ecos-discuss

On Wednesday 06 November 2002 03:34, Mildred Frisco wrote:
> Hi !  I am having a problem with my arm-elf-gdb.  I produced an application
> hello.elf and downloaded/tested it using arm-elf-gdb and it worked.  I
> built another ecos with net test configuration.  I wanted to use the test
> programs produced but when I ran arm-elf-gdb the program did not work.  The
> memory window (I think it's the memory window) in arm-elf-gdb appeared for
> a while and then back to the prompt.  What seems to be the problem ?
> Thanks.
>
> mildred

My guess is that You are debuuging via ethernet, am I right? In that case You 
must use a diffrent IP for RedBoot and eCos net.

Iztok

-- 
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] 8+ messages in thread

* RE: [ECOS] arm-elf-gdb does not work
  2002-11-05 23:23 ` Iztok Zupet
@ 2002-11-05 23:57   ` Mildred Frisco
  2002-11-06  3:00     ` peter_ku
  0 siblings, 1 reply; 8+ messages in thread
From: Mildred Frisco @ 2002-11-05 23:57 UTC (permalink / raw)
  To: ecos-discuss


i'm debugging via serial connection.
thanks.

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Iztok Zupet
Sent: Wednesday, November 06, 2002 3:23 PM
To: Mildred Frisco; ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] arm-elf-gdb does not work


On Wednesday 06 November 2002 03:34, Mildred Frisco wrote:
> Hi !  I am having a problem with my arm-elf-gdb.  I produced an
application
> hello.elf and downloaded/tested it using arm-elf-gdb and it worked.  I
> built another ecos with net test configuration.  I wanted to use the test
> programs produced but when I ran arm-elf-gdb the program did not work.
The
> memory window (I think it's the memory window) in arm-elf-gdb appeared for
> a while and then back to the prompt.  What seems to be the problem ?
> Thanks.
>
> mildred

My guess is that You are debuuging via ethernet, am I right? In that case
You
must use a diffrent IP for RedBoot and eCos net.

Iztok

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


-- 
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] 8+ messages in thread

* RE: [ECOS] arm-elf-gdb does not work
  2002-11-05 23:57   ` Mildred Frisco
@ 2002-11-06  3:00     ` peter_ku
  2002-11-07  1:48       ` [ECOS] Build standalone application in E7T peter_ku
  0 siblings, 1 reply; 8+ messages in thread
From: peter_ku @ 2002-11-06  3:00 UTC (permalink / raw)
  To: ecos-discuss


try 

arm-elf-gdb -nx hello.elf


Peter
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Mildred Frisco
Sent: Wednesday, November 06, 2002 3:59 PM
To: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] arm-elf-gdb does not work



i'm debugging via serial connection.
thanks.

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Iztok Zupet
Sent: Wednesday, November 06, 2002 3:23 PM
To: Mildred Frisco; ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] arm-elf-gdb does not work


On Wednesday 06 November 2002 03:34, Mildred Frisco wrote:
> Hi !  I am having a problem with my arm-elf-gdb.  I produced an
application
> hello.elf and downloaded/tested it using arm-elf-gdb and it worked.  I
> built another ecos with net test configuration.  I wanted to use the test
> programs produced but when I ran arm-elf-gdb the program did not work.
The
> memory window (I think it's the memory window) in arm-elf-gdb appeared for
> a while and then back to the prompt.  What seems to be the problem ?
> Thanks.
>
> mildred

My guess is that You are debuuging via ethernet, am I right? In that case
You
must use a diffrent IP for RedBoot and eCos net.

Iztok

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


-- 
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] 8+ messages in thread

* [ECOS] arm-elf-gdb does not work
  2002-11-05 18:33 [ECOS] arm-elf-gdb does not work Mildred Frisco
  2002-11-05 23:23 ` Iztok Zupet
@ 2002-11-06  6:32 ` Warren Postma
  1 sibling, 0 replies; 8+ messages in thread
From: Warren Postma @ 2002-11-06  6:32 UTC (permalink / raw)
  To: Ecos Mailing List; +Cc: Mildred Frisco

Reply to Mildred Frisco:

(a) what exact version of arm-elf-gdb are you using? binary or compiled it
yourself?  If you compiled it yourself, please post your "configure"
statement.
(b) Please give more information on your target hardware.

Try the text mode:

arm-elf-gdb -nw <exename>

# Make serial connection:
tet remotebaud 38400
target remote COM1
# Get the code running and up to the first line in main:
load
break main
c

Then see if it gets to the first line of main, and type S to single step
through the code. That will establish whether the NON-GUI version is
working, and your target environment is working. I am having a lot of
trouble with the GUI version of arm-elf-gdb 5.2, and my target is a
StrongARM 1110 based NanoEngine.  Also, like you, hello-world is a lot more
stable even under the GUI, than larger EXEs.  I think that there is a
serious bug in INSIGHT 5.2, which may be fixed in latest CVS sources, but I
haven't gotten them to build yet.

If you get this far, may I suggest that the problem is that only recently
(version 5.3 and later) has the GUI version developed stability with remote
ARM targets.  I have mixed results with my StrongARM "nanoEngine" target
here.

The fact that the network stuff was linked in gives me a hint, in that
larger and more stressful applications appear to be having problems, but
Hello World programs are working fine for me also.    Our experiences are
not to different here, and the thing we have in common is we're probably
both using arm-elf-gdb 5.2 or lower, and both using arm targets.  HMM.

I am following this up on the INSIGHT mailing lists also.

Regards,

Warren Postma

----- Original Message -----
From: "Mildred Frisco" <mildredf@asti.dost.gov.ph>
> Hi !  I am having a problem with my arm-elf-gdb.  I produced an
application
> hello.elf and downloaded/tested it using arm-elf-gdb and it worked.  I
built
> another ecos with net test configuration.  I wanted to use the test
programs
> produced but when I ran arm-elf-gdb the program did not work.  The memory
> window (I think it's the memory window) in arm-elf-gdb appeared for a
while
> and then back to the prompt.  What seems to be the problem ?
> Thanks.



-- 
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] 8+ messages in thread

* [ECOS] Build standalone application in E7T
  2002-11-06  3:00     ` peter_ku
@ 2002-11-07  1:48       ` peter_ku
  0 siblings, 0 replies; 8+ messages in thread
From: peter_ku @ 2002-11-07  1:48 UTC (permalink / raw)
  To: ecos-discuss


Hi,

Any one have ever generate a standalone application, put into E7T's flash and run successfully?

I follow the following sequence to generate a binary file, and I can put it into flash successfully, I means I use "rommodules" and see my application in the 0x1820000.
But It looks something wrong to execute my application code.

1. Choose ROM type, and build eCos library.
2. I edit title and help string in the redboot_module.c, and remark the latest line.  //_RedBoot_init(__dummy_init, RedBoot_INIT_LAST)
3. compile my application and redboot_module.c
4. Link all together to generate binary file.
5. Generate the final binary file with checksum.
6. uuecode the binary
7. put it into 0x1820000

Any suggestion , thanks a lot


Best Regards,
Peter

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

* RE: [ECOS] arm-elf-gdb does not work
  2002-11-06 10:01 Schumacher, Gordon
@ 2002-11-06 10:51 ` Gary Thomas
  0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2002-11-06 10:51 UTC (permalink / raw)
  To: Schumacher, Gordon
  Cc: Ecos Mailing List, 'Warren Postma', 'Jonathan Larmour'

On Wed, 2002-11-06 at 11:01, Schumacher, Gordon wrote:
> # -----Original Message-----
> # From: Warren Postma [mailto:warren.postma@adaptivenetworks.on.ca]
> # Sent: Wednesday, November 06, 2002 7:33 AM
> # To: Ecos Mailing List
> # Cc: Mildred Frisco
> # Subject: [ECOS] arm-elf-gdb does not work
> # 
> # I think that there is a
> # serious bug in INSIGHT 5.2, which may be fixed in latest CVS 
> # sources, but I haven't gotten them to build yet.
> 
> Well, shoot.  Perhaps that's part of my problem too; though, trying the
> text-mode commands you've indicated, I get *slightly* different errors than
> before - and perhaps more helpful ones.  With debug remote turned on, at the
> end of the communication (after several packets transfer back and forth) I
> now get:
> Couldn't establish connection to remote target
> Cannot access memory at address 0x1110fff7

I really doubt it - I think your problem is more a fundamental
serial I/O issue.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
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] 8+ messages in thread

* RE: [ECOS] arm-elf-gdb does not work
@ 2002-11-06 10:01 Schumacher, Gordon
  2002-11-06 10:51 ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Schumacher, Gordon @ 2002-11-06 10:01 UTC (permalink / raw)
  To: Ecos Mailing List
  Cc: 'Warren Postma', 'Gary Thomas',
	'Jonathan Larmour'

# -----Original Message-----
# From: Warren Postma [mailto:warren.postma@adaptivenetworks.on.ca]
# Sent: Wednesday, November 06, 2002 7:33 AM
# To: Ecos Mailing List
# Cc: Mildred Frisco
# Subject: [ECOS] arm-elf-gdb does not work
# 
# I think that there is a
# serious bug in INSIGHT 5.2, which may be fixed in latest CVS 
# sources, but I haven't gotten them to build yet.

Well, shoot.  Perhaps that's part of my problem too; though, trying the
text-mode commands you've indicated, I get *slightly* different errors than
before - and perhaps more helpful ones.  With debug remote turned on, at the
end of the communication (after several packets transfer back and forth) I
now get:
Couldn't establish connection to remote target
Cannot access memory at address 0x1110fff7

-- 
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] 8+ messages in thread

end of thread, other threads:[~2002-11-07  9:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 18:33 [ECOS] arm-elf-gdb does not work Mildred Frisco
2002-11-05 23:23 ` Iztok Zupet
2002-11-05 23:57   ` Mildred Frisco
2002-11-06  3:00     ` peter_ku
2002-11-07  1:48       ` [ECOS] Build standalone application in E7T peter_ku
2002-11-06  6:32 ` [ECOS] arm-elf-gdb does not work Warren Postma
2002-11-06 10:01 Schumacher, Gordon
2002-11-06 10:51 ` Gary Thomas

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