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.

28027程序下载进flash需要initflash函数和MemCopy

请教将一个运行在RAM中的程序下载到flash中运行,是不是只需要将ramcmd,换成flashcmd就可以了?

还是需要initflash函数和MemCopy两个函数?

#ifdef FLASH  
 MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);

 InitFlash(); // Call the flash wrapper init function
#endif //(FLASH)

麻烦高手赐教,谢谢!