gemma2 not being recongnized Arduino 1.6.1[solved]

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
1885
 
Posts: 94
Joined: Sun May 24, 2009 2:12 am

gemma2 not being recongnized Arduino 1.6.1[solved]

Post by 1885 »

We purchased 3 Gemma 2s.
Using Windows 8.1.
We downloaded the Arduino 1.6.xIDE with Adafruit Board .
https://learn.adafruit.com/adafruit-ard ... ot-6-x-ide
We also download the drivers.
https://learn.adafruit.com/usbtinyisp/drivers

Rebooted and Arduino does not see the Gemma 2 in Tools>Ports

We would really like to use Centos 7 Linux.
Please throw us a bone.
Last edited by 1885 on Sun May 03, 2015 10:58 pm, edited 1 time in total.

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: gemma2 not being recongnized by Arduino-16.x IDE

Post by Franklin97355 »

Rebooted and Arduino does not see the Gemma 2 in Tools>Ports
Do you mean tools>boards

User avatar
1885
 
Posts: 94
Joined: Sun May 24, 2009 2:12 am

Re: gemma2 not being recongnized by Arduino-16.x IDE

Post by 1885 »

I do mean Tools>Ports

I can select Tools>Boards>Arduino Gemma 8MHz

I just assumed the Gemma would show up in Ports like my Uno and Mega.

I have tried Linux, Mac OSX 7.6 and Windows 8.1 with 2 different Gemmas with no luck.

I set the /etc/udev/rules.d/ up . Linux I get this error: arduino-1.6.1/hardware/tools/avr/bin/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Window 8.1 avrdude does not see the device.

OSx 7.6 does not how andything under Tools>Ports

I downloaded the Arduinio IDE for Flora (I have two of these) Gemma. Linux, OSX and Win 8.1
I also tried to install the drivers Window 8.1 for USBtiny.

I'm not doing something right.

I am connecting the Gemma directly into a USB. Do I need the USBTiny Programmer?
Thanks
cwc

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: gemma2 not being recongnized by Arduino-16.x IDE

Post by Franklin97355 »


User avatar
1885
 
Posts: 94
Joined: Sun May 24, 2009 2:12 am

Re: gemma2 not being recongnized by Arduino-16.x IDE

Post by 1885 »

Do I need arvdude installed on my Linux Box?

Followed the directions.
I am trying using Centos 7. Added /etc/udev/rules.d/
$ more /etc/udev/rules.d/adafruit-trinket.rules
# udev rule to make Trinket/Pro Trinket/Gemma/Flora programmable without running
Arduino as root.
# Tested with Ubuntu 14.04 and 12.04. Other distributions might need to update
GROUP="dialout"
# to another group value like "users".
# Copy this file to the location of your distribution's udev rules, for example
on Ubuntu:
# sudo cp adafruit-trinket.rules /etc/udev/rules.d/
# Then reload udev configuration by executing:
# sudo reload udev
SUBSYSTEM=="usb", ATTR{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0660",
GROUP="dialout"
[cwc@vita ~]$
This user is in dialout .
$ groups
cwc wheel dialout wireshark


Error:
avrdude: error: usbtiny_transmit: Input/output error
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.


avrdude: error: usbtiny_transmit: Input/output error

User avatar
adafruit2
 
Posts: 22145
Joined: Fri Mar 11, 2005 7:36 pm

Re: gemma2 not being recongnized by Arduino-16.x IDE

Post by adafruit2 »

gemma does not show up under Ports, it does not have a usb-serial converter. you can try turning on 'verbose uploads' (prefs box in Arduino IDE) and paste in the output

User avatar
1885
 
Posts: 94
Joined: Sun May 24, 2009 2:12 am

Re: gemma2 not being recongnized Arduino 1.6.1[solved]

Post by 1885 »

Solved.
I ignored the errors and got the Gemma to work with Neo-Pixels (Epic!)
*********************************************************************************
Setup:
- Centos 7. Added code to udev

[root@vita ~]# more /etc/udev/rules.d/
20-crystalhd.rules adafruit-trinket.rules
70-persistent-ipoib.rules
[root@vita ~]# more /etc/udev/rules.d/adafruit-trinket.rules
# udev rule to make Trinket/Pro Trinket/Gemma/Flora programmable without running
Arduino as root.
# Tested with Ubuntu 14.04 and 12.04. Other distributions might need to update
GROUP="dialout"
# to another group value like "users".
# Copy this file to the location of your distribution's udev rules, for example
on Ubuntu:
# sudo cp adafruit-trinket.rules /etc/udev/rules.d/
# Then reload udev configuration by executing:
# sudo reload udev
SUBSYSTEM=="usb", ATTR{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0660",
GROUP="dialout"
## end of rule.d code

- Made sure to add user to the dialout group.
- Used Arduino IDE 1.6.1 downloaded from Adafruit .
- I really like the way Arduino works with Centos 7
- To run Arduino IDE I decompress the IDE in my home directory and issued the following command from a non-root user:
$/home/your_user_name/arduino-1.6.1/arduino

Thanks for all the help Adafruit.

User avatar
adafruit2
 
Posts: 22145
Joined: Fri Mar 11, 2005 7:36 pm

Re: gemma2 not being recongnized Arduino 1.6.1[solved]

Post by adafruit2 »

awesome!

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”