Re: [OpenOCD-devel] reg command with no arguments - can it be forced to read from hardware

2014-01-27 Thread Adrian Burns
On Mon, Jan 27, 2014 at 5:52 PM, Paul Fertser wrote: > On Mon, Jan 27, 2014 at 05:27:13PM +0000, Adrian Burns wrote: > > and then user can request the full set (~60) through the 'reg force' > command > > later on if needed > > > That would be very unusua

Re: [OpenOCD-devel] reg command with no arguments - can it be forced to read from hardware

2014-01-27 Thread Adrian Burns
On Mon, Jan 27, 2014 at 5:09 PM, Paul Fertser wrote: > On Mon, Jan 27, 2014 at 04:59:18PM +0000, Adrian Burns wrote: > > hadn't spotted that, it works for one register at a time ('reg 0 force') > rather > > than ('reg force') to get them all in one go

Re: [OpenOCD-devel] reg command with no arguments - can it be forced to read from hardware

2014-01-27 Thread Adrian Burns
On Fri, Jan 24, 2014 at 12:09 PM, Spencer Oliver wrote: > On 22 January 2014 18:29, Adrian Burns wrote: > > hi, > > > > I see the 'reg' command by itself reads from the targets reg_cache buffer > > without calling into target hardware. > > Is there

[OpenOCD-devel] reg command with no arguments - can it be forced to read from hardware

2014-01-22 Thread Adrian Burns
hi, I see the 'reg' command by itself reads from the targets reg_cache buffer without calling into target hardware. Is there any hook to force the 'reg' command to call into the target specific code and read the registers from actual hardware (and of course updating reg_cache with latest hardware

Re: [OpenOCD-devel] adding support for a new cpu architecture in openocd

2013-10-16 Thread Adrian Burns
Andreas, thanks for the reply, debug implementation (x86 probemode for Quark) is pretty straightforward thankfully :) I will get the code ready and do a cleanup as its been a few months since i wrote it. x86 (IA-32) has port mapped IO (16 bits) as well as memory mapped IO so i followed what was do

[OpenOCD-devel] adding support for a new cpu architecture in openocd

2013-10-04 Thread Adrian Burns
follow with patches for remaining features and bugfixes later, is this ok? many thanks, Adrian Burns +353868813240 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance

Re: [OpenOCD-devel] faster way to do ir/dr scanning ?

2013-06-17 Thread Adrian Burns
he "reg" command read from the target registers then i can postpone time consuming register reads/writes that happen at halt/resume time thank you On Mon, Jun 17, 2013 at 8:50 PM, Andreas Fritiofson < andreas.fritiof...@gmail.com> wrote: > > > > On Mon, Jun 17, 2013

[OpenOCD-devel] faster way to do ir/dr scanning ?

2013-06-17 Thread Adrian Burns
hi, a newbie here, using flyswatter2 and olimex arm debuggers working with openocd 6.1 codebase in order to read back some registers i have to issue a number of ir/dr scans to my tap chain and its working fine but im looking at ways to speed it up if possible so im calling jtag_add_ir_scan() and