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.

再使用库函数分配GSRAM下载程序时出现C28xx_CPU2: Error setting the GSxMSEL register for Flash operations



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时会出现错误!

实在不明白这个时为什么?