Re: Uploaded bootloader, can't upload firmware
Posted: Tue Apr 28, 2020 9:11 am
Hmmm. So avrdude says the bootloader is written successfully. But Cura or firmware toolkit cannot upload firmware to the printer. After writing the bootloader, I read it out with this command:
In the read.hex file, the bootloader has code beginning at address 0x1E000, ending at 0x1FD1F. Then the same code repeats at starting address 0x3E000. The bootloader hex programming file only has code at the 0x3E000 starting address.
Does this mean the usbasp with its firmware is not able to correctly support atmega2560 device? It seems that the 0x00000 to 0x1FFFF address range is duplicated at 0x20000 to 0x3FFFF. The address MSB is stuck? Not good. My arduino uno has died so I can't use that, have ordered a new one.
Code: Select all
"C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe" -C "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -v -p atmega2560 -c usbasp-clone -P usb -U flash:r:"read.hex":i
Does this mean the usbasp with its firmware is not able to correctly support atmega2560 device? It seems that the 0x00000 to 0x1FFFF address range is duplicated at 0x20000 to 0x3FFFF. The address MSB is stuck? Not good. My arduino uno has died so I can't use that, have ordered a new one.