Adafruit is open and shipping! Let's build back better, together!
0

bootloader.unlock_bits
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

bootloader.unlock_bits

by keshishiana on Sat Jun 04, 2016 12:29 am

Hello
Trying to run a simple code and am getting the error
Here is the computer information:
Screen Shot 2016-06-03 at 9.26.17 PM.png
Screen Shot 2016-06-03 at 9.26.17 PM.png (42.62 KiB) Viewed 539 times


Using Ardunio 1.6.7

Here is the code:
Screen Shot 2016-06-03 at 9.26.47 PM.png
Screen Shot 2016-06-03 at 9.26.47 PM.png (54.46 KiB) Viewed 538 times


This is the error that I keep getting:
Screen Shot 2016-06-03 at 9.27.10 PM.png
Screen Shot 2016-06-03 at 9.27.10 PM.png (16.54 KiB) Viewed 538 times


Any help is greatly appreciated
Thank you

keshishiana
 
Posts: 18
Joined: Mon Nov 02, 2015 11:01 am

Re: bootloader.unlock_bits

by adafruit_support_rick on Mon Jun 06, 2016 9:58 am

You are attempting to burn a bootloader. This is different than uploading a sketch. Please see our tutorial on getting started with Arduino
https://learn.adafruit.com/lesson-0-get ... -and-ports
https://learn.adafruit.com/adafruit-ard ... on-1-blink

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: bootloader.unlock_bits

by keshishiana on Tue Jun 07, 2016 10:59 pm

Hello
I am able to make this work using the ardunio board. I can not make it work with the trinket by adafuit.

Screen Shot 2016-06-07 at 7.55.11 PM.png
Screen Shot 2016-06-07 at 7.55.11 PM.png (157.85 KiB) Viewed 517 times

The "Port" does not show the USB since it is the trinket.
I Verify the Code and works,
When I "compile" the code, it returns "Done Compiling"
When I Try the "Upload" I get this error:
Screen Shot 2016-06-07 at 7.55.11 PM.png
Screen Shot 2016-06-07 at 7.55.11 PM.png (157.85 KiB) Viewed 517 times



I did review the links sent- thank you, But I am assuming that I am missing the obvious.
Thank you for your help
Attachments
Screen Shot 2016-06-07 at 7.40.21 PM.png
Screen Shot 2016-06-07 at 7.40.21 PM.png (140.53 KiB) Viewed 517 times

keshishiana
 
Posts: 18
Joined: Mon Nov 02, 2015 11:01 am

Re: bootloader.unlock_bits

by adafruit_support_rick on Wed Jun 08, 2016 9:07 am

I think I'm confused. Why are you clicking 'Burn Bootloader' to upload a blink sketch?

Are you actually trying to burn the bootloader? Why? What problem are you having with the bootloader?

