davidvondle/Upload-And-Retrieve-Source

Could not find your board ...

Closed this issue · 5 comments

I am using Arduino 1.0 on a Macbook Pro running Lion. I installed the two directories you supplied into a tools directory I created in Documents/Arduino. I created a gistCredential.txt to contain:

add usernames and passwords for github accounts here

the format is =

username_put_here=password_put_here

in the comments of your code specify the account you want in the comments with:

USE_GITHUB_USERNAME=

USE_GITHIB_USERNAME=m.schulz@uq.edu.au

if no account is specified it will use the first one

MAKE_PRIVATE_ON_GITHUB
arduinoboard=1knowmysource

I have a Freetronics EtherTen connected to a USB port. I compile a sketch, upload it, and observer it running. I then try to upload the code to my GitHub account, when I get the message:

Could not find your board, make sure it is plugged into USB.

is there something I am missing here?

Cheers
Mark

Perhaps the Freetronics board does not have the same code as Arduino on the ATmega8U2. In lion, the way my code accesses the serial number is through this command:
"system_profiler SPUSBDataType"
Type this into the terminal and send me what it spits out. My guess is that it doesn't call itself an "arduino" so the code can't find it. If it calls itself something else I could add that to the code.

Make sure the location of devcon.exe is in the same "tools" folder. I need to add this to the readme and post. I was originally going to just distribute it there with everything else, but Microsoft expressly forbids that for devcon...

guyc commented

I have the same problem with a Freetronics Eleven. Below is
the relevant section of system_profiler SPUSBDataType. There
seem to be an extra 5 spaces following the name "Eleven".

    USB Bus:

      Host Controller Location: Built-in USB
      Host Controller Driver: AppleUSBOHCI
      PCI Device ID: 0x0d9c 
      PCI Revision ID: 0x00a1 
      PCI Vendor ID: 0x10de 
      Bus Number: 0x04 

        Eleven     :

          Product ID: 0x4150
          Vendor ID: 0x20a0
          Version:  0.01
          Serial Number: 6493234383835120E1B0
          Speed: Up to 12 Mb/sec
          Manufacturer: www.freetronics.com     
          Location ID: 0x04100000 / 2
          Current Available (mA): 500
          Current Required (mA): 100

I just updated the code to recognize the vendor ID for freetronics. Give it a shot and let me know if that works for you.

Confirmed working for the Freetronics Eleven. Dave this tool is brilliant. I already wonder how we ever lived without it. Thanks!