Re: [Openocd-development] [patch 0/2]

2010-04-03 Thread Antonio Borneo
On Sun, Apr 4, 2010 at 9:49 AM, David Brownell wrote: > Net result is CFI improvements plus some cleanup: > > - cleanup some ugliness in target_run_algorithm() > > - building on that cleanup, make it so CFI can do stuff > like loop over algorithms that check setor status, > without invalidat

Re: [Openocd-development] [patch 2/2] target: are we running algorithm code?

2010-04-03 Thread David Brownell
ixing one bug can easily uncover another in this case, making sure that we properly invalidate some cached NOR state when resuming arbitrary target code turned up an issue when the code wasn't quite arbitrary (and we couldn't know that, but some parts of OpenOCD assumed the cache would not be

Re: [Openocd-development] [patch 1/2]simplify and unconfuse target_run_algorithm()

2010-04-03 Thread David Brownell
Subject: From: David Brownell For some reason there were *two* schemes for interposing logic. One is a standard procedural wapper around the target method invocation. The other (superfluous) one hacked the method table by splicing a second procedural wrapper into the method table. Remove the l

[Openocd-development] [patch 0/2]

2010-04-03 Thread David Brownell
Net result is CFI improvements plus some cleanup: - cleanup some ugliness in target_run_algorithm() - building on that cleanup, make it so CFI can do stuff like loop over algorithms that check setor status, without invalidating that status as it's computed The first is pure leanup ... o

Re: [Openocd-development] [PATCH] MMU Support

2010-04-03 Thread Anton Fedotov
Hello, Thanks for your replies. Let me tell a few words about debugging emvironment I've used Devkit8000: http://www.armkits.com/Product/devkit8000.asp It came with Linux preinstalled. From user guide I've taken an example program that makes leds blink and cross-compiled it with debug symbols incl

Re: [Openocd-development] [PATCH] MMU Support

2010-04-03 Thread Dirk Behme
Hi Anton, On 03.04.2010 09:16, Øyvind Harboe wrote: Hi Anton, I can't look until after easter, but it is great to see some work done in this area! Yes, great! :) Hopefully you'll get some good feedback before then and it will be ready to merge soon, so we can get it tested more widely! It

Re: [Openocd-development] [PATCH] MMU Support

2010-04-03 Thread Øyvind Harboe
Hi Anton, I can't look until after easter, but it is great to see some work done in this area! Hopefully you'll get some good feedback before then and it will be ready to merge soon, so we can get it tested more widely! -- Meet us in Paris at rts EMBEDDED SYSTEMS 2010 - March 30. and April 1. h