Author Topic: Mac doesn't see DigiX on USB port  (Read 14391 times)

dougal

  • Sr. Member
  • ****
  • Posts: 289
Re: Mac doesn't see DigiX on USB port
« Reply #15 on: December 10, 2013, 01:54:48 pm »
If these are 2013 models, they are almost certainly running Mountain Lion (10.8.x), or at least Lion (10.7.x).

drew

  • Newbie
  • *
  • Posts: 11
Re: Mac doesn't see DigiX on USB port
« Reply #16 on: December 11, 2013, 08:17:42 am »
Sorry Erik but no joy when USBCore.cpp was replaced. Now that I think about it, I don't know how just replacing that file could have helped given that I can't connect the DigiX to my macs in the first place. What I'm going to try now is to install the new USBCore.cpp file on my linux box, down load a program that spews info out the serial port and then connect the board to my mac. That way the mac should see the new USB code and not what's in the bootloaded. Or at least that's how I think it should work. If all else fails I might try to see if I can get access to a USB sniffer and someone who knows how to use it.

Drew

Download attachment and replace file at Documents/arduino\hardware\digistump\sam\cores\digix\USB with it

Plug in DigiX hit erase, then hit reset - you should be able to program it now as it will default to its built in usb bootloader that should work with OS X
Then upload code (say the blink example) to it after that file has been replaced.
After the code has uploaded see if it works.

Let me know if that works.

Thanks,
Erik

drew

  • Newbie
  • *
  • Posts: 11
Re: Mac doesn't see DigiX on USB port
« Reply #17 on: December 11, 2013, 04:54:18 pm »
It looks like things turned for the worse. Arduino 1.5.5 can't talk to the board on my linux board any more. Looks like I need to send the board back so the experts can look at it. Should I just mail support@digistump..com to get an RMA#?

Drew

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Mac doesn't see DigiX on USB port
« Reply #18 on: December 11, 2013, 09:51:31 pm »
yep send us an email, please let us know what the last sketch you loaded was, and if you've done anything else with the board

raygeeknyc

  • Newbie
  • *
  • Posts: 4
Re: Mac doesn't see DigiX on USB port
« Reply #19 on: December 21, 2013, 03:59:56 pm »
I've got a similar problem but with some more info

I went through the wifi setup and can see the board through it's own AP or through the Wifi network that I have it joining.

I downloaded the board support and uploaded the ping example to the board.

Right after doing that... EyeTV launched! (huh?)

Whenever I plug in the DigiX, EyeTV launces and I cannot see any USB port in Arduino 1.5.5.


digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Mac doesn't see DigiX on USB port
« Reply #20 on: December 21, 2013, 04:25:21 pm »
@raygeeknyc - I'd definitely try another machine or remove EyeTV - I've never heard of it and imagine it is causing some type of USB conflict or detecting the DigiX as a tv tuner for some very strange reason...

raygeeknyc

  • Newbie
  • *
  • Posts: 4
Re: Mac doesn't see DigiX on USB port
« Reply #21 on: December 21, 2013, 07:55:47 pm »
I agree
I completely removed EyeTV, rebooted, ps confirmed that the "EyeTV Helper" app is no longer running...
I tried again and there is still no USB port shown in "ports" when I launch Arduino 1.5.5
The About this Mac/System report shows the DigiX USB device:
"""
Product ID:   0x6124
  Vendor ID:   0x03eb  (Atmel Corporation)
  Version:    1.10
"""

I also checked and I was able to see and program 2 other Arduino boards on the same machine and IDE installation
« Last Edit: December 21, 2013, 08:00:12 pm by raygeeknyc »

raygeeknyc

  • Newbie
  • *
  • Posts: 4
Re: Mac doesn't see DigiX on USB port
« Reply #22 on: December 22, 2013, 02:53:41 pm »
Follow up:

On that same Macbook, I brought up a VM running ubuntu 12.04 and installed Arduino 1.5.5 + the digix addons

The device shows up:
$ lsusb
Bus 001 Device 003: ID 03eb:6124 Atmel Corp. at91sam SAMBA bootloader

I'll assume that's right, but the same problem exists - the port doesn't show up in Arduino.


raygeeknyc

  • Newbie
  • *
  • Posts: 4
Re: Mac doesn't see DigiX on USB port
« Reply #23 on: December 22, 2013, 04:04:39 pm »
DigiX support:
This might help you debug the root cause

OK - at this point I have tried 3 different cables, I've tried supplying external 12V/2A power and on the Mac OS 10.9, Ubuntu 12.04 under VirtualBox on the same Macbook.
I've twice held down the erase button for several seconds while applying power.
In all cases the system sees the device (lsusb on linux and System Report in MacOS) but the Arduino IDE doesn't see the port.

So, was this a Macbook issue or a bad board?  There's one sure way to find out:
I pulled out a Linux 12.04 64 bit netbook and installed the IDE 1.5.5 (with the ia32-lib) and ... voila!  There's port ACM0 and I could upload blink.

So I put the board back on the Mac and Arduino now showed 2 ports (!)  WTH?

But I went to upload Blink on the Mac and the port disappeared - Arduino told me that there was no board on the selected port (see below) and sure enough the 2 ports were no longer in the menu.

I did this cycle, Linux works, mac doesn't a few times.   Once the mac loses the port, it's lost (resetting and unplugging have no effect) but if I plug it back into the Linux netbook and upload a sketch from there, then the Mac IDE sees the port on the next attempt, but then loses it as described above.  Just plugging the board into the linux book and bringing up the IDE do not "reset" it, I have to upload a sketch from Linux to next enable it on the mac.

One more relevant observation: The sketch I attempt to upload from the mac never runs and I have to reset the board before I can then access it on the linux book.

Code: [Select]
rocessing.app.debug.RunnerException: Couldn't find a Board on the selected port. Check that you have the correct port selected.  If it is correct, try pressing the board's reset button after initiating the upload.
at cc.arduino.packages.uploaders.SerialUploader.waitForUploadPort(SerialUploader.java:213)
« Last Edit: December 22, 2013, 04:41:55 pm by raygeeknyc »

mlewus

  • Newbie
  • *
  • Posts: 1
Re: Mac doesn't see DigiX on USB port
« Reply #24 on: December 23, 2013, 04:59:41 pm »
I am running OS X 10.8.5 Mountain Lion on a early 2013 MacBook Pro 15" Retina (MacBook Pro 10,1). I am not having any problems seeing the Digi X. Here is what I get from "About This MAC -> More Info -> System Report":

  Product ID:   0x6124
  Vendor ID:   0x03eb  (Atmel Corporation)
  Version:    1.10
  Speed:   Up to 480 Mb/sec
  Location ID:   0x1d110000 / 6
  Current Available (mA):   500
  Current Required (mA):   100

I did not do anything special to get it to work. Hope this helps someone.

For those of you running 10.9 Mavericks, Apple made significant changes to the USB subsystem that is giving many developers and user issues.