Hello,
I have a problem flashing one of my Sensebender Micros, maybe someone can help.
The board is not connected to anything but the FTDI programmer. I already used this programmer on several other Sensebenders and all worked flawless. The error message from avrdude is: "stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90"
The board itself is ok, the initial software worked and was able to send messages to the gateway and print serial debug messages. I also can burn sketches directly using the spi programmer. I also burned the dualboot bootloader again, but that didnt solve the flash problem.
Here is the complete output of the flash procedure:
avrdude: Version 6.3, compiled on Jun 22 2016 at 16:05:21
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM15
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
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 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 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 : Arduino
Description : Arduino
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90
Hardware Version: 4728160
Firmware Version: 0.4598627
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90
Vtarget : 0.3 V
Varef : 200212948.0 V
Oscillator : 921.600 kHz
SCK period : 3.3 us
avrdude: AVR device initialized and ready to accept instructions
Reading |
avrdude: arduino_read_sig_bytes(): (a) protocol error, expect=0x10, resp=0x90
avrdude: error reading signature data for part "ATmega328P", rc=-3
avrdude: error reading signature data, rc=-1
avrdude: stk500_disable(): unknown response=0x90