This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Aw: Re: Re: eCos application crashes
- From: "Lukas Riezler" <lukas dot riezler at gmx dot net>
- To: "Ilija Kocho" <ilijak at siva dot com dot mk>
- Cc: ecos-discuss at sourceware dot org
- Date: Tue, 4 Jun 2013 01:35:03 +0200 (CEST)
- Subject: Aw: Re: Re: eCos application crashes
- References: <trinity-294de98e-52c8-412f-9386-9bb53fd6f4f8-1370287875805 at 3capp-gmx-bs56>, <51ACF35A dot 6030307 at siva dot com dot mk> <trinity-82a571cc-5117-4763-9060-3c83448023d7-1370290467856 at 3capp-gmx-bs29>, <51AD13BF dot 3090408 at siva dot com dot mk>
- Sensitivity: Normal
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