Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


MAC7111 with IAR Embedded 4.30A

Posted by Nobody/Anonymous on January 10, 2006
Is possible to use one ARM port of FREERTOS with the Friscale MAC71xx ARM processor or must I port the RTOS to that CPU? Wich ARM version is better? I use IAR 4.30A for programming.

Best regards.

RE: MAC7111 with IAR Embedded 4.30A

Posted by Nobody/Anonymous on January 10, 2006
The MAC711xx is an ARM7TDMI so you can base your project on an existing code base, but some minor tasks are necessary.

1/ You can see which files are required by looking at an existing IAR ARM7 project. The startup code you require has to be correct for the MAC7111 of coarse. In addition you need to check that the startup code sets up stacks for the Supervisor and IRQ modes AND that main() is called in Supervisor mode (otherwise the scheduler will not start correctly). Note that only the tasks.c, list.c, queue.c and port.c are actually the scheduler. The other files are just part of the demo.

2/ prvSetupHardware() in main() can be used to setup any peripherals specific to processor if necessary.

3/ partest.c is used to flash LED's. This would need to toggle the correct IO pins for your hardware if you want to run the demo applications included in the FreeRTOS download.

4/ FreeRTOSConfig.h needs to be set correctly for your hardware. In particular the clock frequency.

5/ prvSetupTimerInterrupt() in port.c has to be setup for the mac7111 timer peripheral, and the ISR placed correctly within the interrupt controller.

Basically - the hardware setup for your board needs changing - the core scheduler code is the same across all ARM7TDMI devices.


RE: MAC7111 with IAR Embedded 4.30A

Posted by Nobody/Anonymous on January 10, 2006
Tank you, I'll working on.

RE: MAC7111 with IAR Embedded 4.30A

Posted by Nobody/Anonymous on June 26, 2006
Reading this thread I've just succedeed to make FreeRTOS 4.0.0 run on a Freescale MAC7111 device.

I began from LPC2106 port with GCC. The main problem was/is the vectored interrupt controller which is not available on the mac7111. This one has a powerful interrupt controller but not vectored. I had to read the interrupt source from software and then jump to the correct ISR.
Now the demo application is running fine on a low cost evaluation board from freescale, with the leds and the serial line. I'm in a preliminary stage. Is there someone interested in it?

RE: MAC7111 with IAR Embedded 4.30A

Posted by Nobody/Anonymous on June 26, 2006
How does the interrupt controller work then? Just a single interrupt after which you have to poll the peripherals?

I notice in the STR9 port the interrupts are handled differently. The context is saved by a single handler, before reading the jump address. This seems neat.

RE: MAC7111 with IAR Embedded 4.30A

Posted by acehigh1971 on June 26, 2006
Opened a new thread <a href=https://sourceforge.net/forum/forum.php?thread_id=1525228&forum_id=382005>here</a> because this is off topic.

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists