public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem with Config Tool on Cygwin
@ 2006-06-14 16:55 Tom Smithkowski
  2006-06-15  8:34 ` [ECOS] " John Dallaway
  0 siblings, 1 reply; 12+ messages in thread
From: Tom Smithkowski @ 2006-06-14 16:55 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I'm new to eCos, and trying to get the Configuration Tool running. I'm
running the latest Cygwin on WinXP Pro SP2.

I initially had the problem noted below.

I have since tried the patched version from eCosCentric, but instead
of exhibiting the same problem, I'm getting an abort with a stack dump
(see attachment).

Is anyone else seeing this problem, and are others able to
successfully run the Configuration Tool with the latest Cygwin?

Thanks,

- Tom

-----------------------------------------------------------------------------------

Roman Mashak wrote:

> Just installed ecos-2.0 on Windows XP using latest cygwin distribution.
> I ran into problem with configtool. When I launch it I get an error:
>
> ---
> Opening repository c:\cygwin\ecos\ecos- 2.0\...
> This package doesn't have any version subdirectories

You need a more recent build of the eCos Configuration Tool for use with
Cygwin 1.5.10 and later. Ref:

 http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000095

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

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

* [ECOS] Re: Problem with Config Tool on Cygwin
  2006-06-14 16:55 [ECOS] Problem with Config Tool on Cygwin Tom Smithkowski
@ 2006-06-15  8:34 ` John Dallaway
  2006-06-15 12:25   ` John Dallaway
  0 siblings, 1 reply; 12+ messages in thread
From: John Dallaway @ 2006-06-15  8:34 UTC (permalink / raw)
  To: Tom Smithkowski; +Cc: ecos-discuss

Hi Tom

Tom Smithkowski wrote:

> I'm new to eCos, and trying to get the Configuration Tool running. I'm
> running the latest Cygwin on WinXP Pro SP2.
> 
> I initially had the problem noted below.
> 
> I have since tried the patched version from eCosCentric, but instead
> of exhibiting the same problem, I'm getting an abort with a stack dump
> (see attachment).
> 
> Is anyone else seeing this problem, and are others able to
> successfully run the Configuration Tool with the latest Cygwin?

I will investigate this issue. Please raise a bug report at
http://bugs.ecos.sourceware.org/ which includes the versions of the
Cygwin DLL and tcltk libraries you are using:

  cygcheck -c | egrep cygwin\|tcltk

John Dallaway
eCosCentric Limited

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

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

* [ECOS] Re: Problem with Config Tool on Cygwin
  2006-06-15  8:34 ` [ECOS] " John Dallaway
@ 2006-06-15 12:25   ` John Dallaway
  2006-06-15 15:06     ` Tom Smithkowski
  0 siblings, 1 reply; 12+ messages in thread
From: John Dallaway @ 2006-06-15 12:25 UTC (permalink / raw)
  To: Tom Smithkowski; +Cc: ecos-discuss

Hi Tom

John Dallaway wrote:

> Tom Smithkowski wrote:
> 
>> I'm new to eCos, and trying to get the Configuration Tool running. I'm
>> running the latest Cygwin on WinXP Pro SP2.
>>
>> I initially had the problem noted below.
>>
>> I have since tried the patched version from eCosCentric, but instead
>> of exhibiting the same problem, I'm getting an abort with a stack dump
>> (see attachment).
>>
>> Is anyone else seeing this problem, and are others able to
>> successfully run the Configuration Tool with the latest Cygwin?
> 
> I will investigate this issue. Please raise a bug report at
> http://bugs.ecos.sourceware.org/ which includes the versions of the
> Cygwin DLL and tcltk libraries you are using:

I can now confirm that there is a problem with the eCos Configuration
Tool and version 1.5.19 of the Cygwin DLL. The eCos Configuration Tool
fails during initialisation inside a call to pthread_key_create():

> (gdb) bt
> #0  0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll
> #1  0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
> #2  0x59432d52 in ?? ()
> #3  0x10041a58 in ?? ()
> #4  0x008ca31c in operator+ ()
> #5  0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll
> #6  0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
> #7  0x0022ed18 in ?? ()
> #8  0x0080da25 in _Unwind_SjLj_Register () at clipbrd.h:76
> #9  0x0080da25 in _Unwind_SjLj_Register () at clipbrd.h:76
> #10 0x00813aa5 in wxListBase (this=0x99ecd0, keyType=wxKEY_STRING) at list.h:204
> #11 0x00821c70 in wxObjectList (this=0x99ecd0, keyType=wxKEY_STRING) at list.h:509
> #12 0x008621a0 in wxList (this=0x99ecd0, key_type=2) at list.h:514
> #13 0x007dc789 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /home/jld/src/wxWindows-2.4.2/src/msw/dde.cpp:132
> #14 0x007dc9b4 in global constructors keyed to _Z27wxConstructorForwxDDEServerv() at /home/jld/src/wxWindows-2.4.2/src/msw/dde.cpp:1049
> #15 0x61004772 in do_global_ctors () from /usr/bin/cygwin1.dll
> #16 0x10041a12 in ?? ()
> #17 0x0022ede8 in ?? ()
> #18 0x61004812 in __main () from /usr/bin/cygwin1.dll
> (gdb)

