Reply by sashi ono January 28, 20072007-01-28
--- In l..., "sashi ono" wrote:
>
> --- In l..., "sashi ono" wrote:
> >
> > --- In l..., "FreeRTOS.org Info" wrote:
> > >
> > >
> > > ----- Original Message -----
> > > From: "Steven P. Donegan"
> > > To:
> > > Sent: Thursday, January 25, 2007 12:34 PM
> > > Subject: Re: [lpc2000] Freertos and Lpc23xx
> > >
> > >
> > > > This is on my list of must-do items for a little project I'm
> > working on.
> > > > If/when you resolve this would you post the diff's or the complete
> > > > project to the FreeRTOS folks and/or let me know - thanks!
> > > >
> > > > On Thu, 2007-01-25 at 07:57 +0000, sashi ono wrote:
> > > >> I'm have a really heck of a time trying to get freertos to run
> on the
> > > >> lpc23xx series. I've ported it the lpc2129, lpc2148 parts
without a
> > > >> problem. Is there something I should be aware with on the lpc2300
> > > >> series. It seems to treat interrupts differently.
> > > >> Any insight would be great.
> > > >>
> > > >> I'm using gcc. tried it with gcc 3 and 4.
> > >
> > > Unfortunately I have no experience with the 23xx parts....yet. I
> > will get
> > > around to this very shortly.
> > >
> > > Regards,
> > > Richard.
> > >
> > > + http://www.FreeRTOS.org
> > > + http://www.SafeRTOS.com
> > > for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
> > > Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
> > > .... and soon AVR32
> > >
> >
> > Maybe you can help me out Richard (or anyone)
> > I have tried some more debugging with freertos and the LPC2178. Here
> > is the issue. it seems that whenever I call vTaskDelay(x); the rtos
> > gets messed up. of any other OS call, just focusing on vTaskDelay for
> > now.
> > I can run a single task with no os blocking calls and it runs.
> > if I run two task each with one vTaskDelay(); it jumps back and forth
> > between the tasks but it seems without any os delay. If I try more
> > than one vTaskDelay the whole thing locks up.
> > Does any of this point you to anything I should be looking at?
> > Ok got freertos running on the lcp2378 MCB2300 evaluation board using
> the GCC compiler.
> Two issues.
> the startup file. I stole the working lwIP files on the forum. porting
> existing files from lpc21xx series didn't work for me.
> and the timers are a bit different. (for some reason VICVectAddr0 is
> not working for me. i had to use VICVectAddr4
>
> I'll post something in the lpc files area once i clean things up a bit.
>

ok the file is in this folder
http://tech.groups.yahoo.com/group/lpc2000/files/FreeRTOS/

also Added in lwIP, thanks to Kurt who posted the lwIPWeb.zip file :)

any lwIP experts here want to convert lwIP it to the OS version with
multi-threading.

An Engineer's Guide to the LPC2100 Series

Reply by sashi ono January 28, 20072007-01-28
--- In l..., "sashi ono" wrote:
>
> --- In l..., "FreeRTOS.org Info" wrote:
> >
> >
> > ----- Original Message -----
> > From: "Steven P. Donegan"
> > To:
> > Sent: Thursday, January 25, 2007 12:34 PM
> > Subject: Re: [lpc2000] Freertos and Lpc23xx
> >
> >
> > > This is on my list of must-do items for a little project I'm
> working on.
> > > If/when you resolve this would you post the diff's or the complete
> > > project to the FreeRTOS folks and/or let me know - thanks!
> > >
> > > On Thu, 2007-01-25 at 07:57 +0000, sashi ono wrote:
> > >> I'm have a really heck of a time trying to get freertos to run
on the
> > >> lpc23xx series. I've ported it the lpc2129, lpc2148 parts without a
> > >> problem. Is there something I should be aware with on the lpc2300
> > >> series. It seems to treat interrupts differently.
> > >> Any insight would be great.
> > >>
> > >> I'm using gcc. tried it with gcc 3 and 4.
> >
> > Unfortunately I have no experience with the 23xx parts....yet. I
> will get
> > around to this very shortly.
> >
> > Regards,
> > Richard.
> >
> > + http://www.FreeRTOS.org
> > + http://www.SafeRTOS.com
> > for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
> > Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
> > .... and soon AVR32
> > Maybe you can help me out Richard (or anyone)
> I have tried some more debugging with freertos and the LPC2178. Here
> is the issue. it seems that whenever I call vTaskDelay(x); the rtos
> gets messed up. of any other OS call, just focusing on vTaskDelay for
> now.
> I can run a single task with no os blocking calls and it runs.
> if I run two task each with one vTaskDelay(); it jumps back and forth
> between the tasks but it seems without any os delay. If I try more
> than one vTaskDelay the whole thing locks up.
> Does any of this point you to anything I should be looking at?
>

