Re: [Openocd-development] is dap info 0 working for you?

2010-07-26 Thread Peter Stuge
David Brownell wrote: --8-- LM3S811 Evaluation Board User's Manual An FT2232 device from Future Technology Device It looks like just another 2232 adapter. Not just -- see the schematics, you'll notice a bunch of wiring needed to support SWD as an option in addition to JTAG. Yep. Not

Re: [Openocd-development] is dap info 0 working for you?

2010-07-26 Thread Peter Stuge
David asked me to forward his reply also to the list. David Brownell wrote: --- On Mon, 7/26/10, Peter Stuge pe...@stuge.se wrote: Can you say if the Versaloon firmware is a good fit for the SWD operations that OpenOCD likes to perform? I can't say that yet ... pending SWD support in

Re: [Openocd-development] is dap info 0 working for you?

2010-07-26 Thread simon qian
OpenOCD needn't be Versaloon specific, because Versaloon can be OpenOCD specific. Actually, new JTAG driver of Versaloon in OpenOCD is only designed for OpenOCD, vsprog uses another driver. I can decide how to implement SWD driver in OpenOCD, and maybe it's also different than SWD driver in

Re: [Openocd-development] is dap info 0 working for you?

2010-07-19 Thread David Brownell
Quick update on $SUBJECT: it's come up OK for me recently, possibly resetting or halting the stellaris target was a key step. I could see the TPIU, ITM, and DWT instead of spurious NVICs. And on LPC1768, the ETM also. Puzzling, but now less worrisome... - Dave

Re: [Openocd-development] is dap info 0 working for you?

2010-07-12 Thread Spencer Oliver
On 11/07/2010 09:30, Michael Schwingen wrote: On 11.07.2010 02:54, David Brownell wrote: Not just -- see the schematics, you'll notice a bunch of wiring needed to support SWD as an option in addition to JTAG.Some SWD signals are bidirectional, so a pure JTAG adapter is not going to handle SWD

Re: [Openocd-development] is dap info 0 working for you?

2010-07-12 Thread Øyvind Harboe
From STM32 ZY1000 using current master branch: dap info 0 AP ID register 0x14770011 Type is MEM-AP AHB AP BASE 0xe00ff003 Valid ROM table present MEMTYPE system memory present on bus ROMTABLE[0x0] = 0xfff0f003 Component base address 0xe000e000,

Re: [Openocd-development] is dap info 0 working for you?

2010-07-12 Thread Øyvind Harboe
Is there any schematics available for this adapter? I've placed an order for one to have a look -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] is dap info 0 working for you?

2010-07-12 Thread David Brownell
Is there any schematics available for this adapter? Yes, lm3s3748-ek. See the user's guide. This is one that uses a small CPLD external to the ft2232 chip. So the schematics include just a bit of tracing through CPLD logic... I've placed an order for one to have a look Somehow I

Re: [Openocd-development] is dap info 0 working for you?

2010-07-12 Thread David Brownell
From STM32 ZY1000 using current master branch: Looks OK to me. Maybe a bit thinner than the other ROM tables I'm used to seeing, but that could just be STM32 vs fancier chips (OMAP3, LPC1768, etc). Thanks -- this suggests maybe I was on the right track to think of layout bug in luminary. -

Re: [Openocd-development] is dap info 0 working for you?

2010-07-12 Thread David Brownell
--- On Mon, 7/12/10, Spencer Oliver s...@spen-soft.co.uk wrote: Just for info rowley in the uk produce a swd adapter for ftdi based dongles. I have one here and it works very well with their software. Maybe it could start working with ours at some point too ... ;)

Re: [Openocd-development] is dap info 0 working for you?

2010-07-12 Thread Spencer Oliver
On 12/07/2010 11:59, David Brownell wrote: Is there any schematics available for this adapter? Yes, lm3s3748-ek. See the user's guide. This is one that uses a small CPLD external to the ft2232 chip. So the schematics include just a bit of tracing through CPLD logic... The newer

Re: [Openocd-development] is dap info 0 working for you?

2010-07-11 Thread Michael Schwingen
On 11.07.2010 02:54, David Brownell wrote: Not just -- see the schematics, you'll notice a bunch of wiring needed to support SWD as an option in addition to JTAG.Some SWD signals are bidirectional, so a pure JTAG adapter is not going to handle SWD too. This looks like only a 74xx125 is

[Openocd-development] is dap info 0 working for you?

2010-07-10 Thread David Brownell
The Cortex parts (M3, A8, etc) all have ROM tables listing resources exported to debuggers, which are displayed in OpenOCD using the dap info command.  I've seen this work well with Luminary (LM3s3748), NXP (LPC1768), and OMAP3 parts in the past. However, I recently observed two Cortex-M3 parts

Re: [Openocd-development] is dap info 0 working for you?

2010-07-10 Thread Peter Stuge
David Brownell wrote: Can some of you help sort this out? I'll get an LPC1343 in a few days, and I have an usbprog FT2232 with me. But OpenOCD SWD may not be quite there yet, and in any case you said FT2232 can't be used as-is, and I don't have the USB Blaster with me on the road. :\ When I

Re: [Openocd-development] is dap info 0 working for you?

2010-07-10 Thread Peter Stuge
David Brownell wrote: Can some of you help sort this out? I'll get an LPC1343 in a few days, I've got to cut my LPCXpresso-1343 in half to get rid of the proprietary HW that only works with CodeRed's MS-Windows tool... ;) Yeah. The LPC3154 chip is so big that I think it's likely

Re: [Openocd-development] is dap info 0 working for you?

2010-07-10 Thread Peter Stuge
Peter Stuge wrote: Alternatively, suggest me a simple and stupid adapter that is likely to work with your SWD code, and I might get one. For the near future, I think the LM3S811-EK is likely to be that hardware. Is the code that it would run available? Maybe I can run that on some

Re: [Openocd-development] is dap info 0 working for you?

2010-07-10 Thread David Brownell
For the near future, I think the LM3S811-EK is likely to be that hardware. Is the code that it would run available? Not yet (for SWD with OpenOCD) ... only for its JTAG mode (part of standard OpenOCD). --8-- LM3S811 Evaluation Board User's Manual An FT2232 device from Future