LibrePilot Forum

Users => Applications - FPV => Topic started by: poulsbobill on December 05, 2017, 03:04:27 am

Title: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 05, 2017, 03:04:27 am
Not sure this is the right forum So aplogies if wrong.

i ahve a rise rxd250.    My problem is i cant get the cc3d board to save the settings. Just press save when done or?

When i have programmed it and it is plugged in everything works fine, but once i unplug the battery  and replug in no go. I am using the specktrum serial rx with telemetry.

Any ideas aprreciatred

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: TheOtherCliff on December 05, 2017, 04:20:21 am
First of all, there can be a lot of work in installing new firmware like this.  The setting up is like building it from scratch.  (If it ain't broke, don't fix it...)

Second, you must be running a current bootloader.
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669026/Firmware+Tab#FirmwareTab-Updatebootloader

Third, you must run the same matching versions of GCS and firmware, so you need to run LP 16.09 on both.

You should do "Upgrade and Erase" on the Firmware page.  That makes sure the firmware is the correct version and there is room and correct format for storing settings.
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 05, 2017, 04:54:58 pm
Thank you for the response. 
I have updated to the new firmware and did a erase etc.  I have made progress though.  Appears you have to press save after any and i mean ANY changes.
One of the problems i have had is i am using a serial connection to the flexiport and it  doesn't always recognize the tx during that part of the setup.  Odd sometimes yes sometimes no.  I also learned no changes will save if it is armed.

If i connect the cc3d to the firmware can i make say just one change ie motor channel assignment and then disconnect or do i have to go through  the whole process each time? ie the tx wizard etc.    Will it save just the new changes and leave all the old settings?

Thanks

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: TheOtherCliff on December 06, 2017, 12:48:48 am
It won't let you save changes when it is armed, for safety reasons.  The Save button should show a red X to let you know that it did not save.

You can make just one change and save it.  Try it.  Reboot it.  You will see the change was saved.

When making changes on different pages you must save the changes before going to the new page.  It will warn you if you make changes and do not save them before changing the page.

Don't ever use "Always Armed"
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 06, 2017, 02:44:40 am
Back to square one.  No  settings saved.  This is so frustrating.  I can only get it to talk to my tx if i use the srxl setting on the flexiport. It then changes it back to dsm.  Whatever. 

So here i am one out of 4 tries i can save the setting disconnect and then it may work.  Only once  now have i been able to turn everything off unplug and go back and it was working.    And that was an 1`/2 hour later.
 Today nothing.   Too random for me.

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 06, 2017, 02:51:37 am
Now i cannot get into the tx setup wizard,  when i get to that screen and you are supposed to go through mode `1 etc etc the "next" button never highlights. S ays i have activity yet what do i do now?

Cant be this hard

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 06, 2017, 02:58:36 am
When i choose what setting for the flexiport, What do i use SRXL or DSM  I am using a spektrum serial rx w/telemetry.

Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 06, 2017, 03:32:43 am
Went through  the whole process , after about 8 tries,  one time it took.  Was able to use the throttle and the motors turns.  Saved everything. Disconnected the board unplugged the battery.  Waited 5 mintues plugged it all back in. Nothing.  It is bound.  Rx activity is going crazy and this has happened before.  SRXL or DSM  Neither works right.  With srxl i get no activity with DSM it goes crazy up to channel 10 (this is a dx6)  Any other ideas?  flex reverts back to dsm every time,

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: TheOtherCliff on December 06, 2017, 04:29:49 am
Did you install the current bootloader, then "Upgrade and Erase"?  If you did this and didn't skip steps, then the one thing I can suggest you try is to use a different SHORTER USB cable, then, right after plugging the USB in, plug 5V power (LIPO -> ESC -> servo connector) into an ESC connection.  Then try saving some settings, reboot it and see if the settings stayed.  The idea is that USB power may be weak and the battery would help that.
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 06, 2017, 05:49:23 pm
Looks like im out of luck.  Figures they wont support the rx i want to use.
https://forum.librepilot.org/index.php?topic=3185.msg26369#msg26369

Old version of librepilot maybe?

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 06, 2017, 06:34:04 pm
Spektrum Dev Team
Site Sponsor
 
AndyKunz's Avatar
 
Join Date: Sep 2001
Location: Illinois
Posts: 45,063
Distance From You: 1763 miles
10 vs. 11 bits is a problem in the FC, where it isn't automatically recognizing the data format provided by the remote receiver. If somebody in the CC3D group would read and implement the Spektrum Remote Receiver Protocol document properly, there would be no discussion. I don't follow what them, so maybe they are and something else is amiss, but here's what they need:
https://www.spektrumrc.com/ProdInfo/Files/Remote%20Receiver%20Interfacing%20Rev%20A.pdf
 

Andy
Title: Re: CAnt get librepilot to save on CC3D
Post by: TheOtherCliff on December 06, 2017, 08:18:01 pm
That sounds like good info.  Hopefully a dev with more knowledge of the subject comments here.

I recall an issue that to use a bare DSM sat rx you had to bind it attached to full rx first.  I think I recall a thread where someone had DSM* issues and did a hack to get his working.  I think I recall that someone else was playing with getting this done right.  It may already be fixed in the development 'next' version.

Have you done a forum search for DSM / DSMX / DSM2 ?
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 06, 2017, 09:22:36 pm
I tried a search but this is beyond my level of expertise here.

Oh well.  Maybe i can return it.  Start over.

Thanks anyways   

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 07, 2017, 12:22:50 am
Is their a rx from spektrum that actually works with this?
Title: Re: CAnt get librepilot to save on CC3D
Post by: TheOtherCliff on December 07, 2017, 04:16:50 am
Spektrum means either DSM* or ... you can use the full receiver's regular servo connections which are called PWM, but that means you connect at least 5 different cables to get at least 5 different channels that are needed.
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 07, 2017, 09:08:52 pm
I have actually got this to work a few times.  The problem is as soon as i disconnect the battery and the usb plug and re plug in the battery it stops working.

The other forums say this is as spektrum issue and of course they say it is yours. 

Any other ideas?

Thanks

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: TheOtherCliff on December 08, 2017, 06:40:47 am
Just two things that have already been discussed.  Upgrage and ERASE.  The erase part is important.  You might try Erase Settings.

It won't save settings if it is armed and you should never use Always Armed.
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 08, 2017, 05:00:44 pm
Ive done the erase and upgrade part many times.  Its just odd that it will work until i unplug and it looses the settings i guess.

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: poulsbobill on December 18, 2017, 03:39:58 am
Ok another problem.  I changed Rx to a lemon pwm/pcm type.  Still no work.  The tx wizard see the tx activity as pwm but will not show any movement in the slider bars.  I  have tried the wizard and PPm mode as well/  I have changed the settings in the conf tab--saved them  unhooked the rx,  waited 30 sec etc etc etc 

Ideas?

Bill
Title: Re: CAnt get librepilot to save on CC3D
Post by: TheOtherCliff on December 18, 2017, 04:46:55 am
Everything must be set up correctly...
The receiver must put out PPM on the wire you are using and the FC must be configured and wired to receive PPM on the correct pin in the correct FC port.  The connection is almost always a single, 3 wire cable from Rx to FC.

Similar for PWM, but PWM requires at least 7 wires.  Typically 5 cables/connectors with 1 to 3 wires each.  Rx must be configured for PWM in some cases, you must connect the wires to the correct place on the FC, and the FC must be configured for PWM.

Also, you must have a BEC (maybe built into the ESC) and the flight battery must be plugged in to power the BEC which powers the FC and thus the Rx.  USB does not power the RC Rx.