Trinket: how to stop bootloader mode on power up?

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.
User avatar
pooldr
 
Posts: 18
Joined: Mon Sep 30, 2013 8:56 am

Re: Trinket: how to stop bootloader mode on power up?

Post by pooldr »

Rick,

Thanks for reply.
Went into IDE and tried to download, came up with errors and Trinket went back into Bootloader mode.
So, i followed next instruction, and found the hex file, wow, long path, lol.

Used AVR to flash, looks like it went through as bootloader has gone, and blink code is no longer running.

Need to connect to I/O now, will see how this goes today.

I hope this thread helps others,

thanks

Doug

User avatar
pooldr
 
Posts: 18
Joined: Mon Sep 30, 2013 8:56 am

Re: Trinket: how to stop bootloader mode on power up?

Post by pooldr »

Nope,

AVR tries to download, however, it reports,

avrdude: veriification error, first mismatch at byte 0x0047
avrdude: veriification error, content mismatch

Red led is now blinking 4 times a second, i guess this reflects the error.?

I noticed when i compile with compilation checked in preferences, avrdude has many red lines, i guess errors, to many to paste in here.

As it stands, it seems to me that avrdude.conf and avrdude.exe just don't work, i also note that there are at least 30+ versions out there on WEB.

Which one should your customers use, the conf file on adafruit obviously doesn't work, as i have never got this far before using it.

Getting very frustrated here, it shouldn't be this difficult.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trinket: how to stop bootloader mode on power up?

Post by adafruit_support_rick »

Are you using the -D option in avrdude? See what happens without it.

User avatar
pooldr
 
Posts: 18
Joined: Mon Sep 30, 2013 8:56 am

Re: Trinket: how to stop bootloader mode on power up?

Post by pooldr »

Rick,

I may have cracked it,..

download, http://download.savannah.gnu.org/releas ... -win32.zip

Put both .conf and .exe files into WinAVR folder.

Create HEX file from IDE and navigate to that folder. Enter bootloader, then...

First i used,
' avrdude -c usbtiny -p attiny85 -U flash:w:trinketblink.cpp.hex '

then immediately after, use this,
' avrdude -c usbtiny -p attiny85 -D -U flash:w:trinketblink.cpp.hex '

seem to do the trick, i have loaded 3 different sketches.

ahhh, success at last :D

thanks for your help

User avatar
pooldr
 
Posts: 18
Joined: Mon Sep 30, 2013 8:56 am

Re: Trinket: how to stop bootloader mode on power up?

Post by pooldr »

Guys,

@adafruit, i appreciate your help, i enjoy the challenge, the steps to achieve it, most importantly the success of my projects. cheers,


thank you..

Doug
N3NZZ

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trinket: how to stop bootloader mode on power up?

Post by adafruit_support_rick »

Glad you got it going, but it shouldn't be that tough. :oops:
We're working on these bootloader issues - for whatever reason, they are specific to Windows. We don't see these problems with MacOSX or Linux. :?

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

Return to “Trinket ATTiny, Trinket M0”