Re: [Openocd-development] need help with config file

2009-10-06 Thread John Rigby
I agree that using the expected capture value makes a lot more sense than using the zero id. I'll send a patch later today. On Tue, Oct 6, 2009 at 12:49 AM, David Brownell wrote: > On Saturday 03 October 2009, John Rigby wrote: > > You were right about the ir lengths, but I also had to put back

Re: [Openocd-development] need help with config file

2009-10-05 Thread David Brownell
On Saturday 03 October 2009, John Rigby wrote: > You were right about the ir lengths, but I also had to put back in the code > that ignores non b01 for taps with 0 ids.  The i.mx31 has the same weird tap > with no id and no b01 in the capture. Hmm. I changed the diagnostics a bit in a recent pat

Re: [Openocd-development] need help with config file

2009-10-05 Thread David Brownell
On Saturday 03 October 2009, John Rigby wrote: > > is there; it looks bizarre, that *is* an LSB of b0001, it's > > the next bits that are odd. > > This diagnostic is misleading.  It does not give the position where it was > expecting the 01.  The string is the entire captured data.  The right most

Re: [Openocd-development] need help with config file

2009-10-05 Thread John Rigby
David, You were right about the ir lengths, but I also had to put back in the code that ignores non b01 for taps with 0 ids. The i.mx31 has the same weird tap with no id and no b01 in the capture. The i.mx25 config and patch are attached. John On Sat, Oct 3, 2009 at 6:03 PM, David Brownell

Re: [Openocd-development] need help with config file

2009-10-05 Thread John Rigby
David, Thanks for the info. I'm slowly making progress. On Fri, Oct 2, 2009 at 4:58 AM, David Brownell wrote: .. > > I'm not sure why that diagnostic > > Error: imx25.cpu: IR capture error; saw 0x3E1011 not 0x..1 > > is there; it looks bizarre, that *is* an LSB of b0001, it's > the next

Re: [Openocd-development] need help with config file

2009-10-02 Thread David Brownell
On Thursday 01 October 2009, John Rigby wrote: > Any ideas?  This is all new to me, how does one figure out irlen's and > masks?  The only thing I found in the reference manual was the cpu tap id > and some vague illustrations but no real details. Using *current* code it's safe to forget about the

[Openocd-development] need help with config file

2009-10-01 Thread John Rigby
I'm trying to create a config file for a Freescale i.mx25. Using info from a number of other i.mx platform configs and the reference manual and some trial and error I have come up with the attached file. When I use it I get this: $ openocd --file flyswatter.cfg --file imx25.cfg Open On-Chip Deb