From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2477 invoked by alias); 3 Jun 2013 22:09:49 -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 2466 invoked by uid 89); 3 Jun 2013 22:09:49 -0000 X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_NEUTRAL autolearn=no version=3.3.1 Received: from gateway15.websitewelcome.com (HELO gateway15.websitewelcome.com) (67.18.71.13) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 03 Jun 2013 22:09:48 +0000 Received: by gateway15.websitewelcome.com (Postfix, from userid 5007) id 69C1982B4DA8F; Mon, 3 Jun 2013 17:09:46 -0500 (CDT) Received: from ham02.websitewelcome.com (unknown [173.192.111.51]) by gateway15.websitewelcome.com (Postfix) with ESMTP id 3AEBB82B4D996 for ; Mon, 3 Jun 2013 17:09:46 -0500 (CDT) Received: by ham02.websitewelcome.com (Postfix, from userid 666) id 34D58BAB82277; Mon, 3 Jun 2013 17:09:46 -0500 (CDT) X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from montecarlo.websitewelcome.com (montecarlo.websitewelcome.com [174.120.9.66]) by ham02.websitewelcome.com (Postfix) with ESMTP id 90867BAB672E4 for ; Mon, 3 Jun 2013 17:08:02 -0500 (CDT) Received: from [77.28.175.169] (port=41594 helo=[192.168.178.36]) by montecarlo.websitewelcome.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1Ujcv4-0007I5-1q; Mon, 03 Jun 2013 17:08:02 -0500 Message-ID: <51AD13BF.3090408@siva.com.mk> Date: Mon, 03 Jun 2013 22:09:00 -0000 From: Ilija Kocho User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Lukas Riezler CC: ecos-discuss@sourceware.org References: , <51ACF35A.6030307@siva.com.mk> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BWhitelist: no X-Source-Sender: ([192.168.178.36]) [77.28.175.169]:41594 X-Source-Auth: ilijak+siva.mk X-Email-Count: 1 X-Source-Cap: c2l2YW1rO2JpYmltYW47bW9udGVjYXJsby53ZWJzaXRld2VsY29tZS5jb20= Subject: Re: Aw: Re: [ECOS] eCos application crashes X-SW-Source: 2013-06/txt/msg00003.txt.bz2 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" > 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 ==> 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