Reply by "Joe B." June 26, 20062006-06-26
Hi,

When I try to run FreeRTOS + Demo apps on the Keil MCB2100, I get
some strange results that do not occur when I use simulation. In
particular, I get stuck around 0x7FFE252 in the dissasembly and it
just hangs in an infinite loop.

One thing to note is that I am using the H-JTAG debug agent:
http://hjtag.blogspot.com/. Do you think this has anything to do
with my problem?

--- In l..., "FreeRTOS Info" wrote:
>
> >Regarding the Philips LPC2129 (ARM7) RTOS Port for the Keil
> >Development Tools from http://www.freertos.org/, can I do
everything
> >with the Keil Evaluation tools that are currently available for
> >download from Keil.com (tools since ARM acquired Keil) Or do I
need
> >a full version?
>
> All the demo applications available in the FreeRTOS.org download
should be
> usable with the evaluation versions of the respective compilers.
This is
> the intension anyway.
>
> I originally wrote the Keil port using a beta version of the Keil
compiler.
> This was an eval version that permitted unlimited compilation, but
16K (?)
> limit debugger sessions.
>
> Since then on a different computer I installed the eval version of
the
> Keil/ARM combo that came with the Luminary Micro development kit.
I presume
> (but don't know for sure) that this is the same compiler available
from
> their WEB site. This seemed to compile the project written with
the
> original Keil tools with no modification, and have the same
limitations on
> debugger sessions.
>
> Regards,
> Richard.
>
> http://www.FreeRTOS.org
> *Now for ARM Cortex-M3!*
> ----- Original Message -----
> From: "Joe B."
> To:
> Sent: Thursday, June 22, 2006 8:44 PM
> Subject: [lpc2000] Re: Porting an RTOS to Keil MCB 2130
> Hi Richard,
>
> Regarding the Philips LPC2129 (ARM7) RTOS Port for the Keil
> Development Tools from http://www.freertos.org/, can I do
everything
> with the Keil Evaluation tools that are currently available for
> download from Keil.com (tools since ARM acquired Keil) Or do I
need
> a full version?
>
> --- In l..., "FreeRTOS Info" wrote:
> >
> > >Is uCOS-II free? I thought you had to purchase the book.
> >
> > uCOS-II can be used for educational purposes for the cost of
> purchasing the
> > book. Any other use requires the purchase of a license.
> >
> > Have you considered FreeRTOS.org? There are several LPC ports in
> the
> > download. I think there are also some files in the download area
> of this
> > group.
> >
> > Regards,
> > Richard.
> >
> > http://www.FreeRTOS.org
> > *Now for ARM Cortex-M3!*
>

An Engineer's Guide to the LPC2100 Series

Reply by 42Bastian Schick June 23, 20062006-06-23
Shinose schrieb:
> uC/OS-II is a recommended os for LPC2138. uClinux require atleast 1MB of RAM
> I think...

Beware: uCOSII is not for free !
But still: Linux is far to big :-) As well as eCos.
--
42Bastian
Reply by FreeRTOS Info June 22, 20062006-06-22
>Regarding the Philips LPC2129 (ARM7) RTOS Port for the Keil
>Development Tools from http://www.freertos.org/, can I do everything
>with the Keil Evaluation tools that are currently available for
>download from Keil.com (tools since ARM acquired Keil) Or do I need
>a full version?

All the demo applications available in the FreeRTOS.org download should be
usable with the evaluation versions of the respective compilers. This is
the intension anyway.

I originally wrote the Keil port using a beta version of the Keil compiler.
This was an eval version that permitted unlimited compilation, but 16K (?)
limit debugger sessions.

Since then on a different computer I installed the eval version of the
Keil/ARM combo that came with the Luminary Micro development kit. I presume
(but don't know for sure) that this is the same compiler available from
their WEB site. This seemed to compile the project written with the
original Keil tools with no modification, and have the same limitations on
debugger sessions.

Regards,
Richard.

http://www.FreeRTOS.org
*Now for ARM Cortex-M3!*
----- Original Message -----
From: "Joe B."
To:
Sent: Thursday, June 22, 2006 8:44 PM
Subject: [lpc2000] Re: Porting an RTOS to Keil MCB 2130
Hi Richard,

Regarding the Philips LPC2129 (ARM7) RTOS Port for the Keil
Development Tools from http://www.freertos.org/, can I do everything
with the Keil Evaluation tools that are currently available for
download from Keil.com (tools since ARM acquired Keil) Or do I need
a full version?

--- In l..., "FreeRTOS Info" wrote:
>
> >Is uCOS-II free? I thought you had to purchase the book.
>
> uCOS-II can be used for educational purposes for the cost of
purchasing the
> book. Any other use requires the purchase of a license.
>
> Have you considered FreeRTOS.org? There are several LPC ports in
the
> download. I think there are also some files in the download area
of this
> group.
>
> Regards,
> Richard.
>
> http://www.FreeRTOS.org
> *Now for ARM Cortex-M3!*
>

Reply by "Joe B." June 22, 20062006-06-22
Hi Richard,

Regarding the Philips LPC2129 (ARM7) RTOS Port for the Keil
Development Tools from http://www.freertos.org/, can I do everything
with the Keil Evaluation tools that are currently available for
download from Keil.com (tools since ARM acquired Keil) Or do I need
a full version?

--- In l..., "FreeRTOS Info" wrote:
>
> >Is uCOS-II free? I thought you had to purchase the book.
>
> uCOS-II can be used for educational purposes for the cost of
purchasing the
> book. Any other use requires the purchase of a license.
>
> Have you considered FreeRTOS.org? There are several LPC ports in
the
> download. I think there are also some files in the download area
of this
> group.
>
> Regards,
> Richard.
>
> http://www.FreeRTOS.org
> *Now for ARM Cortex-M3!*
>

Reply by David Hawkins June 22, 20062006-06-22
> Thanks a lot guys for the responses. I can now remove uClinux from
> my options. Another requirement that I have is that anyone should
> be able to go and get the source and port for free without any
> restrictions, as well as the development tools.
>
> Is uCOS-II free? I thought you had to purchase the book.

You get the source from the book, so yeah you have to pay there.
Then its free for 'academic' use, and your original comment
was that this was an academic exercise :)

You do have to pay a license fee for use in commerical products.

> Also, will I be needing a Unix-based machine/environment for porting
> uCOS-II to Keil MCB2100 (LPC2138)?

Development with GNU-ARM works under both Windows and Linux,
take a look at the appendix in the doc I pointed you to,
and it shows you how to build the tools.

Tom Walsh also has posted build scripts.

> Ideally, I'd like to do all this in a Windows environment,
> using the Keil Evaluation tools. I assume that I cannot
> use the evaluation tools because of the 16K restriction?
> A full version of ADS v1.2 is also an option.
>
> I'm beggining to think the free GNU tools are the way to go?

The GNU tools work great, and if you aren't prepared to
pay RTOS royalties, why pay for tools, eh!

Check out FreeRTOS too, its absolutely free and they
have lots of examples for the Keil kits.

http://www.freertos.org

However, I've never used it, so can't comment.

If you're still interested in pursuing eCOS, then do a web
search for 'Bruce Perens' Open Source Series' and you'll find
a PDF copy of Anthony Massa's book ...

http://www.phptr.com/series/series.asp?ser35494&rl=1
click on the FREE download link ...
http://www.phptr.com/promotion/1484?redir=1
and its down the bottom of the page on the right.

Dave

Reply by FreeRTOS Info June 22, 20062006-06-22
>Is uCOS-II free? I thought you had to purchase the book.

uCOS-II can be used for educational purposes for the cost of purchasing the
book. Any other use requires the purchase of a license.

Have you considered FreeRTOS.org? There are several LPC ports in the
download. I think there are also some files in the download area of this
group.

Regards,
Richard.

http://www.FreeRTOS.org
*Now for ARM Cortex-M3!*

Reply by "Joe B." June 22, 20062006-06-22
Thanks a lot guys for the responses. I can now remove uClinux from
my options. Another requirement that I have is that anyone should
be able to go and get the source and port for free without any
restrictions, as well as the development tools.

Is uCOS-II free? I thought you had to purchase the book.

Also, will I be needing a Unix-based machine/environment for porting
uCOS-II to Keil MCB2100 (LPC2138)? Ideally, I'd like to do all this
in a Windows environment, using the Keil Evaluation tools. I assume
that I cannot use the evaluation tools because of the 16K
restriction? A full version of ADS v1.2 is also an option.

I'm beggining to think the free GNU tools are the way to go?

Kind Regards

--- In l..., David Hawkins wrote:
>
> Joe Bungo wrote:
> > Hello,
> >
> > I am a beginner to porting OS'.
> >
> > I want to port an RTOS to a Keil MCB2130 evaluation board, based
on
> > Philips LPC2138 (512 KB Flash, 32 KB RAM) for academic
purposes. I am
> > looking at either uClinux or eCOS (or a better recommendation).
Which
> > do you think would be a more feasible task? I briefly took a
look at
> > the eCOS website, and saw that there might be an already
existing port
> > for Keil MCB2100 (LPC2129). Where is this? What all would be
involved
> > in migrating to LPC2138, and how feasible do you think this
would be?
> >
> > Are you aware of any uClinux ports for the Keil MCB boards? Any
> > beginning steps to get me started would be much appreciated.
>
> Hi Joe,
>
> The following describes a port of uCOS-II that runs on the LPC2138.
>
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
>
> the source code is at
> http://www.ovro.caltech.edu/~dwh/ucos/
>
> its also in the files section of the Yahoo group.
>
> uCLinux requires more resources than the LPC's have (without
> adding more on the external memory bus of the devices that
> have one).
>
> I believe there is a port of eCOS, but haven't looked
> for it. Try over at www.ecoscentric.com.
>
> Dave
>

Reply by David Hawkins June 22, 20062006-06-22
Joe Bungo wrote:
> Hello,
>
> I am a beginner to porting OS'.
>
> I want to port an RTOS to a Keil MCB2130 evaluation board, based on
> Philips LPC2138 (512 KB Flash, 32 KB RAM) for academic purposes. I am
> looking at either uClinux or eCOS (or a better recommendation). Which
> do you think would be a more feasible task? I briefly took a look at
> the eCOS website, and saw that there might be an already existing port
> for Keil MCB2100 (LPC2129). Where is this? What all would be involved
> in migrating to LPC2138, and how feasible do you think this would be?
>
> Are you aware of any uClinux ports for the Keil MCB boards? Any
> beginning steps to get me started would be much appreciated.

Hi Joe,

The following describes a port of uCOS-II that runs on the LPC2138.

http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf

the source code is at
http://www.ovro.caltech.edu/~dwh/ucos/

its also in the files section of the Yahoo group.

uCLinux requires more resources than the LPC's have (without
adding more on the external memory bus of the devices that
have one).

I believe there is a port of eCOS, but haven't looked
for it. Try over at www.ecoscentric.com.

Dave

Reply by Shinose June 22, 20062006-06-22
You could refer to the site http://www.geocities.com/michaelanburaj where
the port is given..

On 6/22/06, Shinose wrote:
>
> uC/OS-II is a recommended os for LPC2138. uClinux require atleast 1MB of
> RAM I think...
> On 6/22/06, Joe Bungo wrote:
> >
> > Hello,
> >
> > I am a beginner to porting OS'.
> >
> > I want to port an RTOS to a Keil MCB2130 evaluation board, based on
> > Philips LPC2138 (512 KB Flash, 32 KB RAM) for academic purposes. I am
> > looking at either uClinux or eCOS (or a better recommendation). Which
> > do you think would be a more feasible task? I briefly took a look at
> > the eCOS website, and saw that there might be an already existing port
> > for Keil MCB2100 (LPC2129). Where is this? What all would be involved
> > in migrating to LPC2138, and how feasible do you think this would be?
> >
> > Are you aware of any uClinux ports for the Keil MCB boards? Any
> > beginning steps to get me started would be much appreciated.
> >
> > Thanks for any help,
> > Kind Regards,
> > Joe
> > ____________________________________
> > Joe Bungo
> > ARM
> >
> > -- IMPORTANT NOTICE: The contents of this email and any attachments are
> > confidential and may also be privileged. If you are not the intended
> > recipient, please notify the sender immediately and do not disclose the
> > contents to any other person, use it for any purpose, or store or copy the
> > information in any medium. Thank you.
> >
> >
> > --
> "A half filled cup of tea is ' Half Empty or Half Full '... the attitude
> determines."
>

--
"A half filled cup of tea is ' Half Empty or Half Full '... the attitude
determines."


Reply by Shinose June 22, 20062006-06-22
uC/OS-II is a recommended os for LPC2138. uClinux require atleast 1MB of RAM
I think...

On 6/22/06, Joe Bungo wrote:
>
> Hello,
>
> I am a beginner to porting OS'.
>
> I want to port an RTOS to a Keil MCB2130 evaluation board, based on
> Philips LPC2138 (512 KB Flash, 32 KB RAM) for academic purposes. I am
> looking at either uClinux or eCOS (or a better recommendation). Which
> do you think would be a more feasible task? I briefly took a look at
> the eCOS website, and saw that there might be an already existing port
> for Keil MCB2100 (LPC2129). Where is this? What all would be involved
> in migrating to LPC2138, and how feasible do you think this would be?
>
> Are you aware of any uClinux ports for the Keil MCB boards? Any
> beginning steps to get me started would be much appreciated.
>
> Thanks for any help,
> Kind Regards,
> Joe
> ____________________________________
> Joe Bungo
> ARM
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>

--
"A half filled cup of tea is ' Half Empty or Half Full '... the attitude
determines."