MATLAB Answers

1

Parrot Minidrone Firmware Update Java Error

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': 

3 Answers

Answer by MathWorks Support Team on 11 Oct 2017
 Accepted Answer

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.

  1 Comment

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.
Thanks!
Thomas

Sign in to comment.


Answer by 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,
Lander

  0 Comments

Sign in to comment.


Answer by 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.

  0 Comments

Sign in to comment.