abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.03k stars 321 forks source link

Correct MCU/Board relationship #179

Closed osamuaoki closed 2 years ago

osamuaoki commented 2 years ago

https://www.pjrc.com/teensy/jump_to_bootloader.html (2021/Dec)

Each board has a different beginning address for the bootloader.

Original bootloaders for Teensy 2 comes with a proprietary 512 Byte HID bootloader called halfkey. So the address needs to be adjusted for bigger LUFA bootloaders. For free 512 Byte bootloaders for ATMEGA32U4, see:

(I have no information on other original bootloaders)

PJRC site lists:

Model Chip Jump Address Estimated max bootloader size (byte address)

Teensy 1.0 AT90USB162 0x3E00 ( 512 Byte max) Teensy++ 1.0 AT90USB646 0xFC00 (2048 Byte max)

Teensy 2.0 ATMEGA32U4 0x7E00 ( 512 Byte max) Teensy++ 2.0 AT90USB1286 0x1FC00 (2048 Byte max)

LED pins are always at D6 but its polarity changed from Teensy/Teensy++ to Teensy2/Teensy2++.

https://www.pjrc.com/teensy/prescaler.html All use F_CPU = 16000000

Signed-off-by: Osamu Aoki osamu@debian.org

abcminiuser commented 2 years ago

Thanks!