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.
void main(void)
{
int16_t i;
float error;
Device_init(); // Initialize device clock and peripherals
MemCfg_setGSRAMMasterSel((MEMCFG_SECT_GS10),MEMCFG_GSRAMMASTER_CPU2);
//MemCfg_setGSRAMMasterSel((MEMCFG_SECT_GS12 |MEMCFG_SECT_GS13 | MEMCFG_SECT_GS14 | MEMCFG_SECT_GS15),MEMCFG_GSRAMMASTER_CPU2);
#ifdef _STANDALONE
#ifdef _FLASH
Device_bootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH); // Send boot command to allow the CPU2 application to begin execution
#else
Device_bootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_RAM); // Send boot command to allow the CPU2 application to begin execution
#endif
#endif
编译程序时没有异常但是下载程序时出现错误C28xx_CPU2: Error setting the GSxMSEL register for Flash operations
我分配GSRAM12,GSRAM13,GSRAM14,GSRAM15的时候没有出现这种报警,但是当我分配GSRAM9,GSRAM10,GSRAM11时会出现错误!
实在不明白这个时为什么?
已经收到了您的私信,请问您给出的工程是已经编译通过的吗?我这边编译的话,有很多错误
另外需要注意
1 当您尝试在CPU2上下载代码时,请确保CPU1已连接并暂停
2 当需要在线调试CPU2时,请确保CPU1正在运行。