betaflight/unified-targets

OSD gone above Betaflight 4.3.2

Tinygo1 opened this issue ยท 15 comments

Describe the bug

I have a drone with a GEPRC TAKER F411 8Bit 12A AIO flight controller. The OSD works fine on Betaflight 4.3.2 but if i pick a version above that my OSD stops working and i cant seem to find the problem. OSD is on in settings, i connected a battary (even when never needed before), tried to use my backup from working OSD settings. I then get a few error lines shown in picture. Anyone knows a fix?
OSD error

To Reproduce

Take a GEPRC TAKER F411 8Bit 12A AIO flight controller with working settings (backup) and flash it above 4.3.2

Expected behavior

OSD not showing in goggles anymore.

Support ID

1a21a3f9-1614-49d1-8c29-01b9a6a43496

Flight controller

GEPRC TAKER F411 8Bit 12A AIO with on board ELRS

Other components

Geprc Rad Whoop 5.8G Vtx 32CH Pitmode

How are the different components wired up (including port information)

No response

Add any other context about the problem that you think might be relevant here

No response

This is another example where sharing SPI no longer works.

Guess i will have to fly without OSD for now then.

Guess i will have to fly without OSD for now then.

or keep flying 4.3.x ; nothing wrong with such.

The problem is i can't connect to the SPI than. So im choosing between no OSD or no controlls lol. I tried the bind command in CLI with version 4.3.2 but that did not work.

Whilst sharing SPI busses isn't ideal, the only case where is simply won't work is where the bus for the SD card is shared. Such sub-optimal device assignment doesn't explain the invalid resource names.

From https://build.betaflight.com/api/support/1a21a3f9-1614-49d1-8c29-01b9a6a43496 I see that OSD is disabled. The following are set.

resource FLASH_CS 1 A08
resource OSD_CS 1 B12

The fact that resetting to defaults produces these errors suggests that FLASH and OSD support are excluded from the build.

https://build.betaflight.com/api/builds/5cdf41dd7f882ec1d70965625d16fb92/log shows that -DCORE_BUILD is defined.

@Tinygo1 Could you please try flashing again using an online build without using the Core Only switch.

5003f807-91ff-4730-b939-053f2d2236fd

Thisone is with the settings i usually run.

Is it solved?

No i gave up for now. Will try to figure it out later, or just steal the kitchen timer from the lady and fly without OSD.

this unified target seems to not have any USE_FLASH defined. https://github.com/betaflight/unified-targets/blob/master/configs/default/GEPR-GEPRCF411SX1280.config , yet as Steve pointed out does indeed have a flash resource set.

OSD is enabled correct? just asking because it's not set as a enabled by default in unified target.
image

@nerdCopter

Yes i have it enabled in the settings.
OSD Settings

Poorten

And it works right away with this settings when i go back to Betaflight version 4.3.2 Also i am aware of the new (Other options) to leave stuff off when Flashing. So i don't think that is the problem neither.
Other options

Thanks for still looking into it. You guys are great.

When enabling show custom release + enable expert mode you can add FLASH FLASH_W25Q128FV to Custom Defines.

Should not be needed but can you also add OSD (HD) to Other Options

@haslinghuis

Interesting, i tried the things you advised:
Custom Defines

It did not work yet but i noticed the five error messages i got when loading my settings the first time now turned into two.
Error two

Also when i run Core only flash version 4.4.2 it seems to work fine.

Also add MAX7456 to custom define and it will work ๐Ÿ˜ - as it's missing in configuration. Does blackbox work now?

@haslinghuis

Making a deep bow and doing a standing ovation. Thanks! And yes Blackbox is working also indeed.