> Thanks for your reply,
>
> it didn't work :-(
This same code was running on an Olimex LPC2129 board over a month ago, no
problem.
>
> What is IAR version you use ?
4.30A
>
> what can i do more than that?
The code you posted initially had a while(1) in your timer interrupt.
My suggestion is download Micrium application note again.
Do-not-change-anything in any of the files. Extract the .rar I sent you,
and overwrite appropriate directories. It will work by pressing debug if
you use J-Link.
> My problem is not in the compilation.
>
> I compile the project with No errors and No warnings.
>
> My problem there is no multitasking.
>
> Cause i think the timer0 interrupt is not working.
>
> I set breakpoint at T0IR = 0xff;
>
> void Tmr_TickISR_Handler (void)
> {
> T0IR = 0xFF; /* Clear timer #0
> interrupt */
> OSTimeTick(); /* If the interrupt is from
> the tick source, call OSTimeTick() */
> VICVectAddr = 0;
> }
>
> But no thing happen and there are no response in the leds.
>
Maybe too obvious but sometimes the obvious can catch us out, have you:
+ Stepped through the timer setup code.
+ Made sure the correct header files are included (to get register addresses
correct).
+ Checked that interrupts are (globally) enabled.
Regards,
Richard.
http://www.FreeRTOS.org
Reply by eng_amrahmed2011●March 14, 20062006-03-14
My problem is not in the compilation.
I compile the project with No errors and No warnings.
My problem there is no multitasking.
Cause i think the timer0 interrupt is not working.
I set breakpoint at T0IR = 0xff;
void Tmr_TickISR_Handler (void)
{
T0IR = 0xFF; /* Clear timer #0
interrupt */
OSTimeTick(); /* If the interrupt is from
the tick source, call OSTimeTick() */
VICVectAddr = 0;
}
But no thing happen and there are no response in the leds.
AmR
--- In lpc2000@lpc2..., "FreeRTOS Info" <nospam@...> wrote:
>
> > Thanks for your reply,
> >
> > it didn't work :-(
> >
> > What is IAR version you use ?
> >
> > what can i do more than that?
>
>
> You could start by providing some information on what your problem
is. What
> is the symptom? Is it a compilation issue?
>
> Regards,
> Richard.
>
> http://www.FreeRTOS.org
>
Reply by FreeRTOS Info●March 14, 20062006-03-14
> Thanks for your reply,
>
> it didn't work :-(
>
> What is IAR version you use ?
>
> what can i do more than that?
You could start by providing some information on what your problem is.
What
is the symptom? Is it a compilation issue?
Regards,
Richard.
http://www.FreeRTOS.org
Reply by eng_amrahmed2011●March 14, 20062006-03-14
Thanks for your reply,
it didn't work :-(
What is IAR version you use ?
what can i do more than that?
Please help,
AmR
--- In lpc2000@lpc2..., "eng_amrahmed2011"
<eng_amrahmed2011@...> wrote:
>
> --- In lpc2000@lpc2..., "Joel Winarske" <joelw@> wrote:
> >
> > The day you posted the uC/OS-II source code to this group I
emailed
> you
> > example working project for Olimex LPC2129, uC/OS-II, and IAR;
not
> including
> > OS source.
> >
> > Did you try this code? If not check your email.
> >
>
> Pleaaaaaaaaase can you resend the file again.
>
> Thanks SO much
>
> eng_amrahmed2011@...
>
Reply by eng_amrahmed2011●March 14, 20062006-03-14
Salam,
Urgent, I need help :-(
I can't get uCOS-II work with IAR (for ARM)
Can you please send any ready project that works with these boards
(or any LPC2000)
MCB2100
MCB2130
Olimex LPC2129
I use IAR EWARM 4.31A
Project at
http://groups.yahoo.com/group/lpc2000/files/uCOS-II/
Or
Can you take look to my project and tell me what is the wrong ?
Note: I removed the uCOS-II source code from this project.
C:\MICRIUM\SOFTWARE\uCOS-II\Source (Put your uCOS-II here)
uCOS-II version should be 2.67 or up.
Thanks for any help
eng_amrahmed2011@eng_...