FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2007 Threads] STR9 using External SRAMPosted 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 SRAMPosted 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 SRAMPosted 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 .
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|