Programming Arduino Mega2560
Posted: Mon Mar 03, 2014 3:31 pm
After reading several posts for the settings and configuration of the problem that I found myself in programming arduino Mega2560 was always this:
Avvio del programmatore...
C:\Program Files (x86)\Flowcode 6\compilers\avr\bin\avrdude.exe -c stk500v2 -p m2560 -P COM6 -b 115200 -U flash:w:"led pulse.hex":a
...............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
..............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
..............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
..............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
C:\Program Files (x86)\Flowcode 6\compilers\avr\bin\avrdude.exe ha riportato il codice di errore 255
TERMINATO
Given that the problem is reported by several users I waited several days hoping that MATRIXmultimedia should release the solution then I decided to bang your head until you try scaraicare this test to download what I found in various distributions AVRDUDE 2 files replaced with those present in the folder where you installed Flowcode finally solved the problem.
The tests are conducted by me only at module ARDUINO MEGA 2560

Please administrators to block the link to my google drive where I hosted the files that I extracted from a package AVRDUDE
Those who need it can safely benefit from it
https://drive.google.com/file/d/0B3X-i1 ... sp=sharing
Avvio del programmatore...
C:\Program Files (x86)\Flowcode 6\compilers\avr\bin\avrdude.exe -c stk500v2 -p m2560 -P COM6 -b 115200 -U flash:w:"led pulse.hex":a
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e9801
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: stk500v2_command(): command failed
avrdude.exe: reading input file "led pulse.hex"
avrdude.exe: input file led pulse.hex auto detected as Intel Hex
avrdude.exe: writing flash (940 bytes):
Writing | ################################################## | 100% 0.14s
avrdude.exe: 940 bytes of flash written
avrdude.exe: verifying flash memory against led pulse.hex:
avrdude.exe: load data flash data from input file led pulse.hex:
avrdude.exe: input file led pulse.hex auto detected as Intel Hex
avrdude.exe: input file led pulse.hex contains 940 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 0.09s
avrdude.exe: verifying ...
avrdude.exe: 940 bytes of flash verified
avrdude.exe done. Thank you.
TERMINATO
Result after the substitution of the above files again tested only with ARDUINO MEGA 2560
Avvio del programmatore...
C:\Program Files (x86)\Flowcode 6\compilers\avr\bin\avrdude.exe -c stk500v2 -p m2560 -P COM6 -b 115200 -U flash:w:"led pulse.hex":a
...............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
..............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
..............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
..............
avrdude.exe: stk500_2_ReceiveMessage(): timeout
C:\Program Files (x86)\Flowcode 6\compilers\avr\bin\avrdude.exe ha riportato il codice di errore 255
TERMINATO
Given that the problem is reported by several users I waited several days hoping that MATRIXmultimedia should release the solution then I decided to bang your head until you try scaraicare this test to download what I found in various distributions AVRDUDE 2 files replaced with those present in the folder where you installed Flowcode finally solved the problem.
The tests are conducted by me only at module ARDUINO MEGA 2560

Please administrators to block the link to my google drive where I hosted the files that I extracted from a package AVRDUDE
Those who need it can safely benefit from it
https://drive.google.com/file/d/0B3X-i1 ... sp=sharing
Avvio del programmatore...
C:\Program Files (x86)\Flowcode 6\compilers\avr\bin\avrdude.exe -c stk500v2 -p m2560 -P COM6 -b 115200 -U flash:w:"led pulse.hex":a
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e9801
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: stk500v2_command(): command failed
avrdude.exe: reading input file "led pulse.hex"
avrdude.exe: input file led pulse.hex auto detected as Intel Hex
avrdude.exe: writing flash (940 bytes):
Writing | ################################################## | 100% 0.14s
avrdude.exe: 940 bytes of flash written
avrdude.exe: verifying flash memory against led pulse.hex:
avrdude.exe: load data flash data from input file led pulse.hex:
avrdude.exe: input file led pulse.hex auto detected as Intel Hex
avrdude.exe: input file led pulse.hex contains 940 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 0.09s
avrdude.exe: verifying ...
avrdude.exe: 940 bytes of flash verified
avrdude.exe done. Thank you.
TERMINATO
Result after the substitution of the above files again tested only with ARDUINO MEGA 2560