Arduino MINI : avrdude: stk500_recv() - during upload for big sketches


hello,

uploading on arduino (5v) mini works serial adapter.
but when i'm trying upload bigger sketches, upload stops given error. in fact, above 87.5% flash upload stops.

here logs successfull upload , failing case : 

code: [select]
avr memory usage
----------------
device: atmega328p

program:   28630 bytes (87.4% full)
(.text + .data + .bootloader)

data:       1262 bytes (61.6% full)
(.data + .bss + .noinit)


code: [select]

avrdude -patmega328p -carduino -p/dev/ttyusb0 -b115200 -d -uflash:w:./atmega_328p_mini_debug/container_node.hex:i

avrdude: avr device initialized , ready accept instructions

reading | ################################################## | 100% 0.00s

avrdude: device signature = 0x1e950f
avrdude: reading input file "./atmega_328p_mini_debug/container_node.hex"
avrdude: writing flash (28630 bytes):

writing | ################################################## | 100% 4.03s

avrdude: 28630 bytes of flash written
avrdude: verifying flash memory against ./atmega_328p_mini_debug/container_node.hex:
avrdude: load data flash data input file ./atmega_328p_mini_debug/container_node.hex:
avrdude: input file ./atmega_328p_mini_debug/container_node.hex contains 28630 bytes
avrdude: reading on-chip flash data:

reading | ################################################## | 100% 2.91s

avrdude: verifying ...
avrdude: 28630 bytes of flash verified

avrdude: safemode: fuses ok (e:00, h:00, l:00)

avrdude done.  thank you.


and when fails bigger sketches :

code: [select]
avr memory usage
----------------
device: atmega328p

program:   28694 bytes (87.6% full)
(.text + .data + .bootloader)

data:       1262 bytes (61.6% full)
(.data + .bss + .noinit)


finished building: sizedummy


code: [select]

avrdude -patmega328p -carduino -p/dev/ttyusb0 -b115200 -d -uflash:w:./atmega_328p_mini_debug/container_node.hex:i

avrdude: avr device initialized , ready accept instructions

reading | ################################################## | 100% 0.00s

avrdude: device signature = 0x1e950f
avrdude: reading input file "./atmega_328p_mini_debug/container_node.hex"
avrdude: writing flash (28694 bytes):

writing | ################################################## | 99% 4.01savrdude: stk500_recv(): programmer not responding


these 2 cases uploaded on arduino uno.
maybe bootloader bigger on mini on uno? such big difference in bootloader seems strange.

any other ideas?

regards

uno specs per products data page: 
flash memory32 kb (atmega328) of 0.5 kb used bootloader

mini specs per products data page:
flash memory32 kb (of 2 kb used bootloader)




Arduino Forum > Using Arduino > Installation & Troubleshooting > Arduino MINI : avrdude: stk500_recv() - during upload for big sketches


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code