Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

STR9 using External SRAM

Posted by Paul on October 2, 2007
I am using STR912 and I have a external SRAM with 512KBytes.
Now I can read/write the external SRAM , but I cannot run my FreeRTOS kernel using external SRAM.

I modified the lnkarm_flash.xcl , but it cannot work :

// Data memory

-DRAMSTART=0x4000000
-DRAMEND=0x4018000
-DEXT_RAMSTART=0x38000000
-DEXT_RAMEND=0x38018000

//************************************************
// Data segments.
//************************************************

-Z(DATA)DATA_I=RAMSTART-RAMEND
-Z(DATA)DATA_Z,DATA_N=EXT_RAMSTART-EXT_RAMEND


I'm using IAR to develop my project , and using EMI bank 1 for SRAM.
Are there any other file need to modify ?

RE: STR9 using External SRAM

Posted by Richard on October 2, 2007
Sorry I have never tried using external RAM on the STR9. I would have thought that setting up the memory controller interface and adjusting the linker script would be all that was required. Are you still putting the stacks in the internal RAM?

Regards.

RE: STR9 using External SRAM

Posted by Paul on October 2, 2007
Yes, I still put stacks in internal RAM .

I only add EMI initial code in 91x_init.s ( before jump to main ) ,
and modify the linker script file .


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


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

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

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner