Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread David Brownell
On Tuesday 07 July 2009, Spencer Oliver wrote: > No this reset delay is in your str7 startup code, eg. > > ... > > #* > # Reset Handler Entry Point > #*

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Spencer Oliver
> > > > This is why people often put a small reset delay in the > startup file > > for the > > str7 to compensate for this. > > Last I checked there was a str710.cfg file which we use. How > do you set his "small reset delay" you speak of? Would this > be jtag_n[st]rst_delay? Should this be

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Gene Smith
Spencer Oliver wrote: >> We have an STR712 board by Olimex but (actually, an IAR >> kickstart board). We can do the "halt reset" with no errors >> but it does not do a clean reset (the PC does not go to >> zero). With soft_reset_halt it does go back to zero. There >> are no errors logged in ei

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Spencer Oliver
> > We have an STR712 board by Olimex but (actually, an IAR > kickstart board). We can do the "halt reset" with no errors > but it does not do a clean reset (the PC does not go to > zero). With soft_reset_halt it does go back to zero. There > are no errors logged in either case. > soft_reset

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Gene Smith
Spencer Oliver wrote: >> With jlink on cortex M3 boards (ST Mic), "halt reset" works >> OK. But with >> STR712 board (ARM7TDMI) it doesn't work and I have to do >> "soft_reset_halt". I don't remember the exact failure with >> "halt reset" >> with ARM7 since I don't have anything setup right now

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Spencer Oliver
> > > > strangely however the str912 fails the reset halt using jlink. > > But works fine using amontec/olimex - the saga continues. > > Some devices (str912??) need CLK=0 in idle for reset halt to work. > Thanks, i remember that from before. Thought this was sorted for jlink? Cheers Spen

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Øyvind Harboe
On Tue, Jul 7, 2009 at 5:53 PM, Spencer Oliver wrote: >> > With jlink on cortex M3 boards (ST Mic), "halt reset" works OK. But >> > with >> > STR712 board (ARM7TDMI) it doesn't work and I have to do >> > "soft_reset_halt". I don't remember the exact failure with "halt >> > reset" >> > with ARM7 sin

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Spencer Oliver
> > With jlink on cortex M3 boards (ST Mic), "halt reset" works OK. But > > with > > STR712 board (ARM7TDMI) it doesn't work and I have to do > > "soft_reset_halt". I don't remember the exact failure with "halt > > reset" > > with ARM7 since I don't have anything setup right now. > > > > just

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Spencer Oliver
> With jlink on cortex M3 boards (ST Mic), "halt reset" works > OK. But with > STR712 board (ARM7TDMI) it doesn't work and I have to do > "soft_reset_halt". I don't remember the exact failure with > "halt reset" > with ARM7 since I don't have anything setup right now. > just tested with a jl

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Gene Smith
Gary Carlson wrote: > I am getting a bug message when I issue a ³reset halt² instruction from a > telnet client using a j-link dongle. Has this instruction worked for anyone > else before on other targets? Before I go off an hunt this down, I was > hoping to see whether it is a problem isolated t

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Xiaofan Chen
On Tue, Jul 7, 2009 at 10:51 PM, Gene Smith wrote: > Gary Carlson wrote: >> I am getting a bug message when I issue a ³reset halt² instruction from a >> telnet client using a j-link dongle.  Has this instruction worked for anyone >> else before on other targets?  Before I go off an hunt this down,

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-07 Thread Xiaofan Chen
On Tue, Jul 7, 2009 at 7:22 AM, Gary Carlson wrote: > I am getting a bug message when I issue a ³reset halt² instruction from a > telnet client using a j-link dongle.  Has this instruction worked for anyone > else before on other targets?  Before I go off an hunt this down, I was > hoping to see wh

Re: [Openocd-development] J-Link Reset Halt Bug

2009-07-06 Thread Øyvind Harboe
You'll have to provide more detail. There is at least one (for now obscure) reset halt being chased down currently. -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ___ Openocd-development mailing list Openocd-

[Openocd-development] J-Link Reset Halt Bug

2009-07-06 Thread Gary Carlson
I am getting a bug message when I issue a ³reset halt² instruction from a telnet client using a j-link dongle. Has this instruction worked for anyone else before on other targets? Before I go off an hunt this down, I was hoping to see whether it is a problem isolated to my particular processor or