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
david.guio@avianca.com
Posts: 1
HI, and thanks for you support.


I already have about 4 components loaded in each Mega and work fine, But when I try to add a new component Ex. LCD or Encoder (any), through Mobiflight modules, It says Upload success, so The new component is listed normally, now that is what happens in different cases.

1. If i update firmware the new component get erased from the list in Settings/Mobiflight modules (the prior or old components listed normally)

2.If I reaload config the new component get erased from the list in Settings/Mobiflight modules (the prior or old components listed normally)

3. (Ex. with and LCD),after Upload success, OK button, then go to to the ConfigWizard to link the new LCD to an output, through <Display> i select the serial number, then in the list of <Use type of> the LCD is not listed, so I go again to mobiflight modules, and in the MEGA appears with No modules listed, I mean even the previous that have been working ok, So I use the actions of cases 1 and 2 and the list of the prior or old components listed normally again.

that means I cannot add any component despite the old components saved before I have been working in this all this month

my specs:
-2 Mega boards (both happens the same)

My actions
tried in 2 desktop PC Windows 10 64bits.
MF connector have been installed inside and outside Archivex86 (protected file) and no change
connected one board at a time, no change.
I reinstalled the MF connector many times in different places and executed as admin.
I closed an restarted many many times
i used Logging with debug.
i saved the loaded list in an other MFMC file, and saves ok (as file) but again does not upload to the Mega board


I really hope to fix this, I have greatexpectations of you Work since I started.
2020-04-12 20:19
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Apologgy for your trouble.....
But i not be able to understand your request.... Maby in case of translating something is missed or you use wrong terms .

For example you say " If i update firmware the new component get erased from the list in Settings/Mobiflight modules"
Why do you update firmware ?? You said the boards run fine before with other devices.... So you need only to UPLOAD this new created device.... But not a Firmware !

Or you say.... "If I reaload config the new component get erased from the list in Settings/Mobiflight modules"
What means reload a config.... You Load the current used MCC file ? You load another mcc file ? Or do you mean you UPLOAD a already saved MFMC File ?

You see.... I can understand 20 different things from your descriptions.



Basic Idea:
You say you have just 2 Megas and on each are just 4 Components ( So 8 Devices at all)
I simply recommend to start from beginning !
With 200 Devices this is not profitable but with only 8 devices and 2 Megas it takes less then 5 Minutes to set them new instead of searching for a issue multiple hours.

Soo....
Step 1: Clear EEPROM
Use each Board single on the USB.... Open the Arduinio IDE..... Load the example file "Clear EEPROM" form the list of premade programmes.
Upload it to the Board
Disconnect Board and reconnect it to get sure the scatch is running for 1 time and completly delete the Mega.
Do the same with the second board.

Step 2: Flash Firmware.
Connect just 1 Board to USB
Start Mobiflight.
MF offert you to install new firmware on the detected board. Accept
After finishing Close Mobiflight
Disconnect Mega 1 and connect Mega 2
Start Mobiflight and do the same again for Board 2 Firmware flashing.
Finaly CLOSE Mobiflight again.... Remove Mega from USB and connect it again after 5 Seconds.

Step 3: Create Devices


************
Important logic.... I personaly recommend to make ALWAYS Restarts if you change things on the Mega ( Firmware Update or creating Devices)
If you create for example a LED Device then maby this will not work aslong you CLOSE and RESTART Mobiflight Software and also aslong you Retart Mega by disconnect /reconnect USB Wire. For excample maby the Pin is just change into a Output after the Restart happen...... I donĀ“t know.

Whatever this is basicly not official needed in most cases..... It have no disadvantage but protect you of rare issues. I would say narly 20-30% of Help Requests here in Forum would be solved already if user simply try a restart Mega and Mobiflight !


Please try EEPROM Clear..... If not helps reply... I try to help you !
Good Luck !
2020-04-13 00:50
icon