This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

kinetis kwikstik's ecos trouble


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]