Re: [Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Rick Altherr
On Jan 6, 2009, at 10:59 PM, Peter LaDow wrote: 1. How does one determine the proper CPUTAPID value for the "-expected_id"? Is this a trial and error thing? Basically. The data sheet for the part _might_ say in the section on debugging. In general, we just get the value reported by an a

Re: [Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Peter LaDow
Ok, I think perhaps it is working. I'll have to do some further testing to determine if this is indeed the case, but I did figure out some things, I think. On Tue, Jan 6, 2009 at 8:35 AM, Rick Altherr wrote: > It may not make a difference, but r717 is fairly old and many changes and > fixes have

Re: [Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Michel Catudal
Peter LaDow a écrit : > This may not directly be an OpenOCD issue, but I am trying to debug my > design. Since this list is well populated with ARM users, perhaps > somebody has some insight. > > I've received the parts and assembled my first LPC2148 based design. > I've also purchased the Olimex

Re: [Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Rick Altherr
It may not make a difference, but r717 is fairly old and many changes and fixes have been made in the meantime. Please try with the current SVN trunk as it includes more debugging information when run with 'debug_level 3'. Also, 'debug_level 3' should be the first line in your first confi

Re: [Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Pavel Chromy
Hello Peter and list, I might be looking into completely wrong direction in this case, but it is worth noting that when I was experimenting with LPC2148 with OpenOCD, If found out, that LPC needs reset pulled while RTCK is low. At least from what I've seen, it seemed to me that power-on reset is

Re: [Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Peter LaDow
On Tue, Jan 6, 2009 at 12:16 AM, Rick Altherr wrote: > It doesn't appear that you've specified any JTAG taps. That _should_ be a > hard error when init is run. It appears that OpenOCD is trying to validate > the chain anyway. > > You'll need to add some lines to your config to describe the taps

Re: [Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Rick Altherr
It doesn't appear that you've specified any JTAG taps. That _should_ be a hard error when init is run. It appears that OpenOCD is trying to validate the chain anyway. You'll need to add some lines to your config to describe the taps on the JTAG chain. Look at the target scripts included

[Openocd-development] LPC2148 JTAG Issues

2009-01-06 Thread Peter LaDow
This may not directly be an OpenOCD issue, but I am trying to debug my design. Since this list is well populated with ARM users, perhaps somebody has some insight. I've received the parts and assembled my first LPC2148 based design. I've also purchased the Olimex ARM-USB-TINY module to use for pr