// Call Flash Initialization to setup flash waitstates
// This function must reside in RAM
InitFlash();
//
./*** Copy all FLASH sections that need to run from RAM (use memcpy() from RTS library) ***/
// Section secureRamFuncs contains user defined code that runs from CSM secured RAM
MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
// Call Flash Initialization to setup flash waitstates
// This function must reside in RAM
InitFlash();
//
./*** Copy all FLASH sections that need to run from RAM (use memcpy() from RTS library) ***/
// Section secureRamFuncs contains user defined code that runs from CSM secured RAM
memcpy( &secureRamFuncs_runstart,
&secureRamFuncs_loadstart,
&secureRamFuncs_loadend - &secureRamFuncs_loadstart);
//copy from the flash to the ram for change the registers of the flash,
/*** Initialize the FLASH ***/
InitFlash();
哦哦 谢谢啦 我再试试 CMD文件替换就行吧 不用更改吧!
真的不错
一周热门 更多>