Zum Inhalt springen

Usblinky: Unterschied zwischen den Versionen

Overflo (Diskussion | Beiträge)
Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 43: Zeile 43:




===Pitfalls and lessons learned ===
==Pitfalls and lessons learned ==
===Adafruit trinket===
===Adafruit trinket===
Adafruit built another bootloader that uses a similar trick than micronucleus.
Adafruit built another bootloader that uses a similar trick than micronucleus.
Zeile 60: Zeile 60:


Under some special circumstances it can happen that the bootloader falsy triggers and the FLASH on the MCU is damaged and it can not be programmed any more over USB.
Under some special circumstances it can happen that the bootloader falsy triggers and the FLASH on the MCU is damaged and it can not be programmed any more over USB.
===Digispark / micronucleus===


That was the point that i took a closer look at the micronucleus bootloader.
That was the point that i took a closer look at the micronucleus bootloader.
Zeile 67: Zeile 70:
The drawback is that you need to modify the arduino environment, but there are packages available for that.
The drawback is that you need to modify the arduino environment, but there are packages available for that.


When I used the usblinky as a BUTTON for the selfiebooth setup i realized that the pinout is inversed on the trinket.
When I used the usblinky as a BUTTON for the selfiebooth setup I realized that the pinout differs on the trinket.


D+ and D- are switched on the MCU side.
D+ and D- are switched on the MCU side.