Quantcast
Viewing all articles
Browse latest Browse all 262198

Break into CCS debugger from C source code

Is it possible to break into the debugger from source code?

Many processors provide an opcode or trap for this purpose. A few examples:

Blackfin: asm("EMUEXCPT;")

MIPS: _asm__volatile("break %0" : : "i" (512))

ARM Cortex: asm("BKPT #0;")

CR16: asm("excp bpt")

 

BR. Leo.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>