EmbeddedRelated.com
Forums

FreeRTOS + SFE Logomatic (LPC2148 based, running USB bootloader) with demo code for Rowley's Crosswork and Winarm

Started by Jean-Sebastien Stoezel August 11, 2010
Hello,
A few weeks ago I asked the list whether or not anybody had attempted
to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148 based
data logging board, running an USB bootloader. I was having troubles
getting the application code and interrupts relocated in flash, to
take advantage of the USB bootloader.

I eventually got the combination to work (with lots of help from
Rowley's code) and I've posted a tutorial with demo code there:
http://sites.google.com/site/logodynamite/project-updates/multitaskingonthelogomaticv2usingthefreertosrealtimeoperatingsystem

The demo code includes both an example for Winarm and an example for
Crosswork 2 (MAC OS version).

Suggestions, bug reports and comments are welcome.
Jean-Sebastien

An Engineer's Guide to the LPC2100 Series

Hello,
I have created an article that presents a C++ framework that runs on
top of freeRTOS. Using less than 20 lines of code, it enables the
creation of periodic and aperiodic tasks, with limited overhead,
limited RAM/ROM footprint, and there is no hardware configuration
necessary!

I've provided demo code for WinArm (Rowley's version is coming...)
that blinks the logomaticv2 board (LPC2148 based) status LEDs, from 2
tasks. One is periodic (activates at a fixed rate, with minimum
jitter). The other task is activated by commands from the periodic
task. The demo code comes with a configurable logging library that
allows real time reporting/debugging of events through serial port 0.
Much nicer to debug an issue when your program tells you what's wrong
with it!

The article is available here:
http://sites.google.com/site/logodynamite/project-updates/part1agenericcbasedframeworkforrealtimemultitaskingembeddedsystems

Hope this helps anybody with a Logomatic/Uberboard/LPC2148.
As usual, questions, recommendations and bug reports are welcome.
Jean-Sebastien
On Wed, Aug 11, 2010 at 3:48 PM, Jean-Sebastien Stoezel
wrote:
> Hello,
> A few weeks ago I asked the list whether or not anybody had attempted
> to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148 based
> data logging board, running an USB bootloader. I was having troubles
> getting the application code and interrupts relocated in flash, to
> take advantage of the USB bootloader.
>
> I eventually got the combination to work (with lots of help from
> Rowley's code) and I've posted a tutorial with demo code there:
> http://sites.google.com/site/logodynamite/project-updates/multitaskingonthelogomaticv2usingthefreertosrealtimeoperatingsystem
>
> The demo code includes both an example for Winarm and an example for
> Crosswork 2 (MAC OS version).
>
> Suggestions, bug reports and comments are welcome.
> Jean-Sebastien
>
Thanks Jean! Very nice work!

Cheers,

Marcus

On 8/13/10, Jean-Sebastien Stoezel wrote:
> Hello,
> I have created an article that presents a C++ framework that runs on
> top of freeRTOS. Using less than 20 lines of code, it enables the
> creation of periodic and aperiodic tasks, with limited overhead,
> limited RAM/ROM footprint, and there is no hardware configuration
> necessary!
>
> I've provided demo code for WinArm (Rowley's version is coming...)
> that blinks the logomaticv2 board (LPC2148 based) status LEDs, from 2
> tasks. One is periodic (activates at a fixed rate, with minimum
> jitter). The other task is activated by commands from the periodic
> task. The demo code comes with a configurable logging library that
> allows real time reporting/debugging of events through serial port 0.
> Much nicer to debug an issue when your program tells you what's wrong
> with it!
>
> The article is available here:
> http://sites.google.com/site/logodynamite/project-updates/part1agenericcbasedframeworkforrealtimemultitaskingembeddedsystems
>
> Hope this helps anybody with a Logomatic/Uberboard/LPC2148.
> As usual, questions, recommendations and bug reports are welcome.
> Jean-Sebastien
> On Wed, Aug 11, 2010 at 3:48 PM, Jean-Sebastien Stoezel
> wrote:
>> Hello,
>> A few weeks ago I asked the list whether or not anybody had attempted
>> to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148 based
>> data logging board, running an USB bootloader. I was having troubles
>> getting the application code and interrupts relocated in flash, to
>> take advantage of the USB bootloader.
>>
>> I eventually got the combination to work (with lots of help from
>> Rowley's code) and I've posted a tutorial with demo code there:
>> http://sites.google.com/site/logodynamite/project-updates/multitaskingonthelogomaticv2usingthefreertosrealtimeoperatingsystem
>>
>> The demo code includes both an example for Winarm and an example for
>> Crosswork 2 (MAC OS version).
>>
>> Suggestions, bug reports and comments are welcome.
>> Jean-Sebastien
>>
>
Great Marcus, I am glad you enjoyed it!

On Tue, Aug 17, 2010 at 5:27 AM, Marcus Andreotti <
m...@googlemail.com> wrote:

> Thanks Jean! Very nice work!
>
> Cheers,
>
> Marcus
> On 8/13/10, Jean-Sebastien Stoezel >
> wrote:
> > Hello,
> >
> >
> > I have created an article that presents a C++ framework that runs on
> > top of freeRTOS. Using less than 20 lines of code, it enables the
> > creation of periodic and aperiodic tasks, with limited overhead,
> > limited RAM/ROM footprint, and there is no hardware configuration
> > necessary!
> >
> > I've provided demo code for WinArm (Rowley's version is coming...)
> > that blinks the logomaticv2 board (LPC2148 based) status LEDs, from 2
> > tasks. One is periodic (activates at a fixed rate, with minimum
> > jitter). The other task is activated by commands from the periodic
> > task. The demo code comes with a configurable logging library that
> > allows real time reporting/debugging of events through serial port 0.
> > Much nicer to debug an issue when your program tells you what's wrong
> > with it!
> >
> > The article is available here:
> >
> http://sites.google.com/site/logodynamite/project-updates/part1agenericcbasedframeworkforrealtimemultitaskingembeddedsystems
> >
> > Hope this helps anybody with a Logomatic/Uberboard/LPC2148.
> >
> >
> > As usual, questions, recommendations and bug reports are welcome.
> >
> >
> > Jean-Sebastien
> >
> >
> > On Wed, Aug 11, 2010 at 3:48 PM, Jean-Sebastien Stoezel
> > > wrote:
> >> Hello,
> >>
> >>
> >> A few weeks ago I asked the list whether or not anybody had attempted
> >> to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148 based
> >> data logging board, running an USB bootloader. I was having troubles
> >> getting the application code and interrupts relocated in flash, to
> >> take advantage of the USB bootloader.
> >>
> >> I eventually got the combination to work (with lots of help from
> >> Rowley's code) and I've posted a tutorial with demo code there:
> >>
> http://sites.google.com/site/logodynamite/project-updates/multitaskingonthelogomaticv2usingthefreertosrealtimeoperatingsystem
> >>
> >> The demo code includes both an example for Winarm and an example for
> >> Crosswork 2 (MAC OS version).
> >>
> >> Suggestions, bug reports and comments are welcome.
> >>
> >>
> >> Jean-Sebastien
> >>
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>