Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about UCOS2 code at Keil RV for ARM (LPC2103)

Status
Not open for further replies.

kaijiun

Newbie level 1
Newbie level 1
Joined
Apr 9, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top