See the following post (in this same thread) for firmware that fixes this issue:
https://forum.librepilot.org/index.php?topic=4912.msg32933#msg32933

New user eighttram sent me a CC3D that exhibited the problem and I tracked it down.  I will be posting a few fixed firmwares for popular versions of LP in this thread.

I have attached the one changed source file if you want to build it yourself.
flight/pios/inc/pios_flash_jedec_catalog.h

I have attached a picture of a CC3D with a Winbond flash chip and with an ST flash chip.  The flash chip is the one of the 3 big chips that only has 8 legs.  Note that the ST chip ST insignia is kind of "reverse video".

In the next post I intend to post patched CC3D firmwares for at least 16.09 and some recent nexts.  You can use this thread to request patched firmwares for various LP versions if you need something different.  It only takes 5 minutes to make another version.

With Winbond flash ram chips the Firmware page "FlightTime" starts counting at about the number 6 after pressing OK to Erase Settings.  The more typical ST flash ram chips start at about 23.  In several threads it was discussed that 3 seconds was bad and 23 seconds was good.  It looks like the Winbond chips are a lot faster to erase.  Note that these numbers do not affect flight at all.  It just takes a little longer to erase an ST chip.

Technical notes (simplified):
The CC3D settings are stored in a flash ram chip.  Flash ram chips can tell you their brand and model.  This is important because different ones are organized a little differently.  This "bad" CC3D has a brand of chip that was coded for, but was not the original production chip brand, so it had not been tested as much.  LP is coded to use 64k sectors in the flash chip.  The sector_erase command was coded as 0x20 for this brand/model of flash chip.  0x20 is a 4k sector erase command.  The correct command is 0xD8, which is a 64k sector erase command.  When erasing, the code would iterate through all the 64k sectors, but the 4k erase command would only erase the first 4k of each sector.  This left garbage behind, and the code would refuse to use what looked like bad flash memory with garbage in it when it should be clean.

Technical notes (full):
flashfs_m25p_cfg hard codes CC3D to use 64k erase sectors (the erase size), 64k arenas (like a disk partition), and 256 byte slots (like a disk file).  The code iterates through all the sectors in an arena (there is only one) and sends the erase sector command.  The wrong erase sector command was used, so only the first 4k (16 slots) of each arena was erased.  Later, when checking the validity of the arena, like before mounting it, the code would find erased slots, then used slots, then more erased slots, which should not happen and would violate code assumptions.  It would fail the mount, erase the whole thing and retry, and the retry would fail too.  Once the correct erase sector command is coded, it self heals and mounts correctly at the next boot, with no further code changes needed.
« Last Edit: October 05, 2020, 09:42:47 pm by TheOtherCliff »

Here is firmware for:
- 16.09
- next r782
- next r796

They shows up as "dirty" versions on the firmware page.  That's normal.  It's only because they have been modified by this fix.

Here are quick instructions how to flash this firmware or visit the wiki at:
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669250/Firmware+Rescue#FirmwareRescue-Stepbystep
==================
- Download the version of the *.opfw file that you need
- Unplug all CC3D power, including USB
- Go to Firmware page
- Press Rescue
- Plug in CC3D to USB
- Use the Open button to navigate to the downloaded *.opfw file and open it
- Press Flash
« Last Edit: August 05, 2020, 11:49:00 pm by TheOtherCliff »

Re: CC3D Erase/Save Settings problem - Wizard Mixer Error - FIXED!!!
« Reply #2 on: July 01, 2021, 11:17:17 pm »
I am unable to see the links for the firmwares to download. All I see are the listed points.

Re: CC3D Erase/Save Settings problem - Wizard Mixer Error - FIXED!!!
« Reply #3 on: July 02, 2021, 06:15:10 am »
The fixed CC3D firmwares are attached to the bottom of the post just before your post, in this thread.
Here is a link to the post where they are attached.
https://forum.librepilot.org/index.php?topic=4912.msg32933#msg32933

Re: CC3D Erase/Save Settings problem - Wizard Mixer Error - FIXED!!!
« Reply #4 on: July 02, 2021, 07:09:42 am »
Thank you.

Once we flash the firmware, do we just boot the cc3d?


Re: CC3D Erase/Save Settings problem - Wizard Mixer Error - FIXED!!!
« Reply #5 on: July 03, 2021, 02:44:50 am »
Yes

2022-06-14 More detail:  It automatically heals itself when it detects this issue at the first power up after flashing the new firmware.  That will erase the messed up settings, (leaving defaults) but the messed up settings were generally not flyable or even accessible anyway.  You will have to set it up again, but setup / save settings now works.
« Last Edit: June 14, 2022, 11:25:54 am by TheOtherCliff »

Re: CC3D Erase/Save Settings problem - Wizard Mixer Error - FIXED!!!
« Reply #6 on: July 30, 2021, 07:16:41 am »
Thank you so much!!  I've been struggling with this problem for a few days.  I've been unable to save any new settings, i just get the red X when I try to change any setting.  I just loaded your patched firmware and it saves now, yay!

Re: CC3D Erase/Save Settings problem - Wizard Mixer Error - FIXED!!!
« Reply #7 on: July 30, 2021, 09:06:32 pm »
Thank you for your post!   :)
Getting "Thank you's" is one big reason we continue to serve the community!   ;D  8)

I had researched that issue several times over the course of years without being able to recreate it until user eighttram graciously sent me a CC3D that was experiencing the issue.  This is not to say that other devs hadn't looked at it.  Some had.  Within a few days of cautiously treating that CC3D as gold, not wanting to do anything that might make the problem go away and not come back, the problem was found, fixed, and posted.

His CC3D (and yours) use a different brand of flash chip.  Different chip brands had been coded for, but right after CC3D was originally designed, that brand of flash chip had never been tested as the original production run of CC3D didn't use them.  Now, some clone CC3Ds are using them.
« Last Edit: July 30, 2021, 09:20:16 pm by TheOtherCliff »