inav icon indicating copy to clipboard operation
inav copied to clipboard

GEPRCF722 support

Open mooiweertje opened this issue 5 years ago • 44 comments

Current Behavior

GEPRCF722 not supported

Desired Behavior

GEPRCF722 supported

Suggested Solution

add GEPRCF722 support

Who does this impact? Who is this for?

Lee Schofield, GEPRCF722 users, GepRC Crocodile Baby 5 owners.

mooiweertje avatar May 17 '21 10:05 mooiweertje

Please download, flash and enjoy!

binary: jnav_2.6.1.5_GEPRCF722.zip source: GEPRCF722.zip

This implementation was tested and approved by Robustini who created a pull request for it https://github.com/iNavFlight/inav/pull/7055.

If you find any issues please comment here and if possible I will solve it for you.

fixes

  • Led strip
  • Flash memory

possible issues

  • none known

mooiweertje avatar May 17 '21 10:05 mooiweertje

Thanks for this, I have the HD version of this board, will give it a go and let you know how it goes.

Sedgee avatar May 17 '21 10:05 Sedgee

Well I never made an implementation so again thanks. I'll take it cautiously and here's hoping.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Mooiweertje @.> Sent: Monday, May 17, 2021 11:59:06 AM To: iNavFlight/inav @.> Cc: Sedgee @.>; Comment @.> Subject: Re: [iNavFlight/inav] GEPRCF722 support (#6978)

Thanks for this, I have the HD version of this board, will give it a go and let you know how it goes.

Well I never made an implementation without having the board itself so this might prove to be a challenge. I hope it installs and runs.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/iNavFlight/inav/issues/6978#issuecomment-842227918, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNEJMQ2JHHNHCOO6NMJPCDTODZHVANCNFSM45AF233A.

Sedgee avatar May 17 '21 11:05 Sedgee

This is the flight controller of the GepRC Crocodile Baby 5?

image image

mooiweertje avatar May 17 '21 11:05 mooiweertje

Hope suffices till perseverance and patience pays off. Is that the board you've compiled for? I'm out at the mo but I'll update my spec when I get home.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Mooiweertje @.> Sent: Monday, May 17, 2021 12:22:58 PM To: iNavFlight/inav @.> Cc: Sedgee @.>; Comment @.> Subject: Re: [iNavFlight/inav] GEPRCF722 support (#6978)

This is the board of the GepRC Crocodile Baby 5? [image]https://user-images.githubusercontent.com/37510531/118480573-b7731900-b712-11eb-91b2-a8f14eb70c26.png [image]https://user-images.githubusercontent.com/37510531/118480756-f2754c80-b712-11eb-8fa3-efaaac0fac3f.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/iNavFlight/inav/issues/6978#issuecomment-842243859, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNEJMQQVY3FVKXZWMZ4ZWLTOD4BFANCNFSM45AF233A.

Sedgee avatar May 17 '21 12:05 Sedgee

The build is setup the same as BF GEPRCF722 target. This is by GEPRC specified as target firmware for GepRC Crocodile Baby 5.

mooiweertje avatar May 17 '21 13:05 mooiweertje

Not had chance to test due to weather, will be a few days looking at the forecast. Will let you know as soon as I get the opportunity.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Mooiweertje @.> Sent: Thursday, May 20, 2021 7:59:04 PM To: iNavFlight/inav @.> Cc: Sedgee @.>; Manual @.> Subject: Re: [iNavFlight/inav] GEPRCF722 support (#6978)

Thanks for this, I have the HD version of this board, will give it a go and let you know how it goes.

Is it working?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/iNavFlight/inav/issues/6978#issuecomment-845396069, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNEJMRFVUQ3MFU7SJT6LITTOVLXRANCNFSM45AF233A.

Sedgee avatar May 20 '21 22:05 Sedgee

Does it flash and run on the board?

mooiweertje avatar May 26 '21 11:05 mooiweertje

Thank you mooiweertje~~!! I'm super newbie for drone and inav~~!!

I flashed your firmware to my span f722 hd fc and it's run normally!! Great job bros!

I built up for 3inch cinewhoop with gps(without compass) and baro sensor.

I found a issue for the althold,

When i setup without use hover throttle option. Alt hold function is almost acceptable but the drone reach the sky with full throttle when i choose althold with disable hover throttle option

I tried to fix it... change some value, set cli commands...Just follow github discussion.. but still reach the moon ~ ~

I'm not sure what i did are correct or no correct ^^

shcho76 avatar May 26 '21 15:05 shcho76

That sounds like the normal iNav config challenge.

Nice to hear the build is working. If any hardware or pad doesn't seem to work I can help you.

mooiweertje avatar May 26 '21 15:05 mooiweertje

I'd like to add some sensor(optical-flow, ridar, gps with compass, ). Already ordered matek gps and optocal-flow

I have wondering about uart port. According to manual there are 5uart available. But i found only 2 vacant uart pin.

The pin diagram of f722 hd version is perfect same as your pic'.. i couldn't find not only uart3(may be share with scl sda pin)but also uart4 pin. And only 4 uart detected on BF & INAV configurator. ![port](https://user-images.githubusercontent.com/84860122/119694061-d77ba880-be87-11eb-8986-91c0c29f1849.png

i requested pin out definition to geprc fot soft serial setup but they never answers..

shcho76 avatar May 26 '21 16:05 shcho76

There are 4 uarts mapped. 1, 2, 4 and 6. The first one in your picture, VCP, is the USB port. The board itself shows pads for 3 but not 4. That is rather odd but I'm not sure if the board pictures are correct. I wanted to show pictures of the Baby 5 board but I'm not sure what it looks like. I'm pretty sure the mapping in the software is correct for the board in the baby 5 though.

mooiweertje avatar May 26 '21 16:05 mooiweertje

Here it says the BF target is 'GEPRCF722 AIO' but in BF that target does not exist. So I used GEPRCF722. https://geprc.com/product/geprc-crocodile5-baby-lr-hd-longrange-fpv/

mooiweertje avatar May 26 '21 16:05 mooiweertje

There is a GEPR-GEPRCF722_BT_HD build. Maybe that's the one you need? It has 5 uarts mapped, 1, 2, 3, 4 and 5.

mooiweertje avatar May 26 '21 16:05 mooiweertje

There is a third target called GEPR-GEPRCF722_BT which has all 6 uarts mapped.

mooiweertje avatar May 26 '21 16:05 mooiweertje

The one in my picture seems to have pads for uart 1, 2, 3 and 6 which doesn't match any of the three targets.

mooiweertje avatar May 26 '21 16:05 mooiweertje

Can anyone add pictures of the board that is on the baby crocodile 5?

mooiweertje avatar May 26 '21 17:05 mooiweertje

I looking for crocobile baby fc pic's.. but i can't

I checked out youtude about croco' baby 4. The f722aio fc looks like 20mmx20mm. So I think the pin diagram of f722 aio is similar f722 stable series

Anyway i was so lucky if you had a target firmware of f722 aio for BF. I never get inav firmware !! 😁🤣

shcho76 avatar May 26 '21 17:05 shcho76

I made an implementation to be tested. I don't have the hardware just BF build config. Let me know what the findings are and I will make repairs. binary: jnav_2.6.1.4_GEPRCF722.zip source: GEPRCF722.zip

Much appreciated your work, thank you! I have this board, I think it is identical simply remarked: https://it.aliexpress.com/item/1005002006771976.html?spm=a2g0s.9042311.0.0.114f4c4dJpuaQS I can compile and test this build, my only problem is that I have the magnetometer obviously connected to SDA / SCL (RX3 / TX3) and I don't know how to remap it in Target.h. This is because I have not yet understood the correspondence between the Betaflight pins (like B04) and the real digital ones of the MCU (PB04). I also have camera control on Motor5 (B06), of course everything works on Betaflight, unfortunately in INAV this thing was not considered very useful, but I can also do without it. If you help me I can test it, thanks!

robustini avatar May 31 '21 06:05 robustini

The Betaflight B04 is the real digital B04. That pin on the CPU is connected in the FC print with motor pad 1.

Thanks again for the target, tested everything and it seems almost ok! I don't just work blackbox, this board has 16 Mb internal flash (says "onboard SD card fatal error) and WS2811 led strip, obviously in BF they work. What could it be? My Betaflight dump: Tyro129_BF.txt

robustini avatar May 31 '21 08:05 robustini