SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By sleepnomore
I am trying to use OpenOCD to support GDB access to my system board's ARM CPU while also using it to access a jtag device in my chip that acts as a bus master and can access everything inside my chip. So, I have an ARM CPU with its tap controller and my jtagdebuger with its own tap controller. I have been able to define the scan chain correctly and have demonstrated that I can access my onchip and on board resources using some basic GDB commands. I have also been able to define a tcl peek and poke commands withing OpenOCD that use the jtag primitive irscan and drscan commands. These both work great and I'm somewhat happy. The problem is, when I try to use them both at the same time it appears that my primitive irscan and drscan commands may get interrupted by other jtag activity (maybe polling of the cpu state?). I'm thinking that the complete irscan and the complete drscan commands may get executed without interruption but my "peek" command consistes of a sequence of an irscan, drscan plus another drscan to read back my data. If the jtag gets used to access another tap controller between my sub-commands, I'm hosed and my peek fails. Likewise with the poke command. I read somewhere that if I put all the irscan and drscan commands on a single line when I define my peek and poke commands, that would "guarantee" that they would get executed in sequence without fail. But, that does not appear to be the case. I'm asking for help in how to insure my commands all get executed correclty or maybe I need to build a new primitive peek and poke command within OpenOCD. I can't believe this is not a common issue, well, at least somewhat common. I'm a hardware designer so please bear with me. All help will be appreciated.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]