MATLAB Answers

Parrot Minidrone Firmware Update Java Error

2 views (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('')
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
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('')
>> mput(f,'')
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.
  1 Comment
Thomas Kirven
Thomas Kirven on 27 Oct 2017
I have the same issue but on a MacBook pro. Can I use the same matlab commands or do I need to do something different?
Will try them in the meantime.

Sign in to comment.

More Answers (2)

Lander Ortiz
Lander Ortiz on 9 May 2018
Hello, I had the same problem, but the 6 step does throw an error and the Software update not resolve my problem. What should I do? Thanks,

Jan Kowalski
Jan Kowalski on 23 Oct 2018
I've had the same problem. The reason of it was Windows Firewall. All I had to do, was to turn it off, and follow all steps given by MathWorks Support Team again. Then it worked perfectly.




Community Treasure Hunt

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

Start Hunting!