From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27650 invoked by alias); 3 Jun 2013 23:35:08 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 27641 invoked by uid 89); 3 Jun 2013 23:35:08 -0000 X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_DNSBL_BUMP,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RCVD_IN_MSPIKE_BL,RCVD_IN_MSPIKE_L3,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.1 Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.21) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 03 Jun 2013 23:35:07 +0000 Received: from 3capp-gmx-bs21.server.lan ([172.19.170.73]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LdsC5-1U227Q0TTf-00j0Kk; Tue, 04 Jun 2013 01:35:03 +0200 Received: from [188.22.22.132] by 3capp-gmx-bs21.server.lan with HTTP; Tue Jun 04 01:35:03 CEST 2013 MIME-Version: 1.0 Message-ID: From: "Lukas Riezler" To: "Ilija Kocho" Cc: ecos-discuss@sourceware.org Content-Type: text/plain; charset=UTF-8 Date: Mon, 03 Jun 2013 23:35:00 -0000 Sensitivity: Normal In-Reply-To: <51AD13BF.3090408@siva.com.mk> References: , <51ACF35A.6030307@siva.com.mk> , <51AD13BF.3090408@siva.com.mk> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail Subject: Aw: Re: Re: [ECOS] eCos application crashes X-SW-Source: 2013-06/txt/msg00004.txt.bz2 Hi Ilja, =C2=A0 I think you are right!!! It seems that the situation for FM3 is the same like for kinetis! =3D=3D> I forgot to disable the hardware watchdog! Now it seems to run! :-) Thank you very very much for this hint! Lukas =C2=A0 =C2=A0 Gesendet:=C2=A0Dienstag, 04. Juni 2013 um 00:07 Uhr Von:=C2=A0"Ilija Kocho" An:=C2=A0"Lukas Riezler" Cc:=C2=A0ecos-discuss@sourceware.org Betreff:=C2=A0Re: 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 on= ly a simple counter. > I did the clocking and hal_diag.c - are there any traps causing me stumbl= e?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 fa= ult 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" > An: "Lukas Riezler" > 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 =3D=3D> the first runnin= g 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[h= ttp://ecos.sourceware.org/ml/ecos-discuss][http://ecos.sourceware.org/ml/ec= os-discuss[http://ecos.sourceware.org/ml/ecos-discuss]] > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos[ht= tp://ecos.sourceware.org/fom/ecos] and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss[htt= p://ecos.sourceware.org/ml/ecos-discuss] =C2=A0 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss