.. raw:: html
Updating
**********
Update firmware using WIC image
==================================
#. Turn off the power of the device.
#. Eject the microSD card.
#. Download latest :download:`firmware `
#. If the WIC image is compressed with ``tar.gz`` format, extract the ``petalinux-sdimage.wic.tar.gz`` file using ``tar`` command. For example,
.. code-block:: bash
tar -xvzf petalinux-sdimage.wic.tar.gz
#. Flash the extracted ``petalinux-sdimage.wic`` image into the SD card.
* Flash the WIC image in Linux: To flash the WIC image to SD card in Linux machines, connect the SD card to the host system and use the dd command:
.. code-block:: bash
dd if=petalinux-sdimage.wic of=/dev/sd conv=fsync
.. NOTE:: You need sudo access to do this.
* Flash the WIC image in Windows: To flash the WIC image to the SD card in Windows, you can use any of the following:
* BalenaEtcher tool
* Win32DiskImager
#. Insert the SD card into the device.
#. Power on the device.