Trinket, Gemma serial debugging

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
whz
 
Posts: 6
Joined: Fri Feb 02, 2018 6:40 am

Trinket, Gemma serial debugging

Post by whz »

I tried using the serial "Serial debugging with Gemma" Calibrate sensors on GEMMA and Trinket! as descibed under:
https://learn.adafruit.com/serial-debug ... a/overview

I use Arduino 1.8.5. for trinket 8MHz ; Programmer: i selected USBtinyISP.

I tried to use, but it does not work. Connecting USB-serial to Pins 0 and 1 the trinket sends out just 00.
During programming the following message comes up:

Der Sketch verwendet 2034 Bytes (38%) des Programmspeicherplatzes. Das Maximum sind 5310 Bytes.
Globale Variablen verwenden 126 Bytes des dynamischen Speichers.

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

Hopefully you can add information how to use succesful.

User avatar
adafruit_support_carter
 
Posts: 29164
Joined: Tue Nov 29, 2016 2:45 pm

Re: Trinket, Gemma serial debugging

Post by adafruit_support_carter »

Post a photo of your setup showing how you have everything connected. What sketch were you trying to run?

User avatar
whz
 
Posts: 6
Joined: Fri Feb 02, 2018 6:40 am

Re: Trinket, Gemma serial debugging

Post by whz »

I updated library.
It is working now.
Thank you.

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

Return to “Trinket ATTiny, Trinket M0”