iNav Softserial not working with F4 Omnibus V5.1 Target OmnibusF4V3
Board and Version
F4 Omnibus V5.1
https://www.hobbyrc.co.uk/airbot-omnibus-f4-v5-flight-controller
Version of INAV used goes here
1.9.2

When trying to activate CPU Softserial option in configuration, I click on Save and Reboot, and I have the error with com port see pict attached. I was able to do this work before with an F4 Omnibus Pro V2 and this is working with Betaflight following these instructions: https://blog.dronetrest.com/omnibus-f4-flight-controller-guide/#receiver
Blackbox logs/Config (.ZIP) where problem occurs
_Go to CLI, execute dump command copy its output to PasteBin and provide a link to a paste here.
Upload a zipped blackbox log (if available)
Softserial on Omnibus F4 with iNav is on the PC8/PC9 pins. Usually small pads named CH5/CH6 (note different from PWM5/6). CH5 = RX, CH6 = TX. Looks like on the V5.1 these pads doesn't exist. The RX is not routed but you should be able to use the TX for telemetry by connecting to this via (you need to remove the solder mask):

Thanks, it appears that with Target OMNIBUSF4PRO I can enable the SoftSerial, but I was told that the right target for this board was OMNIBUSF4V3, so it seems the architecture of this board is a PRO??
For the pin (see pict) there is CH6 on the same pin as TX6 and a CH4 with RX6 and a CH2 small pad just bottom of CPU, I know th CLI "resource" command in Betaflight (like resource SERIAL_TX 11 A09) but not in iNav, could you tell me what is the right command to resource for example CH6 on the right pin? Or where can I find this? Thanks.

