Hi, I'm interested in openocd swd support.
I have a Stellaris LM3S3748 Evaluation kit, which is directly supported by openocd. I can build openocd and then connect to the device by just calling ../src/openocd -f board/ek-lm3s3748.cfg I have successfully erased and programmed the device. Now I would like to use SWD instead of JTAG. I have found the hint to use Tomeks work in the mailing list archive. ( http://sourceforge.net/mailarchive/forum.php?thread_name=4F3CFB3A.5070302%40gmail.com&forum_name=openocd-devel ) I could download and build it and I can connect to the device. But now I'm stuck. How should I change the configuration so that openocd connects via swd? When I connect via JTAG i get: Open On-Chip Debugger 0.5.0-dev-00853-gb691196-dirty (2012-03-01-21:54) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' 500 kHz Info : clock speed 500 kHz Info : JTAG tap: lm3s3748.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) Info : lm3s3748.cpu: hardware has 6 breakpoints, 4 watchpoints Yet the debugger hardware is based on FT2232 and should support SWD. Afaics there is some SWD support in ft2232.c, stellaris.cfg and swj-dp.tcl . Yet I am not very familiar with openocd internals. Nevertheless I have tried to change some configuration files. But when I try to add some "swd dap" I get: Info : only one transport option; autoselect 'jtag' Runtime Error: xyz.cfg:34: invalid command name "swd" Can you tell me how SWD is supposed to work? Is there some documentation I missed? Chris, have you had any success using SWD yet? Bye, Stefan -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel