> Can you point me where to get more info about single stepping ? It seems
to me, that it
> is OpenOCD's weakness. Tomorrow I will hopefully get Lauterbach license to
test this
> feature. But truth is that I can not do single stepping on my system with
OpenOCD/gdb.

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0403c/index.h
tml  (required registration to proceed to download has some generic
information I believe)
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0337g/DDI0337G_cortex_m3
_r2p0_trm.pdf 

For our Luminary Micro Stellaris device we use the following

HWREG(NVIC_DBG_INT) |= NVIC_DBG_INT_MON_STEP | NVIC_DBG_INT_MON_EN;

in our software to trigger singelstep in our GDBstub. JTAG probably has its
own interface that can be used.

The naming of registers might be specific to Luminary Micro though

Stian Skjelstad



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to