Indeed I did not think about that. The right target for this board is most likely OMNIBUSF4V3. No soft serial for this target... Resource mapping is not available in iNav you have to modify the target file(s) and build a custom hex.
Thanks, but what's strange is that this half supported board is in the sponsorised list of boards Airbot Omnibus AIO F4... https://github.com/iNavFlight/inav/wiki/Supported-boards, we can expect from Airbot that the V5 is just a "bug corrected" board, but it appears that this is not the case :( So with they add an OMNIBUSF4V5 target? Really do not understand why ALL the functionnalities of this board works perfectly with Betaflight and not with iNav. This is a newbie report point of view, do not be offensed :)
What is working with Betaflight but not iNav ? You don't have soft serial on Betaflight with this board unless you remap pins to use with soft serial. Same thing with iNav. The difference is that with Betaflight you can remap pins at run time while you can't with iNav (see this issue for a discussion about this feature: https://github.com/iNavFlight/inav/issues/1145). You can do it but you need to build a custom version.
Why did they remove the CH5/CH6 pads for OmnibusF4 versions >= 3 ? It is only a guess but it might be because they needed one more pin for controlling the UART6 inverter. The pin connected on older versions to the CH5 pad is now used for this.
If you are not using PWM5 or PWM6 you could use one of these pads for the soft serial port. CH2 might be an option too.
Thanks you said: If you are not using PWM5 or PWM6 you could use one of these pads for the soft serial port. CH2 might be an option too. How to assign Serialsoft to PWM5 for example? CLI command?
You can't. As stated before you need to build a custom binary with the soft serial pin(s) assigned to the one(s) you want. This should work with soft serial on PWM6: inav_1.9.0_OMNIBUSF4V3.hex.zip
The patch you will need for building your custom version when upgrading:
diff --git a/src/main/target/OMNIBUSF4/target.h b/src/main/target/OMNIBUSF4/target.h
index d3e4f74d..c99ed872 100644
--- a/src/main/target/OMNIBUSF4/target.h
+++ b/src/main/target/OMNIBUSF4/target.h
@@ -135,14 +135,15 @@
#define UART6_RX_PIN PC7
#define UART6_TX_PIN PC6
+#define USE_SOFTSERIAL1
+#define SERIAL_PORT_COUNT 5 //VCP, USART1, USART3, USART6, SOFTSERIAL1
+
#if defined(OMNIBUSF4V3)
-#define SERIAL_PORT_COUNT 4 //VCP, USART1, USART3, USART6
+#define SOFTSERIAL_1_RX_PIN NONE
+#define SOFTSERIAL_1_TX_PIN PA8
#else
-#define USE_SOFTSERIAL1
#define SOFTSERIAL_1_RX_PIN PC8
#define SOFTSERIAL_1_TX_PIN PC9
-
-#define SERIAL_PORT_COUNT 5 //VCP, USART1, USART3, USART6, SOFTSERIAL1
#endif
#define USE_SPI
WOW, I will give a try, thank for your patience... I confirm it works, get my telemetry on PWM6, thanks very much! Chris
HI
I am very new to all this,I have an Omnibus F4 V5 and am wondering if its possible to remap the PWM5 and 6 to Softserial ?.
would this require a custom build of INav 1.9.0 ?
If so can someone please help me in how I do this.
THank You
@ST02CMC If you want to use soft serial for telemetry you can use the file I posted earlier. It make a bidirectional soft serial port available on PWM6.
@shellixyz
Thanks for the responce.
I need to use softserial for tx/rx on PWM 5 & 6 as i require both, this is so i can use the switch record function on my runcam.
I take it that will require a custom build doing then ?
@shellixyz, when frsky Fport will be implemented, will not need this patch anymore, will have telemetry through sBus, right?
@ST02CMC Yes you need a custom build, RX is on PWM5 and TX on PWM6: inav_1.9.0_OMNIBUSF4V3.hex.zip
The patch you will need for building your custom version when upgrading:
diff --git a/src/main/target/OMNIBUSF4/target.h b/src/main/target/OMNIBUSF4/target.h
index d3e4f74d..e1d7ae42 100644
--- a/src/main/target/OMNIBUSF4/target.h
+++ b/src/main/target/OMNIBUSF4/target.h
@@ -135,14 +135,15 @@
#define UART6_RX_PIN PC7
#define UART6_TX_PIN PC6
+#define USE_SOFTSERIAL1
+#define SERIAL_PORT_COUNT 5 //VCP, USART1, USART3, USART6, SOFTSERIAL1
+
#if defined(OMNIBUSF4V3)
-#define SERIAL_PORT_COUNT 4 //VCP, USART1, USART3, USART6
+#define SOFTSERIAL_1_RX_PIN PA1
+#define SOFTSERIAL_1_TX_PIN PA8
#else
-#define USE_SOFTSERIAL1
#define SOFTSERIAL_1_RX_PIN PC8
#define SOFTSERIAL_1_TX_PIN PC9
-
-#define SERIAL_PORT_COUNT 5 //VCP, USART1, USART3, USART6, SOFTSERIAL1
#endif
#define USE_SPI
@chris669 Yes with FPort only one UART will be enough for the RX and telemetry
thanks for quality support
@shellixyz
I thought as much, I started installing the process to be able to make my own builds, but seem to have gotten lost somewhere.
Also, I am not sure which Resource pins i need to remap within the Target.h file, Could you please help with this?
Thanks Chris
@ST02CMC I already compiled 1.9.0 with the necessary changes you just need to flash the hex file I provided in my previous comment. For next versions apply the patch I provided before building and it should work fine. If you want to make the changes manually SOFTSERIAL_1_RX_PIN needs to be set to PA1 and SOFTSERIAL_1_TX_PIN needs to be set to PA8.
@shellixyz
Thank you sorry I did not quite understand you had made the changes already.
again Thank you
@shellixyz : Hello, I can not create my own firmware for FC OmnibusF4V3. Can you help me? I need to change the following: A01: MOTOR5 OUT - change to softserial 11 TX, A08: MOTOR6 OUT - change to softserial 11 RX, B06: FREE - change to softserial 12 TX and A09: FREE - change to softserial 12 RX. Will you create my own hex file? Thank you.
@romko1 I don't think that would work because softserial 1 and 2 RX lines would share the same timer.