Please go into Arduino Preferences and check Verbose on Compile and Upload, then try the upload again. Cut and paste the output to the reply window (don't post a screenshot - the trace will be too long).

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: bootloader.unlock_bits

by keshishiana on Thu Jun 09, 2016 12:23 am

Code: Select all | TOGGLE FULL SIZE
Sketch uses 890 bytes (16%) of program storage space. Maximum is 5,310 bytes.
Global variables use 13 bytes of dynamic memory.

avrdude: no programmer has been specified on the command line or the config file
         Specify a programmer using the -c option and try again

Invalid library found in /Users/Computer/Documents/Arduino/libraries/First_glasses_prototype.ino: /Users/Computer/Documents/Arduino/libraries/First_glasses_prototype.ino
Invalid library found in /Users/Computer/Documents/Arduino/libraries/One_lens: /Users/Computer/Documents/Arduino/libraries/One_lens
Invalid library found in /Users/Computer/Documents/Arduino/libraries/output_for_both_L_and_R_with_3427: /Users/Computer/Documents/Arduino/libraries/output_for_both_L_and_R_with_3427
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_4_sensors_GR_GL_control: /Users/Computer/Documents/Arduino/libraries/tcs34725_4_sensors_GR_GL_control
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_6_sensors_GR_GL_control: /Users/Computer/Documents/Arduino/libraries/tcs34725_6_sensors_GR_GL_control
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_four_sensors: /Users/Computer/Documents/Arduino/libraries/tcs34725_four_sensors
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_with_multiplexer: /Users/Computer/Documents/Arduino/libraries/tcs34725_with_multiplexer
Invalid library found in /Users/Computer/Documents/Arduino/libraries/trinket_flash_for_glasses_battery: /Users/Computer/Documents/Arduino/libraries/trinket_flash_for_glasses_battery
Invalid library found in /Users/Computer/Documents/Arduino/libraries/First_glasses_prototype.ino: /Users/Computer/Documents/Arduino/libraries/First_glasses_prototype.ino
Invalid library found in /Users/Computer/Documents/Arduino/libraries/One_lens: /Users/Computer/Documents/Arduino/libraries/One_lens
Invalid library found in /Users/Computer/Documents/Arduino/libraries/output_for_both_L_and_R_with_3427: /Users/Computer/Documents/Arduino/libraries/output_for_both_L_and_R_with_3427
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_4_sensors_GR_GL_control: /Users/Computer/Documents/Arduino/libraries/tcs34725_4_sensors_GR_GL_control
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_6_sensors_GR_GL_control: /Users/Computer/Documents/Arduino/libraries/tcs34725_6_sensors_GR_GL_control
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_four_sensors: /Users/Computer/Documents/Arduino/libraries/tcs34725_four_sensors
Invalid library found in /Users/Computer/Documents/Arduino/libraries/tcs34725_with_multiplexer: /Users/Computer/Documents/Arduino/libraries/tcs34725_with_multiplexer
Invalid library found in /Users/Computer/Documents/Arduino/libraries/trinket_flash_for_glasses_battery: /Users/Computer/Documents/Arduino/libraries/trinket_flash_for_glasses_battery

keshishiana
 
Posts: 18
Joined: Mon Nov 02, 2015 11:01 am

Re: bootloader.unlock_bits

by adafruit_support_rick on Thu Jun 09, 2016 1:55 pm

Are all those your program files? They don't belong in /libraries. They belong in your sketchbook folder. Create a folder called "First_glasses_prototype". Move the .ino file into that.

What are all the other files? Are they header files? They should have a .h extension if they are.

You should have /Users/Computer/Documents/Arduino/First_glasses_prototype/First_glasses_prototype.ino.

Any additional code files associated with First_glasses_prototype.ino should go into the same folder.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: bootloader.unlock_bits

by keshishiana on Thu Jun 09, 2016 2:19 pm

Sketch uses 890 bytes (16%) of program storage space. Maximum is 5,310 bytes.
Global variables use 13 bytes of dynamic memory.

avrdude: no programmer has been specified on the command line or the config file
Specify a programmer using the -c option and try again

file structure.jpg
file structure.jpg (77.7 KiB) Viewed 504 times



The program trying to run is "trinket_flash.ino"

keshishiana
 
Posts: 18
Joined: Mon Nov 02, 2015 11:01 am

Re: bootloader.unlock_bits

by adafruit_support_rick on Thu Jun 09, 2016 3:18 pm

Hmmm...

Couple of things. Move the trinket_flash folder up one level.
Remove avrdude.conf from the trinket_flash folder.

Did I mention this before? Can you enable Verbose on Compile and Verbose on Upload in the Arduino Preferences and post the whole trace of that? You'll have to restgart Arduino to get it to show up.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: bootloader.unlock_bits

by keshishiana on Thu Jun 09, 2016 3:47 pm

This is when I move the file over.
Screen Shot 2016-06-09 at 12.33.49 PM.png
Screen Shot 2016-06-09 at 12.33.49 PM.png (25.83 KiB) Viewed 500 times


I am also not sure what you mean by verbose? the preferences do not give me an option for that.
Screen Shot 2016-06-09 at 12.40.07 PM.png
Screen Shot 2016-06-09 at 12.40.07 PM.png (70.06 KiB) Viewed 500 times


I do verify and compile. and the output is in the previous screen. I am sorry if I am not answering your questions.
Screen Shot 2016-06-09 at 12.40.25 PM.png
Screen Shot 2016-06-09 at 12.40.25 PM.png (37.3 KiB) Viewed 500 times


Thank you

keshishiana
 
Posts: 18
Joined: Mon Nov 02, 2015 11:01 am

Re: bootloader.unlock_bits

by franklin97355 on Thu Jun 09, 2016 8:30 pm

Check these boxes.
Attachments
2016-06-09_17h29_41.png
2016-06-09_17h29_41.png (76.78 KiB) Viewed 490 times

franklin97355
 
Posts: 21647
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: bootloader.unlock_bits

by keshishiana on Fri Jun 10, 2016 12:28 pm

Code: Select all | TOGGLE FULL SIZE
/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware" -hardware "/Users/Computer/Library/Arduino15/packages" -tools "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/tools-builder" -tools "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/Computer/Library/Arduino15/packages" -built-in-libraries "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/libraries" -libraries "/Users/Computer/Documents/Arduino/libraries" -fqbn=adafruit:avr:trinket3 -ide-version=10607 -build-path "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/Computer/Documents/Arduino/trinket_flash_for_glasses_battery/trinket_flash/trinket_flash.ino"
/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware" -hardware "/Users/Computer/Library/Arduino15/packages" -tools "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/tools-builder" -tools "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/Computer/Library/Arduino15/packages" -built-in-libraries "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/libraries" -libraries "/Users/Computer/Documents/Arduino/libraries" -fqbn=adafruit:avr:trinket3 -ide-version=10607 -build-path "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/Computer/Documents/Arduino/trinket_flash_for_glasses_battery/trinket_flash/trinket_flash.ino"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR   "-I/Users/Computer/Library/Arduino15/packages/arduino/hardware/avr/1.6.11/cores/arduino" "-I/Users/Computer/Library/Arduino15/packages/adafruit/hardware/avr/1.4.7/variants/tiny8" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/sketch/trinket_flash.ino.cpp" -o "/dev/null"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR   "-I/Users/Computer/Library/Arduino15/packages/arduino/hardware/avr/1.6.11/cores/arduino" "-I/Users/Computer/Library/Arduino15/packages/adafruit/hardware/avr/1.4.7/variants/tiny8" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/sketch/trinket_flash.ino.cpp" -o "/dev/null"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR   "-I/Users/Computer/Library/Arduino15/packages/arduino/hardware/avr/1.6.11/cores/arduino" "-I/Users/Computer/Library/Arduino15/packages/adafruit/hardware/avr/1.4.7/variants/tiny8" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/sketch/trinket_flash.ino.cpp" -o "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR   "-I/Users/Computer/Library/Arduino15/packages/arduino/hardware/avr/1.6.11/cores/arduino" "-I/Users/Computer/Library/Arduino15/packages/adafruit/hardware/avr/1.4.7/variants/tiny8" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/sketch/trinket_flash.ino.cpp" -o "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/sketch/trinket_flash.ino.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR   "-I/Users/Computer/Library/Arduino15/packages/arduino/hardware/avr/1.6.11/cores/arduino" "-I/Users/Computer/Library/Arduino15/packages/adafruit/hardware/avr/1.4.7/variants/tiny8" "/Users/Computer/Library/Arduino15/packages/arduino/hardware/avr/1.6.11/cores/arduino/wiring_pulse.S" -o "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_pulse.S.o"
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/WInterrupts.c.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/hooks.c.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring.c.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_analog.c.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_digital.c.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_pulse.c.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_shift.c.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/CDC.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial0.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial1.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial2.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial3.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/IPAddress.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/PluggableUSB.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/Print.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/Stream.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/Tone.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/USBCore.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/WMath.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/WString.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/abi.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/main.cpp.o
Using previously compiled file: /var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/new.cpp.o
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_pulse.S.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/WInterrupts.c.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/hooks.c.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring.c.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_analog.c.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_digital.c.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_pulse.c.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/wiring_shift.c.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/CDC.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial0.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial1.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial2.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/HardwareSerial3.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/IPAddress.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/PluggableUSB.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/Print.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/Stream.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/Tone.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/USBCore.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/WMath.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/WString.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/abi.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/main.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/new.cpp.o"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=attiny85  -o "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/trinket_flash.ino.elf" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/sketch/trinket_flash.ino.cpp.o" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/core/core.a" "-L/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp" -lm
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/trinket_flash.ino.elf" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/trinket_flash.ino.eep"
"/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom  "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/trinket_flash.ino.elf" "/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/trinket_flash.ino.hex"

Sketch uses 890 bytes (16%) of program storage space. Maximum is 5,310 bytes.
Global variables use 13 bytes of dynamic memory.
/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v {program.verify} -pattiny85 -cusbtiny -Uflash:w:/var/folders/tk/ssgbqm8j069b6q1wqkk3gdbm0000gn/T/build4f6e807327bf9eb4c9950e900ce018ae.tmp/trinket_flash.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/Users/Computer/Desktop/Adam Eye Project/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/Computer/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping


avrdude: no programmer has been specified on the command line or the config file
         Specify a programmer using the -c option and try again

keshishiana
 
Posts: 18
Joined: Mon Nov 02, 2015 11:01 am

Re: bootloader.unlock_bits

by adafruit_support_rick on Fri Jun 10, 2016 1:35 pm

OK, so I compiled and loaded a simple Blink program. Here's what I get when it goes to upload:
Code: Select all | TOGGLE FULL SIZE
Sketch uses 814 bytes (15%) of program storage space. Maximum is 5,310 bytes.
Global variables use 9 bytes of dynamic memory.
/Users/rick/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude -C/Users/rick/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/etc/avrdude.conf -v -pattiny85 -cusbtiny -Uflash:w:/var/folders/rm/42sbjlxr8xj2q60059_spx7r0000gn/T/buildbe0b0174131777f1cf5d34b5be546d17.tmp/Blink.ino.hex:i

The stuff after "Global variables use 9 bytes of dynamic memory." is what we're interested in.

Your output is similar, except for two things - you somehow have "{program.verify}" stuck in before the processor and programmer are specified. I don't know why that's there, but it must be OK.. The other thing is that you are using the avrdude.conf from the Arduino IDE application package. On my computer, I'm using avrdude.conf from the Arduino15 library folder. I suspect that this is the problem.

I suggest you delete the Arduino app, and also delete the Arduino15 folder. Arduino15 is at ~LIbrary/Arduino15. In the Finder, open the Go menu and select Go To Folder...
In the dialog box, enter ~/Library and click Go. Move the Arduino15 folder to the trash.

Now re-download and install the Arduino software. Repeat the process of installing the Adafruit boards package, as described in the tutorial.

See if that helps.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: bootloader.unlock_bits

by keshishiana on Mon Jun 13, 2016 10:11 pm

Completely removed and reinstalled- it works and not getting similar error on the MEGA board.

keshishiana
 
Posts: 18
Joined: Mon Nov 02, 2015 11:01 am

Re: bootloader.unlock_bits

by adafruit_support_rick on Tue Jun 14, 2016 12:28 pm

Great!

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.