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

Boot file and linker STR91x

Posted by Fabrizio on September 11, 2006
Hi,
I need boot (*.s) and linker file (*.ld) for STR91x, using with GCC. I try with the official file supported by ST, but seem that it doesn't work.
In alternative can i convert these used by IAR in the WebServerDemo for STR91x?
Please help me.I need these file to use in RIDE IDE to convert the IAR webserver demo to GCC.

Thanks.

RE: Boot file and linker STR91x

Posted by Richard on September 11, 2006
The standard file will definitely not work. Your best bet is to take one of the exiting ARM7 boot files and convert that - nearly all of it will be the same.

Things you must ensure are:

1) main() is called from Supervisor mode.
2) IRQ and Supervisor stacks are set up as a minimum. Other stacks need to be setup as used by your application.
3) The IRQ interrupt is setup correctly.

Point 3 is where the ARM7 and ARM9 ports differ. The ARM7 port is setup to jump directly to the vectored address, whereas the ARM9 port is setup to jump to a routine that:

1) Saves the context.
2) Reads the vector address from the interrupt controller.
3) Jumps to the interrupt (which may cause a context switch).
4) Restores the context of whichever task should then be running.

Either technique can be used on either processor (ARM7 or 9), but the portmacro.h file must match the technique used.

Regards.


[ 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