From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15097 invoked by alias); 25 Apr 2013 00:13:39 -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 15088 invoked by uid 89); 25 Apr 2013 00:13:39 -0000 X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.18) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Apr 2013 00:13:38 +0000 Received: from 3capp-gmx-bs55.server.lan ([172.19.170.139]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MFwUq-1UJYQA2PzS-00EtZJ for ; Thu, 25 Apr 2013 02:13:36 +0200 Received: from [91.115.252.163] by 3capp-gmx-bs55.server.lan with HTTP; Thu Apr 25 02:13:36 CEST 2013 MIME-Version: 1.0 Message-ID: From: "Lukas Riezler" To: ecos-discuss@sourceware.org Content-Type: text/plain; charset=UTF-8 Date: Thu, 25 Apr 2013 00:13:00 -0000 Sensitivity: Normal Content-Transfer-Encoding: quoted-printable Subject: [ECOS] Debugging via JTAG - problems? X-SW-Source: 2013-04/txt/msg00022.txt.bz2 Hello ecos-guys! For my FM3-Port I've customized the clocking. I thougt this would be enough to debug a first "Hello World" application (b= linking LED) with JTAG. What I did is following: 1) I customized clocking (that contains of course customizing the dependent= header files and cdl files 2) I built a ecos library. I took care that I disable virtual vector table.= Richard Rauch advised me of this because I want ecos to run without RedBoo= t. 3) I created a makefile project in eclipse 4) with this makefile project I'm now able to compile my "Hello World" appl= ication and then linking it with the ecos library 5) an elf file is generated 6) then I did the configurations for debugging in eclipse 7) I use arm-none-eabi-gdb from YAGARTO toolchain (arm-eabi-gdb which comes= with ecos doesn't work?), Segger GDB Server and onboard JTAG 8) I am able to start debugging --> the debugger starts at vectors.S and af= ter some steps I get into the main() of Hello World. What makes me a little =C2=A0=C2=A0 perplex is that I don't leave vectors.S until I reach the main= () of Hello World. =C2=A0=C2=A0 I expected that I should run through the different files of th= e HAL to see among other things the steps of my clock initialisation. 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! =C2=A0=C2=A0 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 real= ly 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 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss