Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

RTOS - Ravi - Jan 4 2:16:16 2008

Dear all,

Can anybody guide me to start working on RTOS.
I have some exprience in embedded without RTOS for same chip.
I have LPc2148 board and using WinARM compiler.
Can anyone tell me from where to start for RTOS.
I had a snap of RTOS concepts and how it works.
But need help on how to load it on chip and how to program the tasks.
Waiting for reply...

with regards
Ravi =A0
[Non-text portions of this message have been removed]

=20

=20


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: RTOS - Karunanithy - Jan 4 2:20:46 2008

Hello Ravi,

Refer to this http://www.freertos.org/ link. There is freertos with LPC2148 demo code.
You can also try TNKernal http://www.tnkernel.com/, which is also having some sample code .

Best Regards,
Karun.

----- Original Message ----
From: Ravi
To: l...@yahoogroups.com
Sent: Friday, January 4, 2008 4:05:48 PM
Subject: [lpc2000] RTOS

Dear all,

Can anybody guide me to start working on RTOS.
I have some exprience in embedded without RTOS for same chip.
I have LPc2148 board and using WinARM compiler.
Can anyone tell me from where to start for RTOS.
I had a snap of RTOS concepts and how it works.
But need help on how to load it on chip and how to program the tasks.

Waiting for reply...

with regards
Ravi

[Non-text portions of this message have been removed]

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[Non-text portions of this message have been removed]



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Re: RTOS - Ravi - Jan 4 2:40:27 2008

Thanx Mr Karunanithy,
for your kind help and quick reply.

I'll come back after browsing http://www.freertos.org/

with regards

Ravi =A0
On Fri, 04 Jan 2008 Karunanithy wrote :
>Hello Ravi,
>
>Refer to this http://www.freertos.org/ link. There is freertos with LPC214=
8 demo code.
>You can also try TNKernal http://www.tnkernel.com/, which is also having s=
ome sample code .
>
>Best Regards,
>Karun.
>
>----- Original Message ----
> From: Ravi
>To: l...@yahoogroups.com
>Sent: Friday, January 4, 2008 4:05:48 PM
>Subject: [lpc2000] RTOS
>
>Dear all,
>
>Can anybody guide me to start working on RTOS.
>I have some exprience in embedded without RTOS for same chip.
>I have LPc2148 board and using WinARM compiler.
>Can anyone tell me from where to start for RTOS.
>I had a snap of RTOS concepts and how it works.
>But need help on how to load it on chip and how to program the tasks.
>
>Waiting for reply...
>
>with regards
>Ravi
>
>[Non-text portions of this message have been removed]
>
> ___________________________________________________________________=
_________________
>Be a better friend, newshound, and
>know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_yl=
t=3DAhu06i62sR8HDtDypao8Wcj9tAcJ
>[Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]

=20

=20


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: RTOS - mjames_doveridge - Jan 4 3:08:15 2008

--- In l...@yahoogroups.com, "Ravi" wrote:
>
> Dear all,
>
> Can anybody guide me to start working on RTOS.
> I have some exprience in embedded without RTOS for same chip.
> I have LPc2148 board and using WinARM compiler.
> Can anyone tell me from where to start for RTOS.
> I had a snap of RTOS concepts and how it works.
> But need help on how to load it on chip

Often, the RTOS is simply linked in with the rest of the app code. I
know that a 'big box' OS is nothing like that, but it is not practical
to implement a general-purpose OS with loadable drivers etc. in 16K of
RAM . Basically, you only use what you need. You can, if you
wish, load your OS in a secondary boot loader and call it from your
main app via. software interrupts, just like a 'real computer', but
there are snags with this approach when you have deployed thousands of
units and you find that the OS has a bug that has just been fixed.
Embedded developers don't, as a rule, have access to 'Patch Tuesday' :(

.. and how to program the tasks

With an RTOS, it's all about I/O. Think carefully about how you are
going to structure your data/buffers and how your I/O is going to work
- how to structure your interrupt drivers and get the buffers in/out
of them. For example, my current main app has vital CAN and UART
comms. A CAN message has up to 11 bytes and the UART buffer might
contain 14-16 bytes. It makes sense for me, therefore to use I/O
buffer structs/objects that can contain 16 bytes of payload. With the
2148 USB, you will need a pool of larger buffers.

If you get the data, interrupts and inter-thread comms right, the code
will just follow on.

Rgds,
Martin



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: RTOS - rtstofer - Jan 4 7:36:32 2008

--- In l...@yahoogroups.com, "Ravi" wrote:
>
> Dear all,
>
> Can anybody guide me to start working on RTOS.
> I have some exprience in embedded without RTOS for same chip.
> I have LPc2148 board and using WinARM compiler.
> Can anyone tell me from where to start for RTOS.
> I had a snap of RTOS concepts and how it works.
> But need help on how to load it on chip and how to program the tasks.
> Waiting for reply...
>
> with regards
> Ravi
>

You can try JC Wren's demo code for the 2148 which includes demos of
just about everything including FreeRTOS: www.jcwren.com/arm

Richard



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Re: RTOS - simran singh - Jan 4 23:38:55 2008

Hi Ravi,

Where are you living ....

I suggest you that RTOS is not a very easy concept ...

it is better to buy a kit of rtos from www.emblitz.com or www.eilabz.com ... they are very cheap... from Bangalore...

