Tool/software: Code Composer Studio
Hi,
I'm using EVM C5515 and I'm doing some test with the NOR Flash.
I correctly read and write to the NOR Flash but what I want to do now is define a vector with inizialized values directly on the flash.
I'm using DSP-Bios. I define a NOR section and I define my vector on that area:
Section defined on the .cmd file:
SECTIONS
{
/* program */
.fastcode: load = DARAM
/* data */
.fastdata: load = DARAM
.extdata; load = NOR
}
(DARAM, NOR defined on the .tcf file).
#pragma DATA_SECTION(charcoord, ".extdata");
Uint16 charcoord[10] = {0,1,2,3,4,5,6,7,8,9];
If I do this the vector charcoord is located to 0x40000 (EMIF CS2 - EVMC5515).
What happen if I do this allocation? Does DSP-BIOS let you allocate and use variables on NOR Flash? Once I compile it will I find the initialized vector on the NOR Flash?
What happen if I want to boot from NOR flash (EMIF CS2)?
Thanks