albert

Members
  • Content Count

    20
  • Joined

  • Last visited

  • Days Won

    2

albert last won the day on February 13 2016

albert had the most liked content!

About albert

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi! Very late, but I finally got around to bringing my device to work to test the new driver.. It works fine now, thanks!
  2. I'm running Sierra 10.12.4 on a new 15" MacBook Pro (the new touch bar model)
  3. Hi! I tried what you proposed - no output as expected: ➜ cert syslog | grep Digilent NOTE: Most system logs have moved to a new logging system. See log(1) for more information. However, the output is the same also after attaching the Analog Discovery 2?
  4. Hi Michael, thanks for the info! I noticed both devices appear in system_profiler without unloading the driver. Does that tell you anything? Both devices have the same Vendor ID: ➜ ~ system_profiler SPUSBDataType | grep Digilent -A 7 Digilent USB Device: Product ID: 0x6014 Vendor ID: 0x0403 (Future Technology Devices International Limited) Version: 9.00 Serial Number: 210321A18D4C Speed: Up to 480 Mb/sec Manufacturer: Digilent Location ID: 0x14114000 / 32 Current Available (mA): 500 Current Required (mA): 0 Extra Operating Current (mA): 0 ➜ ~ system_profiler SPUSBDataType | grep FTDI -C 5 Product ID: 0x6010 Vendor ID: 0x0403 (Future Technology Devices International Limited) Version: 7.00 Speed: Up to 480 Mb/sec Manufacturer: FTDI Location ID: 0x14120000 / 31 Current Available (mA): 500 Current Required (mA): 500 Extra Operating Current (mA): 0
  5. Hello, I have an issue similar to this one, but not related to USB hubs: Basically, after I installed Waveforms and the USB driver, I can no longer connect to the serial USB device that I am trying to debug! I am forced to kextunload and then kextload again to make them connect: ➜ ~ ls /dev/tty.* /dev/tty.Bluetooth-Incoming-Port /dev/tty.lpss-serial1 /dev/tty.lpss-serial2 ➜ ~ sudo kextunload /Library/Extensions/DigilentFtdiDriver.kext ➜ ~ ls /dev/tty.* /dev/tty.Bluetooth-Incoming-Port /dev/tty.lpss-serial1 /dev/tty.lpss-serial2 /dev/tty.usbserial-1412A /dev/tty.usbserial-1412B ➜ ~ sudo kextload /Library/Extensions/DigilentFtdiDriver.kext ➜ ~ ls /dev/tty.* /dev/tty.Bluetooth-Incoming-Port /dev/tty.lpss-serial1 /dev/tty.lpss-serial2 /dev/tty.usbserial-1412A /dev/tty.usbserial-1412B Is there any way to fix this? The other devices are using the generic FTDI VCP driver. My computer is the latest MacBook Pro 15".
  6. I think you are right and that the changes are a good idea. I guess you thought of this already but alternatively, perhaps you can detect what version of the library you found and keep looking if it is too old? I did not try any of my other software that might be using the other driver (I guess it could be Arduino/Energia) but I guess something will probably break if I keep it renamed My /usr/local/lib/ has both 0.1.7 and 1.2.2 and uses a symlink that points to 0.1.7. Since you say 1.2.2 should work I will do some experimenting with changing the symlink to point to that version instead in case I find issues with some other software. (Before saw your latest message I was going to ask for a strategy for running Waveforms along with other software that uses that driver..) Finally, thanks a lot for guiding me Michael! You made it really difficult for me to be mad at Digilent for having to spend two weeks just to get this up and running
  7. OH THE JOY!!! I just got back home and was going to start fiddling with this again and it just worked! I did reboot last night but maybe not after changing back the name of the correct library.. Anyway, it also started working in Virtualbox. So just to be clear, the fix was renaming my extra /usr/local/lib/libftd2xx.dylib to something else (and possibly rebooting/waiting 24h ).
  8. I think I am on to something! I figured the missing log file made no sense, so what if there was another libftd2xx.dylib in my path? There was! ~ find / -name "libftd2xx.dylib" -print 2>/dev/null /Library/Frameworks/dwf.framework/Versions/A/Frameworks/libftd2xx.dylib /usr/local/lib/libftd2xx.dylib So I did some more digging: ~ diff /Library/Frameworks/dwf.framework/Versions/A/Frameworks/libftd2xx.dylib /usr/local/lib/libftd2xx.dylib Binary files /Library/Frameworks/dwf.framework/Versions/A/Frameworks/libftd2xx.dylib and /usr/local/lib/libftd2xx.dylib differ ~ ll /Library/Frameworks/dwf.framework/Versions/A/Frameworks/libftd2xx.dylib -rwxr-xr-x@ 1 albert wheel 541K 13 Nov 16:06 /Library/Frameworks/dwf.framework/Versions/A/Frameworks/libftd2xx.dylib ~ ll /usr/local/lib/libftd2xx.dylib lrwxr-xr-x 1 root admin 36B 26 Jun 2014 /usr/local/lib/libftd2xx.dylib -> /usr/local/lib/libftd2xx.0.1.7.dylib ~ ll /usr/local/lib/libftd2xx.0.1.7.dylib -rwxr-xr-x@ 1 root admin 221K 26 Jun 2014 /usr/local/lib/libftd2xx.0.1.7.dylib ~ ll /usr/local/lib/libftd2xx* -rwxr-xr-x@ 1 root admin 221K 26 Jun 2014 libftd2xx.0.1.7.dylib -rwxr-xr-x@ 1 root admin 515K 26 Jun 2014 libftd2xx.1.2.2.dylib lrwxr-xr-x 1 root admin 36B 26 Jun 2014 libftd2xx.dylib -> /usr/local/lib/libftd2xx.0.1.7.dylib Waveforms still does not find the device without this bastard, but if i rename both files, I now get the error log! ~ cat ~/adept.log System Time Process Thread ERC ERC String Message 3267427782 5777 1231453056000003080 ercInternalError FTDIC::FEnumAndUpdateCache call to ListDevices failed 3267427782 5777 1231453056000003080 ercInternalError FTDIC::FEnum FEnumAndUpdateCache() failed 3267428793 5777 1231453056000003080 ercInternalError FTDIC::FEnumAndUpdateCache call to ListDevices failed 3267428793 5777 1231453056000003080 ercInternalError FTDIC::FEnum FEnumAndUpdateCache() failed 3267430101 5777 1231453066731523080 ercInternalError FTDIC::FEnumAndUpdateCache call to ListDevices failed 3267430101 5777 1231453066731523080 ercInternalError FTDIC::FEnum FEnumAndUpdateCache() failed None of the other dylibs from the framework seem to have duplicates in /usr/local/lib and I am trying to think up a way to pipe all the filenames into find to make sure there arent any elsewhere either.
  9. Yep, tried exactly what you described but do not get a log file! In addition, I tried to run "repair permissions" (apparently in El Capitan, only way to do it is to boot in to safe mode and it will do it automatically). After that did not work I also re-installed the driver again, without success. I also spent some more time on trying to get it working in Virtualbox since the device was functional on my work PC. Apparently you need the VirtualBox Extension Pack to use USB devices. After installing that, Windows now recognizes a device has been plugged in, but the driver does not install correctly and Waveforms still does not detect it. I tried re-installing Waveforms as suggested in some other thread, but it did not help.. The status message below says "This device cannot start. (Code 10)": Edit: Just had a friend test my device on his Macbook and there it works fine..
  10. Doh! I went too quick and did not realize there was a file with such a similar name in that folder.. I went back and renamed libftd2xx.dylib instead. No errors this time but also still no log file though!?
  11. Hi Michael, Sudo did not make any difference either. I also renamed libftd2xx.dylib, just to try and confirm like you said. It did spawn a couple of extra error messages, but no log file! I find this strange since the variables seem to be in place: ~ echo $ADEPT_RT_LOGDETAIL $ADEPT_RT_LOGFILE 1 /Users/albert/adept.log This is starting to get really "interesting" now!
  12. A couple of things I tested today: The device still works on my Windows PC at work. I read somewhere that connecting the device through a USB-hub might help. It did not. Tried running the Device_Enumeration script from the SDK samples: ~ python /Applications/WaveForms.app/Contents/Resources/SDK/samples/py/Device_Enumeration.py DWF Version: 2.9.4 Number of Devices: 0
  13. Hi Michael, thanks for helping me! I am not sure what library you mean, are you are referring to this one? (it seems to be in place..) /Applications/WaveForms.app/Contents/Frameworks/dwf.framework/Versions/A/Frameworks/libftd2xx.dylib I tried running through your steps but it did not generate a log file.. I had to modify step 8 though, "/Applications/WaveForms.app" is the eqivalent of "cd /Applications/WaveForms.app" in the two terminals I tried (iTerm2 and Terminal). To run the program from the command line, I used "open /Applications/WaveForms.app" instead. I also tried starting it from Spotlight like usual. Is this correct or is there another way to launch an app from the terminal?