Ok got freertos running on the lcp2378 MCB2300 evaluation board using
the GCC compiler.
Two issues.
the startup file. I stole the working lwIP files on the forum. porting
existing files from lpc21xx series didn't work for me.
and the timers are a bit different. (for some reason VICVectAddr0 is
not working for me. i had to use VICVectAddr4

I'll post something in the lpc files area once i clean things up a bit.
Reply by sashi ono January 27, 20072007-01-27
--- In l..., "FreeRTOS.org Info" wrote:
> ----- Original Message -----
> From: "Steven P. Donegan"
> To:
> Sent: Thursday, January 25, 2007 12:34 PM
> Subject: Re: [lpc2000] Freertos and Lpc23xx
> > This is on my list of must-do items for a little project I'm
working on.
> > If/when you resolve this would you post the diff's or the complete
> > project to the FreeRTOS folks and/or let me know - thanks!
> >
> > On Thu, 2007-01-25 at 07:57 +0000, sashi ono wrote:
> >> I'm have a really heck of a time trying to get freertos to run on the
> >> lpc23xx series. I've ported it the lpc2129, lpc2148 parts without a
> >> problem. Is there something I should be aware with on the lpc2300
> >> series. It seems to treat interrupts differently.
> >> Any insight would be great.
> >>
> >> I'm using gcc. tried it with gcc 3 and 4.
>
> Unfortunately I have no experience with the 23xx parts....yet. I
will get
> around to this very shortly.
>
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> + http://www.SafeRTOS.com
> for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
> Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
> .... and soon AVR32
>

Maybe you can help me out Richard (or anyone)
I have tried some more debugging with freertos and the LPC2178. Here
is the issue. it seems that whenever I call vTaskDelay(x); the rtos
gets messed up. of any other OS call, just focusing on vTaskDelay for
now.
I can run a single task with no os blocking calls and it runs.
if I run two task each with one vTaskDelay(); it jumps back and forth
between the tasks but it seems without any os delay. If I try more
than one vTaskDelay the whole thing locks up.
Does any of this point you to anything I should be looking at?
Reply by Steven Donegan January 25, 20072007-01-25
I am using the Olimex LPCH2138 board which appears to have everything the LPC2106 board has on it (and that board runs FreeRTOS just peachy). The LPCH2138 board is what I am basing my little project on.

"FreeRTOS.org Info" wrote:
----- Original Message -----
From: "Steven P. Donegan"
To:
Sent: Thursday, January 25, 2007 12:34 PM
Subject: Re: [lpc2000] Freertos and Lpc23xx

> This is on my list of must-do items for a little project I'm working on.
> If/when you resolve this would you post the diff's or the complete
> project to the FreeRTOS folks and/or let me know - thanks!
>
> On Thu, 2007-01-25 at 07:57 +0000, sashi ono wrote:
>> I'm have a really heck of a time trying to get freertos to run on the
>> lpc23xx series. I've ported it the lpc2129, lpc2148 parts without a
>> problem. Is there something I should be aware with on the lpc2300
>> series. It seems to treat interrupts differently.
>> Any insight would be great.
>>
>> I'm using gcc. tried it with gcc 3 and 4.

Unfortunately I have no experience with the 23xx parts....yet. I will get
around to this very shortly.

Regards,
Richard.

+ http://www.FreeRTOS.org
+ http://www.SafeRTOS.com
for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
.... and soon AVR32
Reply by "FreeRTOS.org Info" January 25, 20072007-01-25
----- Original Message -----
From: "Steven P. Donegan"
To:
Sent: Thursday, January 25, 2007 12:34 PM
Subject: Re: [lpc2000] Freertos and Lpc23xx
> This is on my list of must-do items for a little project I'm working on.
> If/when you resolve this would you post the diff's or the complete
> project to the FreeRTOS folks and/or let me know - thanks!
>
> On Thu, 2007-01-25 at 07:57 +0000, sashi ono wrote:
>> I'm have a really heck of a time trying to get freertos to run on the
>> lpc23xx series. I've ported it the lpc2129, lpc2148 parts without a
>> problem. Is there something I should be aware with on the lpc2300
>> series. It seems to treat interrupts differently.
>> Any insight would be great.
>>
>> I'm using gcc. tried it with gcc 3 and 4.

Unfortunately I have no experience with the 23xx parts....yet. I will get
around to this very shortly.

Regards,
Richard.

+ http://www.FreeRTOS.org
+ http://www.SafeRTOS.com
for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
.... and soon AVR32
Reply by "Steven P. Donegan" January 25, 20072007-01-25
This is on my list of must-do items for a little project I'm working on.
If/when you resolve this would you post the diff's or the complete
project to the FreeRTOS folks and/or let me know - thanks!

On Thu, 2007-01-25 at 07:57 +0000, sashi ono wrote:
> I'm have a really heck of a time trying to get freertos to run on the
> lpc23xx series. I've ported it the lpc2129, lpc2148 parts without a
> problem. Is there something I should be aware with on the lpc2300
> series. It seems to treat interrupts differently.
> Any insight would be great.
>
> I'm using gcc. tried it with gcc 3 and 4.
>
Reply by sashi ono January 25, 20072007-01-25
I'm have a really heck of a time trying to get freertos to run on the
lpc23xx series. I've ported it the lpc2129, lpc2148 parts without a
problem. Is there something I should be aware with on the lpc2300
series. It seems to treat interrupts differently.
Any insight would be great.

I'm using gcc. tried it with gcc 3 and 4.