SCR_ENABLE breaks MAVFTP

Setting SCR_ENABLE = 1 and rebooting causes MAVFTP failure (see below)

Flipping it back to 0 fixes the problem.

SD card is healthy and has APM/SCRIPTS folder

Please help!

Parameters:
ardupilot-params.param

07/17/2023 12:54:40 AM : failed to initialize MAVFTP
07/17/2023 12:54:39 AM : failed to initialize MAVFTP
07/17/2023 12:54:38 AM : R4196355 MM0 MC0 IE0 IEC0 TN:Ardu
07/17/2023 12:54:38 AM : WDG: T49 SL0 FL217 FT3 FA20002060 FTP180 FLR0 FICS
07/17/2023 12:54:37 AM : failed to initialize MAVFTP
07/17/2023 12:54:37 AM : Frame: HEXA/X
07/17/2023 12:54:37 AM : IMU0: fast sampling enabled 8.0kHz/1.0kHz
07/17/2023 12:54:37 AM : RCOut: PWM:1-8
07/17/2023 12:54:37 AM : fmuv3 002D0035 30375106 36383839
07/17/2023 12:54:37 AM : ChibiOS: a97ccb41
07/17/2023 12:54:37 AM : ArduCopter V4.3.7 (c8506ed4)
07/17/2023 12:54:37 AM : Frame: HEXA/X
07/17/2023 12:54:37 AM : IMU0: fast sampling enabled 8.0kHz/1.0kHz
07/17/2023 12:54:37 AM : RCOut: PWM:1-8
07/17/2023 12:54:37 AM : fmuv3 002D0035 30375106 36383839
07/17/2023 12:54:37 AM : ChibiOS: a97ccb41
07/17/2023 12:54:37 AM : ArduCopter V4.3.7 (c8506ed4)
07/17/2023 12:54:34 AM : GPS 1: detected as u-blox at 230400 baud

Probably running into memory limits on your flight controller

you are not going to be able to run scripting on that flight controller it just doesn’t have enough power with all the other features turned on. F7 at the least is needed for any scripting.

are you saying scripting can’t work with fmuv3? there is nothing besides GPS, buzzer and ESC attached to this board so should have plenty of free memory.

very simple scripts work but not without limitations like no mavftp.

1 Like

Get another flight controller. I screwed around trying to get a couple scripts running on a PixRacer and they didn’t work.

Thanks, what controller you recommend as an upgrade from fmuv3?

I managed to get MAVFTP running by decreasing SCR_HEAP_SIZE, now let’s see if I can get any scripts working…

Any H7 based supported board.