Thanks,
but why my redboot work successfully,from the same UART and the same setting,
and I want to confirmĀ If the example(hello.c,serial.c)use the kwikstik's UART5 
for output,and the setting is 38400 8N1



----------------------------------------
> Date: Tue, 26 Jun 2012 10:26:01 +0200
> From: ili...@siva.com.mk
> To: tzi...@hotmail.com
> CC: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] kinetis kwikstik's ecos trouble
>
> 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
>
                                          

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to