Parrot Minidrone Firmware Update Java Error

1 view (last 30 days)
I am attempting to set up the parrot drone toolbox on my Windows 10 computer. I have a rolling spider drone. I have just completed the installation of the driver, and have been trying to do a firmware update though the Support Package Setup. However, I have tried the firmware update 3 times and have received this error message each time when I click on 'write':

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 May 2021
Edited: MathWorks Support Team on 9 Jun 2021
It appears that the File Transfer Protocol (FTP) which happens when clicking in the 'write' button is failing. There might be two reasons for this:
1. The firewall settings in your Windows 10 PC is blocking FTP.
2. Your drone, has no memory left in /data/edu folder and hence the FTP transfer is throwing an error.
To know whether issue 1 is the cause, you can connect the drone to your PC and after the LEDs have stabilized to RED and GREEN, type the command in MATLAB:
f = ftp('192.168.2.1')
If this command does not throw an error, then issue 2 is the root cause for the failure, in which case please follow these steps:
1. Connect the drone to PC and wait for the LEDs to stabilize to RED and GREEN.
2. Open command prompt on Windows
3. Execute the commands below in the command prompt
telnet 192.168.2.1
cd /data/edu
rm -r *
NOTE: you may have to enable the telnet command by typing in a windows command prompt:
dism /online /Enable-Feature /FeatureName:TelnetClient
4. Disconnect and reboot the drone.
5. Connect the drone back to PC and wait for the LEDs to stabilize to RED and GREEN.
6. Open MATLAB and execute the below commands in MATLAB command window (ensure that the drone is still connected to PC):
>> cd( matlabshared.supportpkg.getSupportPackageRoot)
>> cd toolbox\target\supportpackages\parrot\lib\EDUfirmwareFILES
>> f = ftp('192.168.2.1')
>> mput(f,'SpiderFlight.sh')
If all of the above commands are successful, you can give a try once more to the setup screens.
If there is still a failure, there might be some data in /tmp folder of the drone. To clean the drone memory you can revert the firmware of the drone to the parrot shipped firmware for rolling spider as mentioned below:
The firmware update will clear any irrelevant data in the drone memory.
After the firmware is reverted, you can try the setup screens again.

More Answers (0)

Products


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!