Modifications

Sauter à la navigation Sauter à la recherche
3 octets supprimés ,  8 novembre 2014 à 20:47
Ligne 3 : Ligne 3 :  
== A propos du Bootloader ==
 
== A propos du Bootloader ==
 
{{bloc-etroit|text=A bootloader is a tiny piece of software residing on the microcontroller that that helps load your own code into the remaining space.
 
{{bloc-etroit|text=A bootloader is a tiny piece of software residing on the microcontroller that that helps load your own code into the remaining space.
      
One of the challenges with the Pro Trinket is that we wanted to have a built-in USB bootloader, but the ATmega328 doesn't have built-in USB hardware!
 
One of the challenges with the Pro Trinket is that we wanted to have a built-in USB bootloader, but the ATmega328 doesn't have built-in USB hardware!
      
So instead, [http://www.frank-zhao.com/ Frank (our awesome engineer with mad USB chops)] created a USB bootloader that combines the elegance of V-USB with the well-supported and tested nature of the USBtinyISP. This bootloader looks just like a USBtinyISP - and since it uses the unique Adafruit VID/PID we own and that we added to {{underline|avrdude}} so long ago, it works with only very minimal configuraton tweaks. No need to recompile anything, whew!
 
So instead, [http://www.frank-zhao.com/ Frank (our awesome engineer with mad USB chops)] created a USB bootloader that combines the elegance of V-USB with the well-supported and tested nature of the USBtinyISP. This bootloader looks just like a USBtinyISP - and since it uses the unique Adafruit VID/PID we own and that we added to {{underline|avrdude}} so long ago, it works with only very minimal configuraton tweaks. No need to recompile anything, whew!
      
Then, since we had a little space left in the bootloader area of the chip, we added Optiboot support. You can use either the USB connector or an FTDI cable so that it acts just like an Arduino Uno for programming, for max flexibility.
 
Then, since we had a little space left in the bootloader area of the chip, we added Optiboot support. You can use either the USB connector or an FTDI cable so that it acts just like an Arduino Uno for programming, for max flexibility.
      
The Pro Trinket is smart enough to auto-detect which bootloader you are trying to use. If you plug the USB port in, it will enumerate as a USBtinyISP for USB bootloader. If you plug in FTDI and use the Arduino Uno programming procedure it will use that technique
 
The Pro Trinket is smart enough to auto-detect which bootloader you are trying to use. If you plug the USB port in, it will enumerate as a USBtinyISP for USB bootloader. If you plug in FTDI and use the Arduino Uno programming procedure it will use that technique
Ligne 19 : Ligne 15 :     
}}
 
}}
 +
 
== Pro Trinket USB Drivers for Windows ==
 
== Pro Trinket USB Drivers for Windows ==
 
The cool thing about the bootloader on the Pro Trinket is it just looks like a classic USBtinyISP AVR programmer. This makes it easy to use with AVRdude or Arduino IDE with only minor configuration changes. Before you start, you may need to install the USBtinyISP USB drivers
 
The cool thing about the bootloader on the Pro Trinket is it just looks like a classic USBtinyISP AVR programmer. This makes it easy to use with AVRdude or Arduino IDE with only minor configuration changes. Before you start, you may need to install the USBtinyISP USB drivers
29 917

modifications

Menu de navigation