Hello Freddie :-)
Warning is only showed once on signal creation and it means there is no
signal by that name defined so we can define it.
Please take a look at http://stm32primer2swd.sf.net on how to create a
target :-)
Best regards :-)
Tomek
Ps/2: the semester is almost finished with success, although I have some
other tasks, I will find some time to finish the libswd and openocd soon,
please report bugs on project website ticket system, thanks :-)
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
On Jul 6, 2012 12:07 PM, "Freddie Chopin" <[email protected]> wrote:
> Hi!
>
> I've finally built my FT232H adapter that uses layout compatible with
> KT-LINK (or anything else, as it uses CPLD for buffering and routing) so
> I tried the LibSWD compilation that I've done some time ago.
>
> I'm having some trouble with it, so maybe someone already tried SWD and
> can tell me what's wrong?
>
> I'm wondering if it has anything to do with the fact that I'm using
> FT232H, not FT2232, but OpenOCD does not say anything about beeing
> umable to connect. It actually does connect, because it can set the LED
> on...
>
> So, here we go:
>
> 1. Warnings?
>
> > >openocd -f interface/jlp2t-swd.cfg -c "adapter_khz 10"
> > Open On-Chip Debugger 0.5.0-dev (2012-04-14-14:24)
> > Licensed under GNU GPL v2
> > For bug reports, read
> > http://openocd.berlios.de/doc/doxygen/bugs.html
> > Info : only one transport option; autoselect 'swd'
> > Warn : Interface signal LED not found.
> > Warn : Interface signal SRST not found.
> > Warn : Interface signal SRSTin not found.
> > Warn : Interface signal CLK not found.
> > Warn : Interface signal MOSI not found.
> > Warn : Interface signal MISO not found.
> > Warn : Interface signal nSWDsel not found.
> > 10 kHz
> > Info : KT-LINK SWD-Mode initialization complete...
> > Info : clock speed 10 kHz
> > Error: BUG: current_target out of bounds
>
> The config file is the ktlink-swd.cfg with modified description, VID and
> PID - nothing more, so why can't it find the signals?
>
> 2. Connecting to some target:
>
> > >openocd -f interface/jlp2t-swd.cfg -c "adapter_khz 10" -f
> target/lpc1768.cfg
> > Open On-Chip Debugger 0.5.0-dev (2012-04-14-14:24)
> > Licensed under GNU GPL v2
> > For bug reports, read
> > http://openocd.berlios.de/doc/doxygen/bugs.html
> > Info : only one transport option; autoselect 'swd'
> > Warn : Interface signal LED not found.
> > Warn : Interface signal SRST not found.
> > Warn : Interface signal SRSTin not found.
> > Warn : Interface signal CLK not found.
> > Warn : Interface signal MOSI not found.
> > Warn : Interface signal MISO not found.
> > Warn : Interface signal nSWDsel not found.
> > 10 kHz
> > adapter_nsrst_delay: 200
> > Runtime Error:
> d:\VirtualBox\Ubuntu\shared\libswd\tcl\bin-x64\../target/swj-dp.t
> > cl:24: swd newdap lpc1768 cpu -irlen 4 -expected-id 0x4ba00477: command
> requires
> > more arguments
> > in procedure 'script'
> > at file "embedded:startup.tcl", line 58
> > in procedure 'swj_newdap' called at file
> "d:\VirtualBox\Ubuntu\shared\libswd\tcl
> > \bin-x64\../target/lpc1768.cfg", line 36
> > in procedure 'swd' called at file
> "d:\VirtualBox\Ubuntu\shared\libswd\tcl\bin-x6
> > 4\../target/swj-dp.tcl", line 24
>
> (that's after I disabled command about JTAG nTRST delay in config file)
>
> What arguments does this command need? Manual says that it's the same as
> for jtag newtap, but apparently it's not...
>
> Anyone had some success with SWD driver?
>
> 4\/3!!
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel