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




Loading

Port to LPC2214

Posted by George M. Gallant, Jr. on February 19, 2006
I am attempting to port FreeRTOS to an Olimex LPC-H2214 board. Looking at the existing LPC
ports I detect a problem during startup. The mode
is changed from:

SVC -> UND -> ABT -> FIQ -> IRQ -> SCV-> SYS -> SCV

Accoding to the ARM docs, once the mode is changed to SYS or USER only and exception can change the mode. Thus, the last mode change should fail.

George

RE: Port to LPC2214

Posted by Nobody/Anonymous on February 19, 2006
According to my out of date copy of the ARM ARM "The modes other than *User* mode are known as privileged modes. They have full access to system resources and can change mode freely".

This would seem to suggest, contrary to your post, that a SYS->SCV mode change is possible. I think this must be the case as my understanding from other posts here is that the OS can only be started from SVC mode. If the switch back to SVC did not work the OS would not work.

Can you step through the code and confirm this is the case? Where did you read that a SYS->SCV cannot occur?


[ 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