From: Trampas S. <tr...@gm...> - 2016-08-01 20:38:52
|
The added error logging in the code snippet pointed out my descriptor issue rather quickly... On Aug 1, 2016 4:37 PM, "Trampas Stern" <tr...@gm...> wrote: > The libusb issue is resolved. Issue was I defined descriptor in config > file that did not match the driver. > > The adapter I have uses tristate drivers to switch the signals for SWD. I > moved adapter to a JTAG board and it is not working there either. I am > debugging hardware now... > > I have checked pin out but have not found an issue, I will scope the > signals next... > > On Aug 1, 2016 4:10 PM, "Paul Fertser" <fer...@gm...> wrote: > >> On Mon, Aug 01, 2016 at 02:02:59PM -0400, Trampas Stern wrote: >> > Debug: 260 2219 ftdi.c:1092 ftdi_swd_switch_seq(): JTAG-to-SWD >> > Debug: 261 2225 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued >> transactions >> > Debug: 262 2235 ftdi.c:978 ftdi_swd_run_queue(): JUNK DP read reg 0 = >> ffffffff >> >> This looks like hardware issue, SWD just doesn't work properly for >> you, the target doesn't respond at all. How is your debug adapter >> supposed to handle SWD specifics? >> >> Regarding your libusb issues, can you please clarify what OS version >> you're using, whether or not you succeeded to get the cited output >> with WinUSB just for a single interface and regular FTDI VCOM driver >> for the other, and can you please show the exact modification that >> made it work in diff -u form? >> >> -- >> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! >> mailto:fer...@gm... >> > |