This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

copying .bios section from flash to ram on 28335 bios 5.41.11.38

Hi,

I am working with the 28335 and using bios 5.41. I have a number of tasks and other code working from RAM using the Jtag loading methods. I am not working to get the code to load from Flash and run in RAM. I have some of the code being moved from flash to RAM based on SPRA958. This still leaves the .bios section in Flash.  I created the following command file information:

.bios: LOAD = FLASH, PAGE = 0
RUN =  L03SARAM, PAGE = 0
RUN_START(_bios_runstart),
LOAD_START(_bios_loadstart),
LOAD_END(_bios_loadend)

but I get this when i am linking...

<Linking>
"NextGenDsp_flashcfg.s28", line 3433: warning #17003-D: relocation from
   assembly code range "$NextGenDsp_flashcfg.s28:3432:3468$" to symbol
   "_FXN_F_nop" overflowed; the 23-bit relocated address 0xd05304 is too large
   to encode in the 16-bit signed PC-Relative field (type = 'R_ANKPCR16' (98),
   file = "./NextGenDsp_flashcfg.obj", offset = 0x0000000c, section =
   ".sysinit")
warning #10015-D: output file "NextGenDsp_Debug_Flash.out" cannot be loaded and
   run on a target system
'Finished building target: NextGenDsp_Debug_Flash.out'
' '

if I remove the information above from the CMD file... everything works.

I have looked at all the documentation I can find(there may be more I have missed) but have not see a way to do this fully explained.

What can be done to copy the .bios section to run from RAM.

I am wanting to have as much of the bios and critical code run from internal RAM and then will have some code run from external RAM and then the low priority code from Flash.

Caleb