Dangerous Prototypes

Dangerous Prototypes => Bus Blaster JTAG debugger => Topic started by: alvarop on January 05, 2014, 05:35:20 pm

Title: Bus Blaster + openOCD on OSX Mavericks
Post by: alvarop on January 05, 2014, 05:35:20 pm
Not sure if anyone else is using this configuration, but everything stopped working for me after updating to Mavericks.
Apple now includes an FTDI driver with the OS, which takes control of the FTDI device before openOCD, so you get the following error:
Error: unable to open ftdi device: unable to claim usb device. Make sure the default FTDI driver is not in use

To fix this problem, unload the Apple kext:
Code: [Select]
sudo kextunload -bundle com.apple.driver.AppleUSBFTDI

This works, but now you can't use any other FTDI devices. There is a solution though!

Open the Info.plist and comment out the AppleUSBEFTDI-6010-0 key/dictionary and save it.

Reload the kext
Code: [Select]
sudo kextload -bundle com.apple.driver.AppleUSBFTDI

This should now let openOCD use the Bus Blaster (while letting you use other FTDI devices)

If you want more info on how I came up with this solution, I put some more details on my blog (which I can't link to because I'm new, but should be easy enough to find)
Title: Re: Bus Blaster + openOCD on OSX Mavericks
Post by: ian on March 20, 2014, 08:21:49 am
I know this is old, but if you'd please post the link I'll add it to the BB documentation
Title: Re: Bus Blaster + openOCD on OSX Mavericks
Post by: Bingo on June 23, 2014, 08:48:04 pm
[quote author="ian"]I know this is old, but if you'd please post the link I'll add it to the BB documentation[/quote]

Ian i think itøs this one .. If you haven't already found & used it

http://alvarop.com/2014/01/using-busbla ... mavericks/ (http://alvarop.com/2014/01/using-busblaster-openocd-on-osx-mavericks/)

/Bingo

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00942046568session_write_close ( )...(null):0
20.00982178144ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00982178920Database_MySQL->query( ).../DatabaseHandler.php:119
40.05322317640Database_MySQL->error( ).../Db-mysql.class.php:273