Troubleshooting by Clearing PARROT Minidrone Memory

Description

The internal memory of PARROT® minidrone needs to be cleared if you encounter the following problems:

  • FTP transfer between the drone and host computer fails either during firmware update or during the deployment of Simulink model to the drone.

    The error message shows the following Java Exception failures:

  • The communication over Bluetooth® connection is very slow.

  • The flight log indicates that a memory allocation error has occurred.

  • The LEDs on the PARROT Rolling Spider minidrone do not turn green after you switch on the drone; the LEDs remain yellow even after a few seconds.

Action

To clear the memory:

  1. Connect the PARROT minidrone to the host computer using USB.

  2. If the host computer is running on Windows, ensure that RNDIS is installed (see Install RNDIS for PARROT Minidrones).

  3. Wait for the LEDs on the drone to stabilize to either green or yellow.

  4. Open the command prompt on the host computer, and connect to the drone using Telnet:

    telnet 192.168.2.1

    If the Telnet command fails, see Telnet Connection to Minidrone is Failing.

  5. After successful Telnet connection, go to /data/edu directory.

    cd /data/edu

  6. Delete all the text files, MAT files, and shared object files.

    rm *.txt
    rm *.mat
    rm *.so
  7. Disconnect the USB connection between the drone and host computer.

Telnet Connection to Minidrone is Failing

If the Telnet connection to the minidrone is failing, first reboot the host computer and try the Telnet connection again. Ensure that the minidrone remains switched on while the Telnet connection is being established.

If the Telnet connection still fails, check the platform-specific errors described here.

Windows

If the host computer is running Windows and the Telnet connection to the drone fails, check for these error conditions:

  • Error: The command prompt displays the message "Connecting to 192.168.2.1......" for a long time.

    Action: Install RNDIS on the host computer (as described in Install RNDIS for PARROT Minidrones), and perform the setup and configuration again.

  • Error: The command prompt displays the message "'telnet' is not recognized as an internal or external command, operable program or batch file" .

    Action: Enable the Telnet Client on Windows:

    1. On the Search bar of Windows 10, search Turn Windows features on or off.

    2. Select Telnet Client and click OK.

    Reinstall the RNDIS if you are using a different USB port than earlier to connect to the PARROT minidrone.

Mac

If the host computer is a Mac and the Telnet connection to the drone fails:

  1. Reinstall the Support Package on the host computer.

  2. Reboot the host computer.

  3. Perform the setup and configuration activities again for PARROT minidrone.

Linux

If the host computer is running Linux and the Telnet connection to drone fails:

  1. Disconnect any other USB mass-storage devices; ensure that the connection to the drone is the only USB connection from the host computer.

  2. Open the Terminal.

  3. Enter the following command:

    sudo ifconfig usb0 192.168.2.2 up

See Also

|