From: Spencer O. <sp...@sp...> - 2015-04-17 15:45:16
|
On 17/04/15 13:23, Paul Fertser wrote: > On Fri, Apr 17, 2015 at 03:16:54PM +0300, Paul Fertser wrote: >> If you're interested in making ICDI more useful, you can try to see >> how cortex_m.c implements "maskisr auto" mode and add something >> similar in hla_target.c. > > After reading some more, I see stlink driver just always masks > interrupts when stepping (as in "maskisr on"). And with ICDI it's not > clear how to properly implement this, DCB_DHCSR is not directly > accessible I'm afraid. > > If somebody knows that it can work with ICDI with vendor firmware, > please use Wireshark to record USB communication and share the dump, > we can proceed from there. > Just had a quick look at the original TI docs that were sent and it mentions a 'stepirq' command that may be worth a try. hla_command stepirq 0 https://docs.google.com/uc?export=download&id=0Bzv7UpKpOQhnWDFfSENySkJfdW8 Spen |