From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25934 invoked by alias); 25 Apr 2013 08:03:20 -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 25924 invoked by uid 89); 25 Apr 2013 08:03:20 -0000 X-Spam-SWARE-Status: No, score=-2.2 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 gateway16.websitewelcome.com (HELO gateway16.websitewelcome.com) (67.18.44.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Apr 2013 08:03:16 +0000 Received: by gateway16.websitewelcome.com (Postfix, from userid 5007) id A0C59E0A827B2; Thu, 25 Apr 2013 03:02:50 -0500 (CDT) Received: from ham02.websitewelcome.com (unknown [173.192.111.51]) by gateway16.websitewelcome.com (Postfix) with ESMTP id 87D5CE0A8278C for ; Thu, 25 Apr 2013 03:02:50 -0500 (CDT) Received: by ham02.websitewelcome.com (Postfix, from userid 666) id 0301E25C891C4; Thu, 25 Apr 2013 03:03:15 -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 AC32325C88E02 for ; Thu, 25 Apr 2013 03:03:06 -0500 (CDT) Received: from [195.189.206.101] (port=52766 helo=[192.168.209.11]) by montecarlo.websitewelcome.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UVH90-0003j0-87; Thu, 25 Apr 2013 03:03:06 -0500 Message-ID: <5178E338.3090307@siva.com.mk> Date: Thu, 25 Apr 2013 08:03:00 -0000 From: Ilija Kocho User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Lukas Riezler CC: ecos-discuss@sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BWhitelist: no X-Source-Sender: ([192.168.209.11]) [195.189.206.101]:52766 X-Source-Auth: ilijak+siva.mk X-Email-Count: 1 X-Source-Cap: c2l2YW1rO2JpYmltYW47bW9udGVjYXJsby53ZWJzaXRld2VsY29tZS5jb20= Subject: Re: [ECOS] Debugging via JTAG - problems? X-SW-Source: 2013-04/txt/msg00023.txt.bz2 On 25.04.2013 02:13, Lukas Riezler wrote: > Hello ecos-guys! > [snip] > 8) I am able to start debugging --> the debugger starts at vectors.S and after some steps I get into the main() of Hello World. What makes me a little > perplex is that I don't leave vectors.S until I reach the main() of Hello World. > I expected that I should run through the different files of the HAL to see among other things the steps of my clock initialisation. How do you get to main? by single stepping? Breakpoint? Put breakpoint on hal_system_init() . That's an early breakpoint and will give you chance to step through system booting. > 9) like I said I arrive at main() of Hello World...but exactly the line of code which should cause the LED to switch on is ignored by the debugger! It is possible that your code has been optimised by GCC. Did you get some warnings for unused variables from GCC? I assume you are writing to some port, try to declare the port (variable) as volatile. > A few steps later I get with the debugger to serial.c > Do you know what I'm doing wrong? If there are some passages you don't really understand because of my english --> please tell ;) > > --- > > By the way - can you tell me what I have to do for answering in the mailing-list? I think I still don't understand how that works ;) > With kind regards, Lukas You simply reply to the e-mail (I assume that you do so). If you click reply to all recipients than the mailing list address should appear as either To or Cc. One thing that you should take care is to send only plain text (no HTML). 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