This looks similar to the issue discussed at:

  http://www.cygwin.com/ml/cygwin-patches/2006-q2/msg00065.html

As a workaround, it is currently possible to revert to version 1.5.18-1
of the "cygwin" package using the Cygwin Net Release Setup Program.

Since the probable cause of this issue has been identified and patched,
I will wait for a new release of the Cygwin DLL before investigating any
further.

John Dallaway
eCosCentric Limited

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

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

* [ECOS] Re: Problem with Config Tool on Cygwin
  2006-06-15 12:25   ` John Dallaway
@ 2006-06-15 15:06     ` Tom Smithkowski
  2006-06-15 15:16       ` John Dallaway
  0 siblings, 1 reply; 12+ messages in thread
From: Tom Smithkowski @ 2006-06-15 15:06 UTC (permalink / raw)
  To: John Dallaway; +Cc: ecos-discuss

Hi John,

> This looks similar to the issue discussed at:
>
>  http://www.cygwin.com/ml/cygwin-patches/2006-q2/msg00065.html
>
> As a workaround, it is currently possible to revert to version 1.5.18-1
> of the "cygwin" package using the Cygwin Net Release Setup Program.
>
> Since the probable cause of this issue has been identified and patched,
> I will wait for a new release of the Cygwin DLL before investigating any
> further.

Thank you for investigating this issue. Just to make sure I am
understanding correctly, your conclusion is that this is due to a
cygwin bug, and that you would expect that to be fixed in a future
release. Therefore, no changes to configtool are required at this
time.

I'll try with an older cygwin version and post again if by chance it
is not working.

Thanks again,

- Tom

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

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

* [ECOS] Re: Problem with Config Tool on Cygwin
  2006-06-15 15:06     ` Tom Smithkowski
@ 2006-06-15 15:16       ` John Dallaway
  2006-06-15 15:53         ` Andy Jackson
  0 siblings, 1 reply; 12+ messages in thread
From: John Dallaway @ 2006-06-15 15:16 UTC (permalink / raw)
  To: Tom Smithkowski; +Cc: ecos-discuss

Tom Smithkowski wrote:

>> This looks similar to the issue discussed at:
>>
>>  http://www.cygwin.com/ml/cygwin-patches/2006-q2/msg00065.html
>>
>> As a workaround, it is currently possible to revert to version 1.5.18-1
>> of the "cygwin" package using the Cygwin Net Release Setup Program.
>>
>> Since the probable cause of this issue has been identified and patched,
>> I will wait for a new release of the Cygwin DLL before investigating any
>> further.
> 
> Thank you for investigating this issue. Just to make sure I am
> understanding correctly, your conclusion is that this is due to a
> cygwin bug, and that you would expect that to be fixed in a future
> release. Therefore, no changes to configtool are required at this
> time.

That is my hypothesis, yes.

John Dallaway
eCosCentric Limited

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

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

* Re: [ECOS] Re: Problem with Config Tool on Cygwin
  2006-06-15 15:16       ` John Dallaway
@ 2006-06-15 15:53         ` Andy Jackson
  2006-06-15 17:22           ` [ECOS] eCos & RedBoot on AT91SAM7S Evgeny Belyanco
  0 siblings, 1 reply; 12+ messages in thread
From: Andy Jackson @ 2006-06-15 15:53 UTC (permalink / raw)
  To: ecos-discuss; +Cc: John Dallaway

Hi John,

So is this the same issue as:

http://ecos.sourceware.org/ml/ecos-discuss/2006-02/msg00275.html

Thanks,

    Andy..

----- Original Message ----- 
From: "John Dallaway" <jld@ecoscentric.com>
To: "Tom Smithkowski" <tom.smithkowski@gmail.com>
Cc: <ecos-discuss@ecos.sourceware.org>
Sent: Thursday, June 15, 2006 4:16 PM
Subject: [ECOS] Re: Problem with Config Tool on Cygwin


> Tom Smithkowski wrote:
>
>>> This looks similar to the issue discussed at:
>>>
>>>  http://www.cygwin.com/ml/cygwin-patches/2006-q2/msg00065.html
>>>
>>> As a workaround, it is currently possible to revert to version 1.5.18-1
>>> of the "cygwin" package using the Cygwin Net Release Setup Program.
>>>
>>> Since the probable cause of this issue has been identified and patched,
>>> I will wait for a new release of the Cygwin DLL before investigating any
>>> further.
>>
>> Thank you for investigating this issue. Just to make sure I am
>> understanding correctly, your conclusion is that this is due to a
>> cygwin bug, and that you would expect that to be fixed in a future
>> release. Therefore, no changes to configtool are required at this
>> time.
>
> That is my hypothesis, yes.
>
> John Dallaway
> eCosCentric Limited
>
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 


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

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

* [ECOS] eCos & RedBoot on AT91SAM7S
  2006-06-15 15:53         ` Andy Jackson
