Re: [Openocd-development] AT91SAM9260/AT91SAM9G20 Progress

2009-08-28 Thread Øyvind Harboe
Could you post your config scripts? -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-deve

[Openocd-development] Who is using a teletype terminal for code development ?

2009-08-28 Thread Magnus Lundin
Hello list. Maybe this is my fault that I have not paid enogh attention to some of the style discussions. But I have stopped to regularily print out code before working on it, and my screen can easily support 1000-1200 pixel wide edit windows. That is 120-140 characters before line wrapping. S

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread David Brownell
On Friday 28 August 2009, Magnus Lundin wrote: > The really important thing now is  that there are several  people > working on and testing these things. Yep; I did a sanity check on one 3430 board and it was already improved over what I first saw! __

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Magnus Lundin
Sorry for double responses but it is getting late and my brain is going to sleep on its own. > Holger Freyther wrote: > > I sincerely disagree here. These bits directly come out of the Cortex A8 > Technical Reference Manual and not following them is not making things fast > but it makes them

[Openocd-development] AT91SAM9260/AT91SAM9G20 Progress

2009-08-28 Thread Gary Carlson
Hi Ferdinand, I have managed to work through most of my problems with ³reset init² on the AT91SAM9G20-EK board. The unstable behavior I suffered through the last couple of weeks appears to now be confirmed as configuration issues in certain registers that are set by the vanilla AT91SAM9260 target

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Magnus Lundin
Holger Freyther wrote: > On Friday 28 August 2009 19:28:50 Magnus Lundin wrote: > > >> The usual way for OpenOCD targets to check if a PROCESSOR_HALTED flag >> has been set is not to do it in the halt command but rather in the poll >> command. >> This in general improves performance when using l

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Holger Freyther
On Friday 28 August 2009 19:28:50 Magnus Lundin wrote: > The usual way for OpenOCD targets to check if a PROCESSOR_HALTED flag > has been set is not to do it in the halt command but rather in the poll > command. > This in general improves performance when using long roundtrip > interfaces like USB

[Openocd-development] [PATCH] stellaris programming info msg

2009-08-28 Thread Spencer Oliver
Hi, Attached patch fixes the incorrect info msg displayed during stellaris flash programming. Cheers Spen stellaris.patch Description: Binary data ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailm

[Openocd-development] [PATCH]cortex debugmsgs regression

2009-08-28 Thread Spencer Oliver
Hi, Attached is a small patch that fixes a regression when using the emulated dcc channel on the cortex_m3 For some reason the restore of the DCB_DCRDR needs to be in a separate transaction !! No objections and i will commit. Cheers Spen cortex_dcc.patch Description: Binary data __

[Openocd-development] [patch] start phasing out integers as target IDs

2009-08-28 Thread David Brownell
Prepare to phase out using integers as *target* identifiers, in favor of their names. This is the same policy used for TAP identifiers, and for the same reason: scripts that assume a particular scan chain configuration aren't very reusable. - Update various comments and messages to stop referri

[Openocd-development] [patch] user's guide tweaks

2009-08-28 Thread David Brownell
Minor doc updates: - Itemize the list of private customization examples for openocd.cfg - Add "override defaults" as a customization, specifically for the work area (back it up or relocate it) - Highlight some work area location issues --- doc/openocd.texi | 16 +++- 1 f

[Openocd-development] [patch] command line "-s dir" entries go BEFORE builtins

2009-08-28 Thread David Brownell
Be sure the built-in search paths always go *after* ones provided on the command line ... matching comment in add_default_dirs(). Without this it's impossible to use a private config file which happens to have the same name as an installed one. Say, because you're bugfixing a private copy... ---

Re: [Openocd-development] [PATCH] Improving Cortex-A8 support...

2009-08-28 Thread Magnus Lundin
Holger Freyther wrote: > Hey, > > today Matt Hsu and me sat together to look into why OpenOCD does not work on > the beagle board. We have found and fixed some issues with the code, it > should > make it more robust and we have fixed the root cause for us. > > cortex_a8_dap_read_coreregister_u32

Re: [Openocd-development] Added ARM11 timeouts

2009-08-28 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Added ARM11 timeouts

2009-08-28 Thread David Brownell
Get rid of compiler warnings: "then" not initialized. --- src/target/arm11_dbgtap.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) --- a/src/target/arm11_dbgtap.c +++ b/src/target/arm11_dbgtap.c @@ -386,7 +386,8 @@ int arm11_run_instr_no_data(arm11_common

[Openocd-development] Added ARM11 timeouts

2009-08-28 Thread Øyvind Harboe
Added a few timeout's to communication w/ARM11. This resolves problems where OpenOCD locks up after accessing invalid memory. -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ### Eclipse Workspace Patch 1.0 #P openocd Index: src/target/arm11.h =

Re: [Openocd-development] mdb @ARM1136 error

2009-08-28 Thread Øyvind Harboe
I see the same problem here when I try the address range you used (less the data transfer error) but if I use a different address range, e.g. 0, then byte read operations work fine. The data transfer error *could* be a followon result on using unsupported(byte) operations on that memory region? Co

Re: [Openocd-development] mdb @ARM1136 error

2009-08-28 Thread Øyvind Harboe
On Fri, Aug 28, 2009 at 12:47 PM, Alexei Babich wrote: > Maybe I should make a more detailed log? Or should I take more > actions (sorry, can not yet understand the source code openocd and > offer a patch) ? That could probably help. I think I'm going to chase down some other bugs in ARM11 than th

Re: [Openocd-development] mdb @ARM1136 error

2009-08-28 Thread Alexei Babich
Maybe I should make a more detailed log? Or should I take more actions (sorry, can not yet understand the source code openocd and offer a patch) ? -- Regards, Alexei Babich, circuit design engineer, Rezonans plc., Chelyabinsk, Russia http://www.rez.ru Jabber ID: imp...@jabber.ru

[Openocd-development] arm7/9 sw breakpoint cleanup fix

2009-08-28 Thread Øyvind Harboe
When the last sw breakpoint was removed, the ICE breakpoint/watchpoint unit was not restored. Comments? -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ### Eclipse Workspace Patch 1.0 #P openocd Index: src/target/arm7_9_common.c =

Re: [Openocd-development] arm7/9 sw breakpoint cleanup fix

2009-08-28 Thread Øyvind Harboe
Committed. -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] mdb @ARM1136 error

2009-08-28 Thread Alexei Babich
> What interface are you using? --- interface parport parport_cable wiggler jtag_speed 0 --- -- Regards, Alexei Babich, circuit design engineer, Rezonans plc., Chelyabinsk, Russia http://www.rez.ru Jabber ID: imp...@jabber.ru ___ Openocd-development mai

[Openocd-development] [PATCH] jtag_khz support for parport interfaces

2009-08-28 Thread Jonas Horberg
Hi, The attached patch add the khz and speed_div functions to the parport interface driver. This enables the jtag_khz command for parport interfaces. The patch also adds a command named parport_toggling_time that tells the parport driver how long (in nanoseconds) it takes for the hardware to tog