Yahoo Groups archive

Lpc2000

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

Thread

Urgent IAR EWARM with uCOS-II :-( ?

Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by eng_amrahmed2011

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@...

RE: [lpc2000] Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by Joel Winarske

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.

Re: Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by eng_amrahmed2011

--- In lpc2000@yahoogroups.com, "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@yahoo.com

Re: Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by eng_amrahmed2011

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@yahoogroups.com, "eng_amrahmed2011" 
<eng_amrahmed2011@...> wrote:
>
> --- In lpc2000@yahoogroups.com, "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 
Show quoted textHide quoted text
> 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@...
>

Re: [lpc2000] Re: Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by FreeRTOS Info

> 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

Re: Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by eng_amrahmed2011

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@yahoogroups.com, "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 
Show quoted textHide quoted text
> is the symptom?  Is it a compilation issue?
> 
> Regards,
> Richard.
> 
> http://www.FreeRTOS.org
>

Re: [lpc2000] Re: Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by FreeRTOS Info

> 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

[lpc2000] Kei uVision pin connect block configuration wizard

2006-03-14 by Marko Pavlin

I am using configuration wizards in keil uVision. It's very useful for 
system configuration etc...

Before I start writing bits for PINSEL0&1 I would like to know if anyone 
already written configuration wizard for pin connect block, for, e.g. 
LPC2138?

M.

RE: [lpc2000] Re: Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by Joel Winarske

> 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.

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.