@ 2006-06-15 17:22           ` Evgeny Belyanco
  2006-06-15 17:32             ` Andrew Lunn
  0 siblings, 1 reply; 12+ messages in thread
From: Evgeny Belyanco @ 2006-06-15 17:22 UTC (permalink / raw)
  To: ecos-discuss

Hi!

If I will write RedBoot image to AT91SAM7S256 (for example)
http://ecos.sourceware.org/ecos/boards/at91sam7s.html

will I be capable of writing code to FLASH via GDB (RS-232
connection)?

Can I make debugging in FLASH via GDB (RS-232 connection)?

Which version of GDB should be used?

Evgeny Belyanko
**********************************
* E-mail: ea@kbkcc.ru
**********************************


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

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

* Re: [ECOS] eCos & RedBoot on AT91SAM7S
  2006-06-15 17:22           ` [ECOS] eCos & RedBoot on AT91SAM7S Evgeny Belyanco
@ 2006-06-15 17:32             ` Andrew Lunn
  2006-06-15 17:47               ` Re[2]: " Evgeny Belyanco
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Lunn @ 2006-06-15 17:32 UTC (permalink / raw)
  To: Evgeny Belyanco; +Cc: ecos-discuss

On Thu, Jun 15, 2006 at 09:19:13PM +0400, Evgeny Belyanco wrote:
> Hi!
> 
> If I will write RedBoot image to AT91SAM7S256 (for example)
> http://ecos.sourceware.org/ecos/boards/at91sam7s.html
> 
> will I be capable of writing code to FLASH via GDB (RS-232
> connection)?

Using gdb, no. You need to use redboot itself to do an xyzmodem load
into flash.

> 
> Can I make debugging in FLASH via GDB (RS-232 connection)?

You cannot have break points, or single step. So this makes it very
hard to do anything useful.

The only practicaly way to debug code in Flash is over the jtag
interface.

        Andrew

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

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

* Re[2]: [ECOS] eCos & RedBoot on AT91SAM7S
  2006-06-15 17:32             ` Andrew Lunn
@ 2006-06-15 17:47               ` Evgeny Belyanco
  2006-06-15 18:53                 ` Andrew Lunn
  0 siblings, 1 reply; 12+ messages in thread
From: Evgeny Belyanco @ 2006-06-15 17:47 UTC (permalink / raw)
  To: ecos-discuss

Thursday, June 15, 2006, 9:32:16 PM, you wrote:
>> will I be capable of writing code to FLASH via GDB (RS-232
>> connection)?

AL> Using gdb, no. You need to use redboot itself to do an xyzmodem load
AL> into flash.

>> Can I make debugging in FLASH via GDB (RS-232 connection)?

AL> You cannot have break points, or single step. So this makes it very
AL> hard to do anything useful.

AL> The only practicaly way to debug code in Flash is over the jtag
AL> interface.

If I will use simple JTAG tool, for example Macraigor usb2Sprite™
http://www.macraigor.com/usb2sprite.htm
will I can make FLASH write, break points, or single step in
AT91SAM7S?

Or I need only "serious" JTAG tool like PEEDI for this features?

Evgeny Belyanko
**********************************
* E-mail: ea@kbkcc.ru
**********************************


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

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

* Re: [ECOS] eCos & RedBoot on AT91SAM7S
  2006-06-15 17:47               ` Re[2]: " Evgeny Belyanco
@ 2006-06-15 18:53                 ` Andrew Lunn
  2006-06-15 20:55                   ` Re[2]: " Evgeny Belyanco
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Lunn @ 2006-06-15 18:53 UTC (permalink / raw)
  To: Evgeny Belyanco; +Cc: ecos-discuss

On Thu, Jun 15, 2006 at 09:44:25PM +0400, Evgeny Belyanco wrote:
> Thursday, June 15, 2006, 9:32:16 PM, you wrote:
> >> will I be capable of writing code to FLASH via GDB (RS-232
> >> connection)?
> 
> AL> Using gdb, no. You need to use redboot itself to do an xyzmodem load
> AL> into flash.
> 
> >> Can I make debugging in FLASH via GDB (RS-232 connection)?
> 
> AL> You cannot have break points, or single step. So this makes it very
> AL> hard to do anything useful.
> 
> AL> The only practicaly way to debug code in Flash is over the jtag
> AL> interface.
> 
> If I will use simple JTAG tool, for example Macraigor usb2Sprite?
> http://www.macraigor.com/usb2sprite.htm
> will I can make FLASH write, break points, or single step in
> AT91SAM7S?

I've never used the MacGraigor tools. 

     Sorry,
        Andrew

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

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

* Re[2]: [ECOS] eCos & RedBoot on AT91SAM7S
  2006-06-15 18:53                 ` Andrew Lunn
@ 2006-06-15 20:55                   ` Evgeny Belyanco
  2006-06-15 22:59                     ` Laurie Gellatly
  0 siblings, 1 reply; 12+ messages in thread
From: Evgeny Belyanco @ 2006-06-15 20:55 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

Thursday, June 15, 2006, 10:53:20 PM, you wrote:
>> If I will use simple JTAG tool, for example Macraigor usb2Sprite?
>> http://www.macraigor.com/usb2sprite.htm
>> will I can make FLASH write, break points, or single step in
>> AT91SAM7S?

AL> I've never used the MacGraigor tools. 

Does anybody successfully use Macraigor tools for complete JTAG (LASH write, break
points, or single step) debug ARM MCU with embedded FLASH?


Evgeny Belyanko
**********************************
* E-mail: ea@kbkcc.ru
**********************************


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

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

* RE: Re[2]: [ECOS] eCos & RedBoot on AT91SAM7S
  2006-06-15 20:55                   ` Re[2]: " Evgeny Belyanco
@ 2006-06-15 22:59                     ` Laurie Gellatly
  0 siblings, 0 replies; 12+ messages in thread
From: Laurie Gellatly @ 2006-06-15 22:59 UTC (permalink / raw)
  To: 'Evgeny Belyanco'; +Cc: ecos-discuss

Hi Evgeny,
I'm using the sprite with a phyTec2294 board with an ARM7.
I use the Philips Flash Utility LPC200 to load the flash (actually I
have to do that thru 'flash buffer operations' as the front screen
didn't work for me).
Using the OCD commander I've been able to single step thru the flash
code (took some efforts to get thr right config :endian and speed), but
its pretty slow. Trying to use it thru GDB/insight remotely partly
works. It does not like setting break points or single stepping in
flash.

Good luck.                ...Laurie:{)


-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Evgeny
Belyanco
Sent: Friday, 16 June 2006 6:47 AM
To: Andrew Lunn
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re[2]: [ECOS] eCos & RedBoot on AT91SAM7S


Thursday, June 15, 2006, 10:53:20 PM, you wrote:
>> If I will use simple JTAG tool, for example Macraigor usb2Sprite? 
>> http://www.macraigor.com/usb2sprite.htm
>> will I can make FLASH write, break points, or single step in 
>> AT91SAM7S?

AL> I've never used the MacGraigor tools.

Does anybody successfully use Macraigor tools for complete JTAG (LASH
write, break points, or single step) debug ARM MCU with embedded FLASH?


Evgeny Belyanko
**********************************
* E-mail: ea@kbkcc.ru
**********************************


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


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

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

end of thread, other threads:[~2006-06-15 22:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-14 16:55 [ECOS] Problem with Config Tool on Cygwin Tom Smithkowski
2006-06-15  8:34 ` [ECOS] " John Dallaway
2006-06-15 12:25   ` John Dallaway
2006-06-15 15:06     ` Tom Smithkowski
2006-06-15 15:16       ` John Dallaway
2006-06-15 15:53         ` Andy Jackson
2006-06-15 17:22           ` [ECOS] eCos & RedBoot on AT91SAM7S Evgeny Belyanco
2006-06-15 17:32             ` Andrew Lunn
2006-06-15 17:47               ` Re[2]: " Evgeny Belyanco
2006-06-15 18:53                 ` Andrew Lunn
2006-06-15 20:55                   ` Re[2]: " Evgeny Belyanco
2006-06-15 22:59                     ` Laurie Gellatly

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