This article demonstrates how to recover a UVC-Micro. This method is comparable to a TFTP recovery that would be done with a UVC, UVC-Dome, or UAP to name a few. The difference is that the UVC-Micro does not have an Ethernet interface, therefore, does not have a direct way to interface with the unit via TFTP. Instead, the microSD card slot is leveraged.
Table of Contents
- What you will need
- Steps to Recovery
- Writing the firmware file to the microSD Card: If Using Windows
- Writing the firmware file to the microSD Card: If Using Linux or Mac
- Related Articles
What you will need
- A microSD card 20MB or larger. Warning: Contents will be overwritten. Please backup any contents that you wish to retain.
- A UVC-Micro
- A Windows, Mac, or Linux based computer
- If Windows, you'll need to download and install Win32 Disk Imager (Free) which should be very familiar to you if you've ever used the Raspberry Pi platform.
- Your firmware binary. This can be obtained from your Video Controller:
- Windows: C:\ProgramData\unifi-video\fw\A5S\
- Linux: /usr/lib/unifi-video/fw/A5S/
Note: The filename has been intentionally omitted as it will change depending on the software installed. There will be only one file in this folder.
Steps to Recovery
- Insert the microSD card.
- Write the firmware file to the microSD card. For Windows, see Note 1 below. For Linux & Mac, see Note 2 below.
- Unmount and remove the microSD card from the computer.
- Disconnect power from the UVC-Micro.
- Insert the microSD card into the spring-loaded slot in the back of the UVC-Micro.
- Insert a paperclip or similarly narrow object in to the reset hole on the opposing side of the LED. You should feel a tactile “button-press” like response.
- Continue holding this button while you apply power to the UVC-Micro. Tip: Hold the camera in one hand, and the paperclip pressing the button in the other. Have the magnetic base on a flat surface with the power adapter connected to the base. Slowly lower the camera over the base. The magnet will snap on, applying power. Be careful not to release the button. The LED will turn on and remain steady.
- After approximately 15-20 seconds, the LED will flash once. This is your indicator that you may release the button.
- After an additional 30 seconds or so, you will start hearing audible tones emitted from the UVC-Micro, this indicates that the camera is in a default state and is ready to be provisioned.
- To reuse the microSD card, insert it back into your computer and reformat it.
Note 1: If Using Windows
If using Windows, copy the .bin file to the same folder, then rename the copied .bin to have an extension of .img instead of .bin. Use Win32 Disk Imager to write the image to the drive letter of the microSD card. Your result should look like this:
D:/Downloads/UVC.gen2.v220.127.116.11-devel.89002e2.150421.2034.img would be a firmware binary renamed to have a .img file extension
[I:\] is the drive letter assigned to this microSD card by Windows. Then, all that is left is to click the Write button.
Note 2: If Using Linux or Mac
If using Mac or Linux, the dd command is used:
dd if=/path/to/firmware/file.bin of=/path/to/microsd/card bs=8M; sync
Root privileges may be required to be able to use dd. If this is the case, issue the following command prior to the dd command:
sudo su -
To find the path to your microSD card (what follows the "of=" part in the command above), you can use diskutil (Mac) or dmesg or fdisk (Linux). Here are options for both Mac and Linux.