DSPRelated.com
Forums

Loading from FLASH and running from RAM

Started by ben....@verextech.com September 28, 2005
Hi,

To speed up my application, I am trying to run some .obj files (such as memcpy.obj) on RAM, after loading from FLASH. These .obj files are a part of rts.lib. Here is a snippet from my cmd file:

.text1 : {memset.obj (.text)}
LOAD = FLASH_ABCD, PAGE=0
RUN = RAMH0, PAGE = 0
LOAD_START(_lib_loadstart),
LOAD_END(_lib_loadend),
RUN_START(_lib_runstart)

I am having a problem because the linker states that it cannot find this file! I am getting the following statement:

f2808_nonBIOS_flash.cmd: error: system error, can't open file 'memcpy.obj' I have no problem setting .obj files from my code to run from RAM. (for example I can get my main.obj to run from RAM).

It seems that this may be a syntax problem, but I cannot find the way to refer to an .obj file from a .lib file in the command file.

I would greatly appreciate any kind of assistance.

Many Thanks,
Ben