#Update Firmware not working
1 messages · Page 1 of 1 (latest)
Try the steps here: https://docs.mobiflight.com/guides/solving-flashing-errors/
still doesn't work
I had exactly the same board, and worked no problem. I don't understand why this one is not working?
Interesting that it reported likely as fake with the tool when the chip has proper printing on it
where did you buy it from?
Amazone
Do you have a link to the listing?
Same place i think the one before.
Standby
This Mega 2560 has been developed as a microcontroller board based on the ATmega2560. It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, and 4 UARTs (hardware serial ports). Furthermore, it has a USB connection, a power jack, an ICSP header, and a rese...
I confirm i bought it at the same place the last time
Unfortunately it's possible the board is just bad. The logs say that avrdude is timing out and that's outside the control of MobiFlight.
Personally, I would return it and order a known working board from the MobiFlight shop even though it costs a bit more. https://shop.mobiflight.com/product/arduino-mega-2560-pro-mini-usb-c
Ok, i guess i am returning it, and i will get an other one
Thank you for your help!
I tried with an other Mega 2560, and i end up with the same problem. What i done this time, is i tried it with Arduino IDE. I started with an error message. Then i proceed with a Auto format, then try to load a blanc sketch. After few try i was even able to load a code into the Mega. I did sent a blank sketch again to erase any code into the board. Then i tried mobiflight again with the same problem. Could we have a bug on the Mobiflight?
No, it isn't a bug in mobiflight. Since you've been running the Arduino IDE it could be that it is still using the com port. This is mentioned in the troubleshooting guide above, I would go through the guide again
No, the ardunio ide came after the fact. Like I said, I used this software to trouble shoot. Also with my other mega pro (the very first one, 2 months ago about), in the passed I did try to use it through the arduino ide, then went to Mobilflight with no problem.
I am just confused why 2 mega pro in a raw failed to work, and show the same problem? Does anybody had the same problem other than me?
Did you get the megas from the same source?
Unfortunately, yes. Importing from Europe, take time and it is expensive.
But I may not have the choice
for the 2nd one you've tried, post the complete logs with debug mode enabled after trying to flash it. Here's how to do that: https://docs.mobiflight.com/guides/sharing-logs/
How to share logs from MobiFlight when requesting support.
It's the same error as the other board:
03/15/2025 07:49:59(2): <>c.<RunAvrDude>b__11_1(): Writing | ########avrdude: stk500v2_ReceiveMessage(): timeout
Unfortunately this is outside of MobiFlight, it's the actual flashing tool failing to complete the flash
Ok thanks, I already bought one from your store. I will send this one back. Thank you for your help!
Is Arduino IDE able to load sketches to those two Mega boards?
If these are defective boards, you should not be able to load anything to them.
If on the other hand, you are able to, then there must be something else interfering with Mobiflight, as both Mobiflight and Arduino IDE use avrdude to do the loading.
Well at first, it did not work. then i tried to format the board, and load a blank sketch. After few try i was able to do so. I loaded an old code to to see if it will work, and it did work. i did not try to use the code, i just try to uploading it. Then i reload a blank sketch, and try again on Mobiflight. I still had the same problem
I did a try again, the first time something
happen, i tried again and it worked
try the blink example sketch. When loaded and running successfully, the led on the board will immediately start blinking.
if this works ok, then Mobiflight should work ok too. The issue like Neil mentioned is that other software that capture the com port might interfere with Mobiflight. Arduino IDE is one of those that cause interference, so make sure Arduino IDE is NOT running before you start Mobiflight.
Sorry i am not familiar with the "Blink example sketch". Where do i found that? Do you mean a blank sketch?
No. "blink". Open the Arduino IDE, go to File - Examples - Basics
I don't think it is something using the com port. The error in the log is different in that situation. In this case we do attempt to flash but then at times out after a while
ok, but if Arduino IDE is sucessful, then we have something else tripping up Mobiflight. I would not conclude it is a defective board.
Look at the video posted above from the IDE. It's not working there either, it's a tiny sketch that doesn't sucesssfully upload.
And OP has said several times it doesn't reliably work from the IDE
Did you look all the way to the end? because a the end it said upload completed.
I did do what you were asking me about the blink. The first time i done it, i had a red LED blinking. Because i forgot to check the LED of my board before doing the experience, i tried to redo the experience, and it is block on the upload.
You hit the cancel button, it shows "User abort"
It says it finished uploading
Yes i had to.
So did it work with blink or not?
I think it work the first time. I just do not know which LED of the 3 supposed to blink?
But i had the red one blinking about 1 second a part
If the led started blinking after the upload is finished, and stays blinking at 1 second interval, the upload was successful and the sketch is running correctly.
If you unplug and replug the board, it should start blinking again.
could not make it blink agian, i justed tried on my other computor. same problem. could not upload the program. I can do a blank sketch, but last it
I don't understand what a blank sketch is and how you would know that it is successful if it does not do anything.
If a basic sketch like blink does not work, then your board is defective.
A blanck sketch it is used to reset to board. I know it is uploaded by the flag saying " Done uploading" vs " Up loading" flag following with an error message.
Ok, so if you have no more trouble shooting, i will go sent the board back. Hope fully with the board i order on your web site, who should hope fully take no more than 2 weeks to arrive, will work fine.
There is no real need to load a blank sketch which does nothing. You can't test if the board works with that, even if IDE thinks the upload went well. Mobiflight uses the blink sketch to reset boards back to factory default. The mega boards all come with the blink sketch factory loaded.
loading a blank sketch, it is all about reseting the board. nothing else. Because "blink" file did not upload the second time. i did try to reset the board. It is all what i am trying to do. It was also in the passed a recommandation i had. Any way. i am sending back the board
I am not saying that you cannot load a blank sketch. The point is that if your board is faulty, a blank sketch, even if IDE says the upload was successful, gives you no useful information about the board functioning or not. So no, I would not recommend ever loading a blank sketch.
The Mega boards all come with blink loaded from factory. That way, when you first plug your board, the blinking led is a confirmation that the board is working ok.