David Riley wrote: > I'm building a board with an FT4232 on board to support UART access > of various devices and reprogramming of the onboard ARM. I'd like > to use SWD instead of JTAG for the ARM if possible, but I'm having > a hard time finding documentation on how to hook up the 4232 so > that it will be supported by OpenOCD.
OpenOCD upstream doesn't do SWD right now. You'll want to look at Tomek's libswd repo. > Also, since this is a small, internal project and we're not about > to acquire USB VIDs: if I leave the 4232 in "generic" mode (i.e. > using FTDI's VID/PID), will I be able to "claim" the JTAG/SWD port > dynamically with OpenOCD? You could mimic existing hardware and then reuse their vid+pid to avoid the problem completely. On Windows and OS X you'll need to manually fiddle with drivers, possibly installing a shim driver for one of the four USB interfaces with the sole purpose of blocking the system USB serial port driver. If possible, make the device enumerate with bInterfaceClass 0xff (vendor specific) on the JTAG interface, to avoid this problem on Mac OS X. //Peter ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
