ColdFire V1 / V2 / V3, IAR
embOS for ColdFire was developed for and with IAR Workbench version 1.22D and supports all memory models and CPU variiants offered by this compiler. It comes with easy to use start projects for the IAR Embedded Workbench.
Resources and performance data
| Memory usage | |
|---|---|
| Kernel size (ROM) | approx. 1200 bytes |
| Kernel RAM usage | 38 bytes |
| RAM usage per task control block | 36 bytes |
| RAM usage per resource semaphore | 16 bytes |
| RAM usage per counting semaphore | 8 bytes |
| RAM usage per mailbox | 24 bytes |
| RAM usage per software timer | 20 bytes |
| RAM usage event | 6 bytes |
| Min. stack-size per task (RAM) | 72 bytes |
| Timing | |
| Context switch time | approx. 5.00 µs |
| Interrupt latency time | zero |
| Kernel CPU usage/TICK | less than .2% of total calculation time at 1000 Interrupts/second (1ms TICK) |
| Basic time unit (TICK) | typ. 1 ms, min. 20 µs (50 kHz interrupt frequency) |
| Features | |
| Max. no. of tasks | Unlimited (by available RAM only) |
| Max. no. of mailboxes | unlimited (by available RAM only) |
| Max. no. of semaphores (resource/binary/counting) | unlimited (by available RAM only) |
| Max. no. of software timers | unlimited (by available RAM only) |
| Max. no. of priorities | 255 |
| Stack size idle task (RAM) | 0(no memory needed) |
| Nested interrupts | permitted |
| Task switches from within ISR | possible |
embOSView offers system analysis during runtime

Available Emulators
- Multilink (P&E Micro)
Additional information
Freescale Web site for additional cpu info / support
Board support packages
embOS comes with lots of ready to go start projects and support packages for various ColdFire V1 / V2 / V3 CPUs and starterboards.
| CPU | Eval board |
|---|---|
| Freescale PCF51AC256AVLKE | Axiom DEMOAC AXM-0440 |
| Freescale MCF5222x | Freescale M52223EVB |
| Freescale PCF52233CAF60 | Axiom M52233DEMO |
| Freescale MCF52223AF80 | Freescale MCF52223_SK |
Release notes V3.62c2
- Tool chain used for build
- New features
- Improvements
- Program corrections
- Known problems/limitations
- Release history
- Miscellaneous
Tool chain used for build
The following tools have been used:
Compiler: IAR ICCCF V1.22D Assembler: IAR ACF V1.22D Librarian: IAR XAR V1.03P Workbench: IAR IARIDEPM V5.3.3.780
New features
Version 3.62c1
- Support for all ISA variants added.
embOS now comes with libraries which were compiled with the ISA A, ISA A+, ISA B and ISA C option.
Thus, all ColdFire variants, including V1, V2 and future versions, are supported by embOS now. - Start project for M51AC256 added.
embOS now comes with a ready to go start project fpr the V1 CPU M51AC256 which runs on the DEMOAC starter board.
The project may be downloaded into the internal RAM or Flash using the on board BDM debugger and CSpy. - Update to new embOS sources V3.62c
embOS for ColdFire now is based on embOS version 3.62c whith several new features and improvements.
All modifications of the generic embOS sources are described in the generic release notes.
Version 3.52d
- Support for nestable interrupts.
Version 3.50b
- None.
Improvements
Version 3.50b
- None.
Program corrections
Version 3.62c2
- OS_ISRHandlerNestable corrected
The new handler for nestable interrupts failed when an interrupt occured in a critical section.
The handler delivered a wrong interrupt vector number.
The problem existed in version 3.62c1 of embOS and is fixed with version 3.62c2. - Task switch from interrupt corrected
The previous version of embOS for ColdFire might have crasehd when executing a task switch from interrupt.
The problem occured when a task was interrupted with an un-aligned stack.
The problem existed in version 3.62c1 of embOS and is fixed with version 3.62c2. - Startup file and project for M51AC256 corrected
The M51AC256 CPU needs a reserved area of 20 bytes in Flash
The previous startup code reserved 16 bytes only.
The corresponding linker file has to reserve 20 bytes as CFMCONFIG area, starting from address 0x3FC.
A linker file with correct settings is now delivered with embOS for ColdFire.
The problem existed in version 3.62c1 of embOS and is fixed with version 3.62c2.
Known problems/limitations
Version 3.50d1
- Near memory model not supported
embOS for ColdFire and IAR compiler does not support the near memory model.
Libraries for the near memory model can be built by compiling the sources.
Release history
| Version | Release date | Short explanation |
| V3.62c2 | 07. Mai 2010 | Interrupt handler corrected. |
| V3.62c1 | 22. Feb 2010 | All opcode variants supported. New embOS sources V3.62c |
| V3.52d | 08. Nov 2007 | Support for nestable interrupts. |
| V3.50b | 18. Jul 2007 | First version with release history |
Miscellaneous
This document was first released with version 3.50b of the software.
Software released earlier is documented internally. This information is available at request.
ColdFire V1 / V2 / V3, IAR
