From: Paul F. <fer...@gm...> - 2015-04-17 12:17:06
|
Hey, On Fri, Apr 17, 2015 at 08:08:22AM -0400, Rodrigo Amestica wrote: > At Thu, 16 Apr 2015 14:59:23 +0200 (CEST), > wp1022336-josef wrote: > > I tried to solve this by using the command: > > 'monitor cortex_x maskisr on'but I only get the error message: 'invalid command name "cortex_m"' That's because ICDI is a high-level adapter and they're kind of special in OpenOCD, see below. > In my trying to understand the issue I'm also assuming that for the not so > casual user the way to connect to the tiva tm4c123 would not be through the ICDI > but through the jtag headers that you can see below the mcu that implements ICDI > on the board (I think those are jtag pins) plus a programmer/emulator. I recommend using SWD instead of JTAG for Tiva C debugging (less pins) but the idea is correct (and yes, you can use JTAG too). If you're using an external low-level debugger (that means not ICDI, not STLink) you'll have "maskisr auto" available. Not sure why people do not complain about the same issue with stlink, probably it does something similar internally. 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. One of the reasons you got no response is that openocd-users mailing list is not closely followed by the devs. I'd rather use openocd-devel solely for all the communication. HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |