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] Build standalone application in E7T
       [not found] <001201c28a29$bed33480$790114ac@issc.com.tw>
@ 2002-11-12  1:24 ` peter_ku
  0 siblings, 0 replies; 8+ messages in thread
From: peter_ku @ 2002-11-12  1:24 UTC (permalink / raw)
  To: ecos-discuss



Hi

Yes, I have already checked the mail list, that's why my bootstrap loader can recognize my application
But after I put it in the flash, the bootstrap loader can recogize my application using rommodules or boot.
It looks like BootStrap Loader didn't jump to my application, why?

Any comment is appreciate.

Peter

-----Original Message-----
From: Ravi Kumar B S [mailto:ravikbs@mindtree.com]
Sent: Thursday, November 07, 2002 5:52 PM
To: peter_ku; ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] Build standalone application in E7T


I think this topic is already discussed in the list. did you check the mail
list archive. I think you will get the answer there.

regards,
/Ravi



> -----Original Message-----
> From: peter_ku [mailto:peter_ku@issc.com.tw]
> Sent: Thursday, November 07, 2002 3:17 PM
> To: ecos-discuss@sources.redhat.com
> Subject: [ECOS] Build standalone application in E7T
> 
> 
> 
> 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] Build standalone application in E7T
@ 2002-11-07  1:51 Ravi Kumar B S
  0 siblings, 0 replies; 8+ messages in thread
From: Ravi Kumar B S @ 2002-11-07  1:51 UTC (permalink / raw)
  To: peter_ku, ecos-discuss

I think this topic is already discussed in the list. did you check the mail
list archive. I think you will get the answer there.

regards,
/Ravi



> -----Original Message-----
> From: peter_ku [mailto:peter_ku@issc.com.tw]
> Sent: Thursday, November 07, 2002 3:17 PM
> To: ecos-discuss@sources.redhat.com
> Subject: [ECOS] Build standalone application in E7T
> 
> 
> 
> 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
> 

--
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-12  9:24 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-07  1:51 [ECOS] Build standalone application in E7T Ravi Kumar B S
     [not found] <001201c28a29$bed33480$790114ac@issc.com.tw>
2002-11-12  1:24 ` peter_ku

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