Quality RTOS & Embedded Software

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




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 ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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