Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

IAP

IAP

2006-05-28 by a_storic

Is it possible to program the LPC2129 micro for RTOS operation and 
then reprogram a task within the micro RTOS for a new function.

IE program the micro to be a particular function type (set the input 
and output pins, comms Ethernet, CAN, the number of task(program 
parameters for how the input and output will function) and then
with the IAP program task with the program. 

having allocated task at particular memory location within the micro 
then by writing a small code compiled to then be loaded into the micro 
as a defined task within the existing micro program.

ANdrew

Re: [lpc2000] IAP

2006-05-28 by Richard Duits

If you create a linker script that would link the RTOS in the first 
flash sector(s) and start the task on a flash sector boundary this may 
be possible. It requires you to know how the linker works and what parts 
of the libraries are being used by your rtos and/or your tasks.

I think the amount of time it costs to get this working will be far more 
than the time you will save programming the microcontroller. Also it 
will not be possible to stop a task, erase and program it via IAP and 
restart the task unless you move a lot of code to sram.

Why do you want to do this?

Regards,
Richard.


a_storic wrote:
Show quoted textHide quoted text
> Is it possible to program the LPC2129 micro for RTOS operation and
> then reprogram a task within the micro RTOS for a new function.
>
> IE program the micro to be a particular function type (set the input
> and output pins, comms Ethernet, CAN, the number of task(program
> parameters for how the input and output will function) and then
> with the IAP program task with the program.
>
> having allocated task at particular memory location within the micro
> then by writing a small code compiled to then be loaded into the micro
> as a defined task within the existing micro program.
>
> ANdrew

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.