Buenas tardes,
Estoy embarcado en un nuevo proyecto con esta placa. Estoy intentando programarlo con un USBASP. (Cargarle el sketch).
Consigo cargar sin problema el Boorloader. Pero el sketch no hay manera.
He probado tanto el avrdude como arduino ide. No me dan ningún error a la hora de hacer la cagar del sketch, pero el arduino se queda con el led de pin 13 encendido.
El scketch que estoy intentado cargar es el tipo blink.
Gracias
Salida del avrdude:
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/xxx/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : usb
Using Programmer : usbasp-clone
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : Any usbasp clone with correct VID/PID
avrdude: auto set sck period (because given equals null)
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as FD
avrdude: reading input file "blink.ino.with_bootloader.mega.hex"
avrdude: input file blink.ino.with_bootloader.mega.hex auto detected as Intel Hex
avrdude: writing flash (64798 bytes):
Writing | ################################################## | 100% 0.71s
avrdude: 64798 bytes of flash written
avrdude: verifying flash memory against blink.ino.with_bootloader.mega.hex:
avrdude: load data flash data from input file blink.ino.with_bootloader.mega.hex:
avrdude: input file blink.ino.with_bootloader.mega.hex auto detected as Intel Hex
avrdude: input file blink.ino.with_bootloader.mega.hex contains 64798 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.40s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x005e
0x00 != 0x0f
avrdude: verification error; content mismatch
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:D8, L:FF)
avrdude done. Thank you.