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

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

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

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

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Mediatek

Renesas

RISC-V

SiFIve RISC-V

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