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
Trinket: how to stop bootloader mode on power up?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- pooldr
- Posts: 18
- Joined: Mon Sep 30, 2013 8:56 am
- pooldr
- Posts: 18
- Joined: Mon Sep 30, 2013 8:56 am
Re: Trinket: how to stop bootloader mode on power up?
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.
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.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Trinket: how to stop bootloader mode on power up?
Are you using the -D option in avrdude? See what happens without it.
- pooldr
- Posts: 18
- Joined: Mon Sep 30, 2013 8:56 am
Re: Trinket: how to stop bootloader mode on power up?
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
thanks for your help
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
thanks for your help
- pooldr
- Posts: 18
- Joined: Mon Sep 30, 2013 8:56 am
Re: Trinket: how to stop bootloader mode on power up?
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
@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
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Trinket: how to stop bootloader mode on power up?
Glad you got it going, but it shouldn't be that tough.
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.
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.
Please be positive and constructive with your questions and comments.