New IT forum Follow us on Twitter
22 May 2012, 11:37:32 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: JTag with MacOSx  (Read 2667 times)
reebo
Newbie
*
Posts: 6


« on: 04 June 2010, 07:18:20 am »

I've tried to connect Jtag with my GP+ and my mac, but It doesn't work.
I've downloaded the driver from http://www.ftdichip.com/Drivers/VCP.htm, replace the Info.plist as described openplug forum: http://plugcomputer.org/plugforum/index.php?topic=34.0 but I don't find the correct tty port under /dev/. Anyone can help me?

Thanks in advance.
Logged
darek
Jr. Member
**
Posts: 58


« Reply #1 on: 04 June 2010, 07:24:06 am »

Did You restart machine after installing VCP drivers? Did You add entries to Info.plist? and reload kext module?
Logged
reebo
Newbie
*
Posts: 6


« Reply #2 on: 04 June 2010, 07:39:39 am »

Did You restart machine after installing VCP drivers? Did You add entries to Info.plist? and reload kext module?
Yes  Embarrassed but the serial port doesn't appears....
I run Snow Leopard.
Logged
darek
Jr. Member
**
Posts: 58


« Reply #3 on: 04 June 2010, 08:29:35 am »

Show Your Plist.info
Logged
reebo
Newbie
*
Posts: 6


« Reply #4 on: 04 June 2010, 08:36:15 am »

Show Your Plist.info

This is my Info.plist, copied from forum.
Code:
--- Info.plist.orig     2009-04-07 22:34:29.000000000 -0700
+++ /System/Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist     2009-04-07 23:03:28.000000000 -0700
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
        <key>CFBundleDevelopmentRegion</key>
@@ -4341,6 +4341,40 @@
                        <key>idVendor</key>
                        <integer>1027</integer>
                </dict>
+               <key>SheevaPlug JTAGKey FT2232D A</key>
+               <dict>
+                       <key>CFBundleIdentifier</key>
+                       <string>com.FTDI.driver.FTDIUSBSerialDriver</string>
+                       <key>IOClass</key>
+                       <string>FTDIUSBSerialDriver</string>
+                       <key>IOProviderClass</key>
+                       <string>IOUSBInterface</string>
+                       <key>bConfigurationValue</key>
+                       <integer>1</integer>
+                       <key>bInterfaceNumber</key>
+                       <integer>0</integer>
+                       <key>idProduct</key>
+                       <integer>40591</integer>
+                       <key>idVendor</key>
+                       <integer>40584</integer>
+               </dict>
+               <key>SheevaPlug JTAGKey FT2232D B</key>
+               <dict>
+                       <key>CFBundleIdentifier</key>
+                       <string>com.FTDI.driver.FTDIUSBSerialDriver</string>
+                       <key>IOClass</key>
+                       <string>FTDIUSBSerialDriver</string>
+                       <key>IOProviderClass</key>
+                       <string>IOUSBInterface</string>
+                       <key>bConfigurationValue</key>
+                       <integer>1</integer>
+                       <key>bInterfaceNumber</key>
+                       <integer>1</integer>
+                       <key>idProduct</key>
+                       <integer>40591</integer>
+                       <key>idVendor</key>
+                       <integer>40584</integer>
+               </dict>
                <key>SI Lambda 10-3</key>
                <dict>
                        <key>CFBundleIdentifier</key>
Logged
darek
Jr. Member
**
Posts: 58


« Reply #5 on: 04 June 2010, 08:51:03 am »

So it's wrong, It's only patch, You should use "patch" command to apply this entry to Your Info.plist

My Info.plist
http://pastebin.com/FuWd6PNu
« Last Edit: 04 June 2010, 08:55:24 am by darek » Logged
reebo
Newbie
*
Posts: 6


« Reply #6 on: 04 June 2010, 09:02:48 am »

So it's wrong, It's only patch, You should use "patch" command to apply this entry to Your Info.plist

My Info.plist
http://pastebin.com/FuWd6PNu

Thanks darek, tonight I'll try this... Luckily I've saved the original file!!!
Logged
darek
Jr. Member
**
Posts: 58


« Reply #7 on: 04 June 2010, 10:05:05 am »

No problem Smiley
Logged
reebo
Newbie
*
Posts: 6


« Reply #8 on: 05 June 2010, 12:04:51 pm »

No problem Smiley
It works!!!

I've patched the Info.plist file using
Code:
patch Info.plist Info.plist_src
where Info.plist_src is the patch, then rebooted.
After then I ran
Code:
sudo touch /System/Library/Extensions
sudo kextunload /System/Library/Extensions/FTDIUSBSerialDriver.kext
sudo kextload /System/Library/Extensions/FTDIUSBSerialDriver.kext
and finally the virtual serial port appears!!!

To view the GP boot I use "screen" that is installed by default on MacOsx like this:
Code:
screen /dev/cu.usbserial-FTT65Q1RB 115200

Thank you for the tips, darek
Logged
darek
Jr. Member
**
Posts: 58


« Reply #9 on: 05 June 2010, 12:50:11 pm »

No problem,
well, i think You could install "minicom" from mac ports project (see porticus app), and then use it it's far better from screen
Logged
Don
Newbie
*
Posts: 3


« Reply #10 on: 05 December 2011, 02:38:33 pm »

On my newish (about 1 year old) mac running Snow leopard [Mac OS X 10.6.8 (10K549)] I didn't have to download http://www.ftdichip.com/Drivers/VCP.htm; the driver was already present. I didn't need to reboot either. I just patched /System/Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist and touched /System/Library/Extensions

After that, it worked as soon as I plugged the Jtag hardware in.

Don
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!