[Openocd-development] SWD todo

2011-07-12 Thread simon qian
I have reviewed the latest OpenOCD code. IMO, below should be considered. 1. add transport information to targets indicating which debug transport supported For example, LPC2148 supports JTAG, and STM32 supports both JTAG and SWD. So that, code can check the usability of the current selected

Re: [Openocd-development] SWD todo

2011-07-12 Thread Tomek CEDRO
On Tue, Jul 12, 2011 at 9:38 AM, simon qian simonqian.open...@gmail.com wrote: 4. Add SWD drivers, this should be the libswd. And call SWD drivers in adi_v5_swd. Hello Simon! This is almost done. Getting back to this today. When its done, then I get to higher layers. The basic concept is that

Re: [Openocd-development] SWD todo

2011-07-12 Thread Tomek CEDRO
On Tue, Jul 12, 2011 at 9:55 AM, Tomek CEDRO tomek.ce...@gmail.com wrote: The basic concept is that both jtag and swd can use arm_adi_v5 calls, depending on transport selected. To be more exact - the arm_adi_v5 is the wrapper for low level jtag or swd operations on jtag-dp or swd-dp. Target