Forums

How to change demo example in RTOS

Started by pradeep May 6, 2008
Hi frnds
I am trying to change the demo program given in freeRTOS for
ARM7_LPC2129_Keil port
I was able to compile it with the modifications
while in simulation
timer0 is generating interrupt
but execution is not switching to ISR
I think i have to modify startup.s
can anybody suggest

Plz reply soon

Thanks
Pradeep Appala

An Engineer's Guide to the LPC2100 Series

>
> Hi frnds
> I am trying to change the demo program given in freeRTOS for
> ARM7_LPC2129_Keil port
> I was able to compile it with the modifications
> while in simulation
> timer0 is generating interrupt
> but execution is not switching to ISR
> I think i have to modify startup.s
> can anybody suggest

Were you able to get the timer interrupt working in the simulator before you
made the changes? What changes did you make?

Regards,
Richard.

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

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

Hi,

Did you enable interrupts in the cpsr register too?

-win

--- In l..., "pradeep" wrote:
>
> Hi frnds
> I am trying to change the demo program given in freeRTOS for
> ARM7_LPC2129_Keil port
> I was able to compile it with the modifications
> while in simulation
> timer0 is generating interrupt
> but execution is not switching to ISR
> I think i have to modify startup.s
> can anybody suggest
>
> Plz reply soon
>
> Thanks
> Pradeep Appala
>

Hi Frnds
Thanks for the reply
i am uploading the file with name FreeRTOS_changeindemo.rar
http://f1.grp.yahoofs.com/v1/QCkhSC5T-nbCca5EbkoXzCUHllfB8RwFl_4K9oiy-wGSpz3loj8GWwp2bYAIKC1SOBds-CbOOH_IXGcCi9GgmW-_mKzpVKZ51DlqKA/FreeRTOS_changeindemo.rar

In demo/lpc2129_keil/ there is ARM demo project i have added my
software uart code to it
modifications to the demo from site are
1)i have removed serial.c and comtest.c, since code size is increasing
above 16k
2)changes in main.c , included virtualuart.h in main

about virutaluart.h
i am trying to use p0.8,p0.9 as pins for software uart (Tx and Rx pins)
if u run simulator u can easily get to know what i am doing

Thanks in advance
Pradeep