public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eCos application crashes
@ 2013-06-03 19:31 Lukas Riezler
  2013-06-03 19:49 ` Ilija Kocho
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas Riezler @ 2013-06-03 19:31 UTC (permalink / raw)
  To: ecos-discuss

Hi eCos-guys!

I have a problem with my fm3 port.
When I start an eCos application first it seems to run fine...but after ~1 second it crashes and restarts.
Do you have any idea what could be the reason for this behaviour?
I've tried to compile eCos without optimization ==> the first running was okay! The application did run fine!!!
But when I started it a few minutes later it crashed again...

I'll become desperate :/
 
With kind regards, Lukas

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

* Re: [ECOS] eCos application crashes
  2013-06-03 19:31 [ECOS] eCos application crashes Lukas Riezler
@ 2013-06-03 19:49 ` Ilija Kocho
  2013-06-03 20:14   ` Aw: " Lukas Riezler
  0 siblings, 1 reply; 5+ messages in thread
From: Ilija Kocho @ 2013-06-03 19:49 UTC (permalink / raw)
  To: Lukas Riezler; +Cc: ecos-discuss

On 03.06.2013 21:31, Lukas Riezler wrote:
> Hi eCos-guys!
>
> I have a problem with my fm3 port.
> When I start an eCos application first it seems to run fine...but after ~1 second it crashes and restarts.
> Do you have any idea what could be the reason for this behaviour?
> I've tried to compile eCos without optimization ==> the first running was okay! The application did run fine!!!
> But when I started it a few minutes later it crashed again...

Is it the application or the port that chrashes? Have you tried the
application on some mature port?

HTH
Ilija


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

* Aw: Re: [ECOS] eCos application crashes
  2013-06-03 19:49 ` Ilija Kocho
@ 2013-06-03 20:14   ` Lukas Riezler
  2013-06-03 22:09     ` Ilija Kocho
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas Riezler @ 2013-06-03 20:14 UTC (permalink / raw)
  To: Ilija Kocho; +Cc: ecos-discuss

Hi Ilja,

I think it's the port which crashes...because the application contains only a simple counter.
I did the clocking and hal_diag.c - are there any traps causing me stumble?The clocking I did is on the same way like it is described in examples of FM3 (where the clocks also get initialized). So I can't imagine that my fault depends on clocking.

Lukas
 
 

Gesendet: Montag, 03. Juni 2013 um 21:49 Uhr
Von: "Ilija Kocho" <ilijak@siva.com.mk>
An: "Lukas Riezler" <lukas.riezler@gmx.net>
Cc: ecos-discuss@sourceware.org
Betreff: Re: [ECOS] eCos application crashes
On 03.06.2013 21:31, Lukas Riezler wrote:
> Hi eCos-guys!
>
> I have a problem with my fm3 port.
> When I start an eCos application first it seems to run fine...but after ~1 second it crashes and restarts.
> Do you have any idea what could be the reason for this behaviour?
> I've tried to compile eCos without optimization ==> the first running was okay! The application did run fine!!!
> But when I started it a few minutes later it crashed again...

Is it the application or the port that chrashes? Have you tried the
application on some mature port?

HTH
Ilija


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss[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] 5+ messages in thread

