Hello,
I am creating new project. And after compiling, loading and running code in debug mode the error message " Device blocked debug access because it is currently executing non-debuggable code " is appeared on the screen. This is the problem I faced mostly when new project is created. What can be the problem?
These are the some settings of CCS projects.
- device support / f2802x / v125/ DSP282x_Common / Cmd / F28027.cmd file is used.
- device support / f2802x / v125/ DSP282x_Heades / Cmd / DSP2802x_Headers_nonBIOS.Cmd is used
interrupt settings are
EALLOW; // This is needed to write to EALLOW protected registers
PieVectTable.TINT0 = &MainISR;
EDIS; // This is needed to disable write to EALLOW protected registers
// Enable PIE group 1 interrupt 7 for TINT0
PieCtrlRegs.PIEIER1.all = M_INT7;
// Enable CPU INT1 for TINT0:
IER |= M_INT1;
// Enable Global realtime interrupt DBGM
include options are
"C:\ti\controlSUITE\device_support\f2802x\v125\DSP2802x_common\include"
"C:\ti\controlSUITE\device_support\f2802x\v125\DSP2802x_headers\include"
"C:\ti\controlSUITE\development_kits\~SupportFiles\F2802x_headers"
"C:\ti\controlSUITE\libs\app_libs\motor_control\drivers\f2802x_v2.0"
"C:\ti\controlSUITE\libs\app_libs\motor_control\math_blocks\v4.2"
"C:\ti\controlSUITE\libs\math\IQmath\v15c"
Device is f28027 piccolo micro and system clock is 60Mhz.
