Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: TI-RTOS
Hi,
I have a question concerning the execution of code in external SRAM.
Configuration:
Target F28M35H52C1 (Cortex-M3 + C2000 DSP) CCS Version: 5.5.0.00077 Compiler TI v5.1.1 IPC 3.10.1.11 SYS/BIOS 6.35.04.50 TI RTOS 1.20.0.28
Hardware is a custom board with F28M35H52C1 processor, 2 Mbyte external SRAM (Alliance Memory AS6C1616-55TIN) and LCD controller (EPSON S1D13742) on EPI bus.
I already use this external SRAM to store GUI images (1Mbyte) and the display buffer (768 Kbytes), and some other sections.
The external SRAM I am using is composed of 1,048,576 words of 16 bits. I configured it using EPI 16-Bit Host Bus (HB-16) Mode, without Byte Selects.
This means that I cannot read or write individual bytes.
Our project is filling the entire space in internal RAM and Flash. The original idea was to put the.bss section in the external SRAM to free some space, which is impossible as we cannot read/write individual bytes but only words of 16 bits. (Original thread: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/683155)
So an other idea is to load code (from SD card for example) in external RAM to execute it. As the instructions are 16bits we would not need access to individual bytes, so it could work.
First, is this doable ?
Then, what would be the steps to implement this solution ?
Thank you in advance for your help.
Yours Sincerely,
Paul Noalhyt