From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24778 invoked by alias); 26 Jun 2012 08:26:25 -0000 Received: (qmail 24757 invoked by uid 22791); 26 Jun 2012 08:26:23 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TW_BJ,TW_JC X-Spam-Check-By: sourceware.org Received: from tirion.supremecenter202.com (HELO tirion.supremecenter202.com) (209.25.195.243) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Jun 2012 08:26:09 +0000 Received: from [195.189.206.101] (port=34386 helo=[192.168.209.103]) by tirion.supremecenter202.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1SjR65-0007dO-Lj; Tue, 26 Jun 2012 08:26:07 +0000 Message-ID: <4FE97219.1060501@siva.com.mk> Date: Tue, 26 Jun 2012 08:26:00 -0000 From: Ilija Kocho User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: tangwei CC: ecos-discuss@ecos.sourceware.org References: ,<4FE1B18B.2090702@siva.com.mk> ,<4FE2C0F1.1090005@siva.com.mk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Re: [ECOS] kinetis kwikstik's ecos trouble X-SW-Source: 2012-06/txt/msg00043.txt.bz2 Hi It may be a hardware issue, depends on how do you power Kwikstik and what do you use for RS232 signals? I would assume that you use TWR-SER or compatible 3.3V MAX chip. Then if you power the Kwikstik through it's own USB the Vdd voltage will be 2.8V due to drop on serial Schottky diode (see Kwikstik schematic). It seems the output level is too low for 3.3 MAX chip and you won't see output although the chip is working. If you power through Tower elevator then Vdd is 3.3V and you'll see output. I hope this helps. Ilija On 26.06.2012 08:39, tangwei wrote: > Dear all, > 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/default_install/include/ simple-alarm.c -L ../../test/default_install/lib -Ttarget.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 -O binary a.out simple-alarm.bin > finally I get hello.bin,twothreads.bin, and simple-alarm.bin > > 4.Then I use j-Link to download any of the three bin file , the UART have nothing output, by 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 is OK, and can someone tell me where is the bug? > Thanks > ----------tangwei > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss