ucos2
Hello everyone,
I am a newbie and just found ucos a very interesting and necessary program to be use in my microprocessor(LPC2103)
I am now working on code transfer for ucos2 to be able to execute in Keil.
What I saw from internet and did are:
1)Get UCOS2 sourcecode.(from Micrium)
2)Get UCOS2 Port to ARM (AN1014 downloadable from Micrium)
3)Get UCOS2 Application code on LPC 2103(Micrium as well. Need to register to
get it)
4)Get other LPC2103 code to compare and put them in.(from
www.techtoys.com)
5)Edit code to run on Keil (since they use ADS or EWARM)
After 1-2 days I did manage to debug everything and manage to make a hex file
out of it, which is good
My problem now is - The hex file(75kb) is too big to suit LPC2103(32kb).
My Main Program is a very very simple code(so that i know where went wrong in
the system only). So I suspect I have way too much unnecessary code. But after I
look into the codes again, I am not really sure which one should i drop off or
redefine the function.
Can someone help me by glance through it and point out a few things I should
look into? Or explain to me as detail as it can be if you like to.
For me it may takes me 1 week to find my mistakes, but you guys should be able
to tell which are the redundant codes immediately.
I believe that any of your advice will definitely enlightened me lots. Thanks!!
Here is my source code(or from attached):
http://geocities.com/kaijiun83/code.zip
It can be compiled by Keil v3.5 without error. If you don't have Keil, you still can help out since you don't really need to compile it again.