MCUdude / MegaCore

Arduino hardware package for ATmega64, ATmega128, ATmega165, ATmega169, ATmega325, ATmega329, ATmega640, ATmega645, ATmega649, ATmega1280, ATmega1281, ATmega2560, ATmega2561, ATmega3250, ATmega3290, ATmega6450, ATmega6490, AT90CAN32, AT90CAN64 and AT90CAN128
Other
389 stars 121 forks source link

Doesn't work on arduino mega 2560 (clone) #211

Open belpyro opened 11 months ago

belpyro commented 11 months ago

I tried several megas, and none worked after the bootloader replacement. MiniCore works properly with UNO (cloned). The error looks like:

Programmer Type : Urclock
         Description     : Urclock programmer for urboot bootloaders using urprotocol
         Urboot protocol for ATmega2560
avrdude: AVR device initialized and ready to accept instructions
avrdude ur_initstruct() error: unknown bootloader ... please specify -xbootsize=<num>

avrdude avr_signature() error: unable to read signature data for part ATmega2560, rc=-1
avrdude main() error: unable to read signature data, rc=-1

My settings are:

image

Could someone route me on the right way? Thx! P.s. I need clarification that the bootloader is always the same. Fuses changed only. Is it correct?

MCUdude commented 11 months ago

... And you have burned the bootloader bundled with Megacore, using your USBasp programmer?

belpyro commented 11 months ago

... And you have burned the bootloader bundled with Megacore, using your USBasp programmer?

Yes. That's correct. As I mentioned before, the same approach for UNO works fine. Thx!