From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25797 invoked by alias); 26 Jun 2012 06:39:16 -0000 Received: (qmail 25698 invoked by uid 22791); 26 Jun 2012 06:39:15 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_BJ,TW_JC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s25.bay0.hotmail.com (HELO bay0-omc1-s25.bay0.hotmail.com) (65.54.190.36) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Jun 2012 06:39:03 +0000 Received: from BAY163-W58 ([65.54.190.60]) by bay0-omc1-s25.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 25 Jun 2012 23:39:03 -0700 Message-ID: From: tangwei To: CC: Date: Tue, 26 Jun 2012 06:39:00 -0000 In-Reply-To: <4FE2C0F1.1090005@siva.com.mk> References: ,<4FE1B18B.2090702@siva.com.mk> ,<4FE2C0F1.1090005@siva.com.mk> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes 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 Subject: [ECOS] kinetis kwikstik's ecos trouble X-SW-Source: 2012-06/txt/msg00042.txt.bz2 Dear all, =A0 redboot have run on my kwikstik ok, but I am not sure whether the ecos = is OK, my steps is below: use the CVS version which contains freescale's kwikstik template, 1. use the default setting for kwikstik to get the "libtarget.a" and etc;2.= build the examples from the ecos/examples/ ,such as hello.c ,twothreads.c = ,simple-alarm.c use the command below /opt/ecos/gnutools/arm-eabi/bin/arm-eabi-gcc -g -D_ECOS -I ../../test/defau= lt_install/include/ simple-alarm.c -L ../../test/default_install/lib -Ttarg= et.ld -nostdlib and get the a.out file3. transfer a.out into .bin ,use command below /opt/ecos/gnutools/arm-eabi/bin/arm-eabi-objcopy =A0-O binary a.out simple-= alarm.bin finally I get hello.bin,twothreads.bin, and simple-alarm.bin=A0 4.Then I use j-Link to download any of the three bin file , the UART have n= othing output,=A0by the way, the UART's software and hardware's setting are= the same-38400 8N1,UART5, and the redboot works OK.Does the UART setting i= s OK, and can someone tell me where is the bug? Thanks ----------tangwei=20=09=09=20=09=20=20=20=09=09=20=20 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss