Arduino Mega 2560 - Programming Timeout
Posted: Fri Nov 21, 2014 11:55 am
Hello All,
We have been looking into the Arduino Mega 2560 programming issues and this is the outcome.
An Arduino Mega 2560 R3 will work fine with Flowcode v6.1 as is. Other Arduino targets should also work fine.
The original Arduino Mega 2560 doesn’t work with the programming software in Flowcode. We have replicated exactly the programmer parameters used by the Arduino software and this still isn’t working so it looks like the Arduino software is doing something extra on top of what the AVRdude programming software is doing.
Anyway we have investigated the Xloader tool available from here and this does work really well.
http://russemotto.com/xloader/
Again we investigated the AVRdude version and parameters but had no joy with this so whatever the Arduino software is doing, the Xloader must also be doing.
To use the Xloader tool to program a Mega2560 follow the steps below:
1. Compile your Flowcode project to hex
2. Open the Xloader.exe tool
3. Select the hex file you want to load
4. Select the Arduino device – Mega (ATMEGA2560)
5. Select the correct COM port for your Mega
6. Ensure the Baud rate is set to 115200
7. Click Upload.
Any Arduino guru's out there who might be able to spot what is going on or how we can resolve this please let us know.
We have been looking into the Arduino Mega 2560 programming issues and this is the outcome.
An Arduino Mega 2560 R3 will work fine with Flowcode v6.1 as is. Other Arduino targets should also work fine.
The original Arduino Mega 2560 doesn’t work with the programming software in Flowcode. We have replicated exactly the programmer parameters used by the Arduino software and this still isn’t working so it looks like the Arduino software is doing something extra on top of what the AVRdude programming software is doing.
Anyway we have investigated the Xloader tool available from here and this does work really well.
http://russemotto.com/xloader/
Again we investigated the AVRdude version and parameters but had no joy with this so whatever the Arduino software is doing, the Xloader must also be doing.
To use the Xloader tool to program a Mega2560 follow the steps below:
1. Compile your Flowcode project to hex
2. Open the Xloader.exe tool
3. Select the hex file you want to load
4. Select the Arduino device – Mega (ATMEGA2560)
5. Select the correct COM port for your Mega
6. Ensure the Baud rate is set to 115200
7. Click Upload.
Any Arduino guru's out there who might be able to spot what is going on or how we can resolve this please let us know.