Since I lent my RS232/USB adapter to a friend it was nice opportunity to experiment with Flyswatter on-board RS232 port. OS X does not support FTDI devices out of the box, but it's not a problem for OpenOCD, which uses generic interface to communicate JTAG board. Things get a little bit more complicated when you're trying to get on-board RS232 port working.
I started with installing stock drivers from FTDI site. Current version supports Snow Leopard. With these drivers installed system started to detect two COM ports but JTAG part stopped to work as OpenOCD failed to claim USB device.
Long story short: you'll need to edit kext content to prevent first usb device from being recognized as a virtual COM port. Nothing fancy, simple text editor would do the trick for all you need to edit is plain XML file. Find line <key>FT2232C_A</key> and delete it along with following <dict> element. Reload kext using kextunload/kextload and voila - JTAG works, "cu -s 115200 -l cu.usbserial-FS000000B" works.
Monday, November 23, 2009
OS X: Flyswatter, JTAG & RS232
Posted by Oleksandr Tymoshenko at 11:33 AM 0 comments
Labels: Flyswatter, JTAG, os x
Tuesday, November 10, 2009
OS X 10.6.2
MBP started overheating after this update. PRAM resetting, as google suggested, helped. No other significant damages detected.
Posted by Oleksandr Tymoshenko at 2:49 PM 0 comments
Labels: os x
Subscribe to:
Posts (Atom)