New IT forum
27 June 2022, 10:52:47 am *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: [1]

Author Topic: JTag with MacOSx  (Read 15660 times)

reebo

  • Newbie
  • *
  • Posts: 6
JTag with MacOSx
« 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
Re: JTag with MacOSx
« 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
Re: JTag with MacOSx
« 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  :-[ but the serial port doesn't appears....
I run Snow Leopard.
Logged

darek

  • Jr. Member
  • **
  • Posts: 58
Re: JTag with MacOSx
« Reply #3 on: 04 June 2010, 08:29:35 am »

Show Your Plist.info
Logged

reebo

  • Newbie
  • *
  • Posts: 6
Re: JTag with MacOSx
« Reply #4 on: 04 June 2010, 08:36:15 am »

Show Your Plist.info

This is my Info.plist, copied from forum.
Code: [Select]
--- 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
Re: JTag with MacOSx
« 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
Re: JTag with MacOSx
« 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
Re: JTag with MacOSx
« Reply #7 on: 04 June 2010, 10:05:05 am »

No problem :)
Logged

reebo

  • Newbie
  • *
  • Posts: 6
Re: JTag with MacOSx
« Reply #8 on: 05 June 2010, 12:04:51 pm »

No problem :)
It works!!!

I've patched the Info.plist file using
Code: [Select]
patch Info.plist Info.plist_srcwhere Info.plist_src is the patch, then rebooted.
After then I ran
Code: [Select]
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: [Select]
screen /dev/cu.usbserial-FTT65Q1RB 115200
Thank you for the tips, darek
Logged

darek

  • Jr. Member
  • **
  • Posts: 58
Re: JTag with MacOSx
« 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: 5
Re: JTag with MacOSx
« 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]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!