* Re: Aw: Re: [ECOS] eCos application crashes
  2013-06-03 20:14   ` Aw: " Lukas Riezler
@ 2013-06-03 22:09     ` Ilija Kocho
  2013-06-03 23:35       ` Aw: " Lukas Riezler
  0 siblings, 1 reply; 5+ messages in thread
From: Ilija Kocho @ 2013-06-03 22:09 UTC (permalink / raw)
  To: Lukas Riezler; +Cc: ecos-discuss

On 03.06.2013 22:14, Lukas Riezler wrote:
> Hi Ilja,
>
> I think it's the port which crashes...because the application contains only a simple counter.
> I did the clocking and hal_diag.c - are there any traps causing me stumble?The clocking I did is on the same way like it is described in examples of FM3 (where the clocks also get initialized). So I can't imagine that my fault depends on clocking.

Try to imagine... Check whether your code tries access on some illegal
location.

Is your hardware properly initialized? Some devices like Kinetis have
watchdog that is enabled after reset so you must disable it before u do
anything. Does FM3 have one?

Ilija

>
> Lukas
>  
>  
>
> Gesendet: Montag, 03. Juni 2013 um 21:49 Uhr
> Von: "Ilija Kocho" <ilijak@siva.com.mk>
> An: "Lukas Riezler" <lukas.riezler@gmx.net>
> Cc: ecos-discuss@sourceware.org
> Betreff: Re: [ECOS] eCos application crashes
> On 03.06.2013 21:31, Lukas Riezler wrote:
>> Hi eCos-guys!
>>
>> I have a problem with my fm3 port.
>> When I start an eCos application first it seems to run fine...but after ~1 second it crashes and restarts.
>> Do you have any idea what could be the reason for this behaviour?
>> I've tried to compile eCos without optimization ==> the first running was okay! The application did run fine!!!
>> But when I started it a few minutes later it crashed again...
> Is it the application or the port that chrashes? Have you tried the
> application on some mature port?
>
> HTH
> Ilija
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss[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] 5+ messages in thread

* Aw: Re:  Re: [ECOS] eCos application crashes
  2013-06-03 22:09     ` Ilija Kocho
@ 2013-06-03 23:35       ` Lukas Riezler
  0 siblings, 0 replies; 5+ messages in thread
From: Lukas Riezler @ 2013-06-03 23:35 UTC (permalink / raw)
  To: Ilija Kocho; +Cc: ecos-discuss

Hi Ilja,
 
I think you are right!!!
It seems that the situation for FM3 is the same like for kinetis!
==> I forgot to disable the hardware watchdog!
Now it seems to run! :-)

Thank you very very much for this hint!

Lukas
 
 

Gesendet: Dienstag, 04. Juni 2013 um 00:07 Uhr
Von: "Ilija Kocho" <ilijak@siva.com.mk>
An: "Lukas Riezler" <lukas.riezler@gmx.net>
Cc: ecos-discuss@sourceware.org
Betreff: Re: Aw: Re: [ECOS] eCos application crashes
On 03.06.2013 22:14, Lukas Riezler wrote:
> Hi Ilja,
>
> I think it's the port which crashes...because the application contains only a simple counter.
> I did the clocking and hal_diag.c - are there any traps causing me stumble?The clocking I did is on the same way like it is described in examples of FM3 (where the clocks also get initialized). So I can't imagine that my fault depends on clocking.

Try to imagine... Check whether your code tries access on some illegal
location.

Is your hardware properly initialized? Some devices like Kinetis have
watchdog that is enabled after reset so you must disable it before u do
anything. Does FM3 have one?

Ilija

>
> Lukas
>
>
>
> Gesendet: Montag, 03. Juni 2013 um 21:49 Uhr
> Von: "Ilija Kocho" <ilijak@siva.com.mk>
> An: "Lukas Riezler" <lukas.riezler@gmx.net>
> Cc: ecos-discuss@sourceware.org
> Betreff: Re: [ECOS] eCos application crashes
> On 03.06.2013 21:31, Lukas Riezler wrote:
>> Hi eCos-guys!
>>
>> I have a problem with my fm3 port.
>> When I start an eCos application first it seems to run fine...but after ~1 second it crashes and restarts.
>> Do you have any idea what could be the reason for this behaviour?
>> I've tried to compile eCos without optimization ==> the first running was okay! The application did run fine!!!
>> But when I started it a few minutes later it crashed again...
> Is it the application or the port that chrashes? Have you tried the
> application on some mature port?
>
> HTH
> Ilija
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss[http://ecos.sourceware.org/ml/ecos-discuss][http://ecos.sourceware.org/ml/ecos-discuss[http://ecos.sourceware.org/ml/ecos-discuss]]
>
>


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos[http://ecos.sourceware.org/fom/ecos]
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss[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] 5+ messages in thread

end of thread, other threads:[~2013-06-03 23:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03 19:31 [ECOS] eCos application crashes Lukas Riezler
2013-06-03 19:49 ` Ilija Kocho
2013-06-03 20:14   ` Aw: " Lukas Riezler
2013-06-03 22:09     ` Ilija Kocho
2013-06-03 23:35       ` Aw: " Lukas Riezler

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