Skip to Content

FreeRTOS

This post relates to FreeRTOS

Caveats of the MC1322x port of FreeRTOS FreeRTOS MC1322x

I should point out that the port of FreeRTOS to MC1322x has a bit of "brittle" code to handle interrupts. The problem is that this part contains a ROM that holds code to many important functions of the MCU. Freescale does not provide the source code for this ROM. In addition some of this ROM gets "patched" in RAM, and we have no control over this. One place that this becomes a problem is interrupt handling. An interrupt-driven OS like FreeRTOS needs to maintain the exact state of the interrupted task, but the ISR is in ROM.


MC1322x + SMAC + FreeRTOS Eclipse FreeRTOS MC1322x SMAC

So the big news about why I'm restarting this blog is that I've been working on a port of FreeRTOS to the new Freescale MC1322x ARM7 + 802.15.4 radio. This is an awesome part!

The attached file includes two projects in the same folder.

Project 1: An IAR project that will bring up FreeRTOS and SMAC on a Freescale DSK 1322x-SRB. You will see two blinking LEDs: one for task1 and one for task2. Task2 blinks at half the rate of task1.


HCS08 + SMAC + FreeRTOS FreeRTOS SMAC

Three years ago I created a blog post of my port of FreeRTOS to the Freescale HCS08 8-bit architecture. That post was a bit messed up since one of the files was not downloadable. Here is a fixed version of that post (using an easier system that lets me attach files directly to posts.)

------------------------------------------
The text of the old post:

I made SMAC compatible with FreeRTOS for the HCS08 chipset. There are two projects here:

1. The latest FreeRTOS for HCS08: FreeRTOS-3.2.4.hcs08.v3.zip


Syndicate content