public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] EP7211 & Jeeni
@ 2000-11-22 23:25 danish iftikhar
  2000-11-23 17:31 ` Hsiang-ting Cheng
  0 siblings, 1 reply; 10+ messages in thread
From: danish iftikhar @ 2000-11-22 23:25 UTC (permalink / raw)
  To: ecos-discuss

  Hi

   i have build ecos on the linux host for EP7211 target board .
  i want to connect to the target board through the Embedded Ice (Jeeni).
Does it also requires that gdb stub should be sitting inside the board . In 
ecos.ecc file there is option for serial port for the diagnostic output .
But if we use Jeeni what happens to tha diagnostic output . where will this 
output be printed and how .
do i need to configure some options in ecos.ecc to be able to make it behave 
decently with Jeeni .

thanks
danish.
_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [ECOS] EP7211 & Jeeni
@ 2001-01-11  8:21 danish iftikhar
  2001-01-12  0:00 ` Jesper Skov
  0 siblings, 1 reply; 10+ messages in thread
From: danish iftikhar @ 2001-01-11  8:21 UTC (permalink / raw)
  To: ecos-discuss

Hi

   I am using EP7211 board and Jeeni to connect and run my application 
through it using GDB. For that i wrote a simple C program , then connected 
to the target board via Jeeni and downloaded my application .
But when i run( continue) , it is not coming even upto main() .
It initialises the h/w and then enters the eCos Scheduler region and there 
it is looping sort of between scheduler fn and some thread implementation fn 
.
  I can't undersatnd what's wrong with it .
moreover i am not able to do step even through GDB ..i have to use "stepi" 
in place of that ...why it is so ?

  regards
danish.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [ECOS] EP7211 & Jeeni
@ 2001-01-12  6:48 danish iftikhar
  2001-01-12  7:23 ` Jesper Skov
  0 siblings, 1 reply; 10+ messages in thread
From: danish iftikhar @ 2001-01-12  6:48 UTC (permalink / raw)
  To: jskov; +Cc: ecos-discuss

>danish> can't undersatnd what's wrong with it .  moreover i am not
>danish> able to do step even through GDB ..i have to use "stepi" in
>danish> place of that ...why it is so ?
>
>Did you include debugging information (-g option)? Without it there
>would be no line information to allow a regular step instruction to
>work.

  ya ! i am including the debugging information ( -g option) and able to see 
the source code on the gdb terminal .
  Is there any other option which may be hinderinig the working .
Right now , i am having the gdb stub in the EP7211 board which initialises 
the board & after that i conneect through Jeeni .
Do i need to enable some option in ecos.ecc to work in this combination ( 
using Jeeni) . If i run the same code using serial port ( without Jeeni) 
everything works fine .
   I would like to know what is Cygmon and can i download that to the target 
in place of gdb stub and work . How is that supposed to work ?
Does that need to change any options in ecos configuration ?

regards
danish.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [ECOS] EP7211 & Jeeni
@ 2001-01-12  7:38 danish iftikhar
  2001-01-14 13:01 ` Jesper Skov
  0 siblings, 1 reply; 10+ messages in thread
From: danish iftikhar @ 2001-01-12  7:38 UTC (permalink / raw)
  To: jskov; +Cc: ecos-discuss

hi
    In eCos documentation for TARGET SET UP it says that eCos provides two 
prebuilt ROM images for EP7211 : one is gdb stubs and other is Cygmon ROM 
image . The prebuilt images they have provided under "loaders" directory . I 
want to know under what circumstances other image ( Cygmon) is used ?
  What has to be done for the option   CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS in 
ecos.ecc . Right now it is 0 in my configuration . What value should i keep 
it when using Jeeni ?

  regards
danish.


>Then it's a problem with GDB's Jeeni support. It has nothing to do
>with eCos per se. I suggest you ask on the GDB mailing list.
>
>danish> like to know what is Cygmon and can i download that to the
>danish> target in place of gdb stub and work . How is that supposed to
>danish> work ?  Does that need to change any options in ecos
>danish> configuration ?
>
>RedBoot you mean - it's the CygMon replacement. And it does not
>provide any debugging features not already provided by the stubs
>(well, it allows debugging over ethernet, but that aside).
>
>Jesper

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [ECOS] EP7211 & Jeeni
@ 2001-01-16 15:43 Jeremy Lin
  0 siblings, 0 replies; 10+ messages in thread
From: Jeremy Lin @ 2001-01-16 15:43 UTC (permalink / raw)
  To: ecos-discuss

On Fri, Jan 12, 2001 at 04:23:33PM +0100, Jesper Skov wrote:

> danish> can't undersatnd what's wrong with it .  moreover i am not
> danish> able to do step even through GDB ..i have to use "stepi" in
> danish> place of that ...why it is so ?
>
> >>  Did you include debugging information (-g option)? Without it
> >> there would be no line information to allow a regular step
> >> instruction to work.
> 
> danish>   ya ! i am including the debugging information ( -g option)
> danish> and able to see the source code on the gdb terminal .  Is
> danish> there any other option which may be hinderinig the working .
> danish> Right now , i am having the gdb stub in the EP7211 board which
> danish> initialises the board & after that i conneect through Jeeni .
> danish> Do i need to enable some option in ecos.ecc to work in this
> danish> combination ( using Jeeni) . If i run the same code using
> danish> serial port ( without Jeeni) everything works fine .  I would

>Have you loaded the symbol information from the ELF file into
>gdb?
>What exactly happens when you do a "step" command?

I have problem to run by step when I use Jeeni too. I was debugging
the gdb-stub image "gdb_module.img".
In my case the following message comes out and gdb session terminated
when I type "stepi":
0 [main] arm-elf-gdb 1003 handle_exceptions: Exception: \   
STATUS_ACCESS_VIOLATION  
21532 [main] arm-elf-gdb 1003 stackdump: Dumping stack trace to
arm-elf-gdb.exe.stack.dump
Segmentation fault (core dump)

Anyone knows how to fix it or has the same problem?



> Then it's a problem with GDB's Jeeni support. It has nothing to do
> with eCos per se. I suggest you ask on the GDB mailing list.

>The GDB mailing list is indeed the correct venue...


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

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

end of thread, other threads:[~2001-01-16 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-22 23:25 [ECOS] EP7211 & Jeeni danish iftikhar
2000-11-23 17:31 ` Hsiang-ting Cheng
2001-01-11  8:21 danish iftikhar
2001-01-12  0:00 ` Jesper Skov
2001-01-12  6:48 danish iftikhar
2001-01-12  7:23 ` Jesper Skov
2001-01-12  9:29   ` Grant Edwards
2001-01-12  7:38 danish iftikhar
2001-01-14 13:01 ` Jesper Skov
2001-01-16 15:43 Jeremy Lin

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