MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
kabouter_plons
Posts: 1
Hello,

After an attempt by Mobiflight Connector to flash to my MEGA 2560 board, it gave the message after some time:

There was an error on uploading the firmware for the board(s): Defauld (COM 10)

The log text:
Debug 12/30/2022 16:38:54 MobiFlightModule.get_Config(): Timeout. !InfoCommand.Ok. Retrying...
Debug 12/30/2022 16:38:57 MobiFlightModule.get_Config(): !InfoCommand.Ok. Init with empty config.
Debug 12/30/2022 16:38:59 MobiFlightModule.GetInfo(): Retrieved board: Arduino Mega 2560, Default, , .
Error 12/30/2022 16:38:59 MobiFlightFirmwareUpdater.RunAvrDude(): avrdude timed out! Something went wrong when flashing with command
"Arduino\hardware\tools\avr\bin\avrdude" -C"Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega2560 -cwiring -PCOM10 -b115200 -D -Uflash:w:"C:\Mobiflight \firmware\mobiflight_mega_2_3_0.hex":i.
Debug 12/30/2022 16:39:22 SimConnectCache.ClearSimVars(): SimVars Cleared.
Info 12/30/2022 16:39:22 AutoUpdateChecker.CheckForUpdate(): Checking for BETA update...
Info 12/30/2022 16:39:22 AutoUpdateChecker.CheckForUpdate(): MobiFlight is up to date.
Debug 12/30/2022 16:39:22 <AutoConnectTimer_TickAsync>d__105.MoveNext(): No Sim running.

I found the following solution in this forum:
"Basic Workflow.
If Mega make trouble a good idea is a Reset of the Board.
Use the EEPROM Clear sketch via Arduino IDE to completely delete the Memory.... Then the Board is like brand new and you can flash firmware again and test.
Mostly this solve a lot of problems.
"


However, in the Arduino IDE I also get an error after doing this procedure.

"Sketch uses 1374 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Failed uploading: uploading error: exit status 1"

I can't do anything at all now.... Please help!. Or should I throw away my board and buy a new one......
2022-12-30 17:16
icon