They are self learning kit...

Lets try if it works...

Regards,

Simran..

----- Original Message ----
From: rtstofer
To: l...@yahoogroups.com
Sent: Friday, 4 January, 2008 5:46:37 PM
Subject: [lpc2000] Re: RTOS

--- In lpc2000@yahoogroups .com, "Ravi" wrote:

>

> Dear all,

>

> Can anybody guide me to start working on RTOS.

> I have some exprience in embedded without RTOS for same chip.

> I have LPc2148 board and using WinARM compiler.

> Can anyone tell me from where to start for RTOS.

> I had a snap of RTOS concepts and how it works.

> But need help on how to load it on chip and how to program the tasks.

>

>

> Waiting for reply...

>

> with regards

> Ravi

>

You can try JC Wren's demo code for the 2148 which includes demos of

just about everything including FreeRTOS: www.jcwren.com/ arm

Richard







Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

[Non-text portions of this message have been removed]



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: RTOS - mjames_doveridge - Jan 5 5:52:00 2008

--- In l...@yahoogroups.com, simran singh
wrote:
>
> Hi Ravi,
>
> Where are you living ....
>
> I suggest you that RTOS is not a very easy concept ...
>
> it is better to buy a kit of rtos from www.emblitz.com or
www.eilabz.com ... they are very cheap... from Bangalore...
>
> They are self learning kit...
>
> Lets try if it works...
>

Heh - I thought that your post was a wind-up at first, but there is
the site with kits etc!

The RTOS kit is interesting, but I am a bit surprised at the choice of
an 8051 derivative for the processor. It's been some time since I
used an 8051 but, as I remember, it has a very restricted on-chip
stack that would have to be swapped out to external RAM on every
context-switch. That's gotta be slow!

Still - they seem very good value! It's almost worth buying them,
developing software and selling them as product.

Anyone else tried these kits?

Rgds,
Martin



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Re: RTOS - "FreeRTOS.org Info" - Jan 5 6:22:26 2008

> -----Original Message-----
> From: l...@yahoogroups.com=20
> [mailto:l...@yahoogroups.com] On Behalf Of simran singh
> Sent: 05 January 2008 11:04
> To: l...@yahoogroups.com
> Subject: Re: [lpc2000] Re: RTOS
>=20
> Well Martin...
>=20
> I totally agree with you...
>=20
> but problem is very simple... I tried my best to learn RTOS...
>=20
> I cannot have any coaching .... hence i am opting out for a kit...
>=20
> Regards,
>=20
> Simran..
You need not buy anything if you instead use a simulator.

You can run FreeRTOS.org demo projects in the MPLAB simulator for 8, 16 or
32bit devices, the AVRStudio simulator, the old Keil ARM7 simulator (now
defunct), or just run it on a PC (real mode only, this option does not
permit stepping through context switching when using Open Watcom). I think
you can run it in the Silicon Labs simulator too but can't quite remember.

See http://www.freertos.org/FreeRTOS-quick-start-guide.html

Regards,
Richard.

+ http://www.FreeRTOS.org
14 official architecture ports, 5000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T=DCV as meeting the requirements for safety related systems.

=20

=20


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Re: RTOS - simran singh - Jan 5 6:22:27 2008

Well Martin...

I totally agree with you...

but problem is very simple... I tried my best to learn RTOS...

I cannot have any coaching .... hence i am opting out for a kit...

Regards,

Simran..

----- Original Message ----
From: mjames_doveridge
To: l...@yahoogroups.com
Sent: Saturday, 5 January, 2008 4:09:26 PM
Subject: [lpc2000] Re: RTOS

--- In lpc2000@yahoogroups .com, simran singh

wrote:

>

> Hi Ravi,

>

> Where are you living ....

>

> I suggest you that RTOS is not a very easy concept ...

>

> it is better to buy a kit of rtos from www.emblitz. com or

www.eilabz.com ... they are very cheap... from Bangalore...

>

> They are self learning kit...

>

> Lets try if it works....

>

Heh - I thought that your post was a wind-up at first, but there is

the site with kits etc!

The RTOS kit is interesting, but I am a bit surprised at the choice of

an 8051 derivative for the processor. It's been some time since I

used an 8051 but, as I remember, it has a very restricted on-chip

stack that would have to be swapped out to external RAM on every

context-switch. That's gotta be slow!

Still - they seem very good value! It's almost worth buying them,

developing software and selling them as product.

Anyone else tried these kits?

Rgds,

Martin







Now you can chat without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php

[Non-text portions of this message have been removed]



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: RTOS - michael_melkonian - Jan 6 22:24:36 2008

Check out http://www.embedded.com/2000/0009/0009feat4.htm for=20
explanation of concepts leading from non-RTOS to RTOS-based systems.

--- In l...@yahoogroups.com, "Ravi" wrote:
>
> Dear all,
>=20
> Can anybody guide me to start working on RTOS.
> I have some exprience in embedded without RTOS for same chip.
> I have LPc2148 board and using WinARM compiler.
> Can anyone tell me from where to start for RTOS.
> I had a snap of RTOS concepts and how it works.
> But need help on how to load it on chip and how to program the=20
tasks.
>=20
>=20
> Waiting for reply...
>=20
> with regards
> Ravi =A0
>=20
>=20
> [Non-text portions of this message have been removed]
>

=20

=20


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )