Other Parts Discussed in Thread: C2000WARE,
Hi,
When to enable or disable DBGM?
Thanks,
Sid c
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.
Hi,
When to enable or disable DBGM?
Thanks,
Sid c
Hi Sid,
I am not familiar with the DBGM acronym, could you please clarify what this means?
Best Regards,
Ben Collier
Hi,
Please find some reference links: TMS320C28x CPU and Instruction Set (Rev. F) and snippet of code below:
//
// Define to disable debug events
//
#ifndef DRTM
#define DRTM __asm(" setc DBGM")
#endif
Thanks,
Sid C
Hi,
Thank you for the link. It looks like this is meant to be set for any code that you do not want to be interrupted by the JTAG debug probe when you are debugging your program. Is there a piece of your program that you do not want interrupted?
Best Regards,
Ben Collier
Hi,
Actually I have one code found from : C:\ti\c2000\C2000Ware_4_02_00_00\driverlib\f2837xd\examples\cpu1\led, where he has used ERTM after EINT ( global interrupt ), so basically, using the above example , like I have implemented same which considers:
1. uart peripheral rx interrupt initialization
2. internal flash api for program and erase single word
3. timer interrupt
So Initially in main() function before starting while(1) we just initialize all peripherals, clocks, interrupts and do EINT then ERTM. We also take care of disabling the global interrupt by using DINT, while performing the flash API access.
So when I perform debugging on TMS320F28379D Evaluation Board through mini USB, I found the step in at any of the statements goes infinity and cannot understand what is happening, and this is recurssively happening like we restart again and again debugging.
Thanks,
Sid C
Hi Sid,
So is your question about how to step through your ISRs in the CCS Debug View?
Best Regards,
Ben Collier
Sid,
Could you check your settings when you right click on your project then select properties->debug->Program/Memory load options ?
Could you please check if you can resolve your issue by modifying these settings?
Best Regards,
Ben Collier