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.

TMS320F280049: 程序无法设置断点问题

Part Number: TMS320F280049


将此段代码从28335移植到280049,在如下asm代码行无法设置断点,但在28335里可以设置断点,请问是什么原因?

#pragma CODE_SECTION(MainSwitch, "Flash28Funcs"); 
void MainSwitch(void)
{

// 完成c运行环境初始化
asm(" MOV @SP,#0x0000");
asm(" SPM 0");
asm(" SETC OBJMODE");
asm(" CLRC AMODE");
asm(" SETC M0M1MAP");
asm(" CLRC PAGE0");
asm(" SETFLG RNDF32=1");
asm(" MOVW DP,#0x0000");
asm(" CLRC OVM");
asm(" ASP");


if(*((Uint16 *) 0x097FFF) == 0x55FF) 
{
    asm(" LB 097FFCH");
}
else

{
    Drv_SystemInit();
   Drv_RamCheck();

}