Technical Application Note 006

How to re-flash a Carrida Camera

Copyright:2017-2022 Carrida Technologies GmbH, Ettlingen, Germany
Author:Carrida Support

Home page

Table of Contents

1   Introduction

This document explains how to create an image of a VC Z camera to be able to clone it on another camera. There are basically 4 steps:

  1. Start the rescue operating system on the source camera.
  2. Run a script provided by us (attachment).
  3. Download the image using a browser.
  4. On the receiving camera, start the rescue operating system and get theimage generated in 3. from an FTP server.

2   Necessary components

The necessary components are: - the scripts to boot the rescue system: - the script to create webserver allowing to download the camera image:

3   Starting the rescue operating system

You can either

  1. Connect the camera via RS232 cable to the PC, or
  2. reflash it over the LAN interface. See file "".

Both options are explained in the following sections.

3.1   Connecting the camera via RS232 cable to the PC

This is only possible if you have an SBC nano Z or a VC pro Z camera with the corresponding RS232 cable

  1. Before you start this process , write down your current camera IP.
  2. Plug RS232 cable from the camera on PCs serial line port (COM1/2) .
  3. Start serial interface(eg. PuTTy) and set its speed at 115200 bauds.
  4. Make sure that your serial port number at serial port interface is the same as one where you connect your camera.
  5. Turn off the camera from power
  6. Run serial interface terminal
  7. Plug in the power cable in camera and press RETURN [ENTER] several times in on serial interface terminal.

If a message “Waiting for PHY auto negotiation to complete…” appears, wait for the camera to finish the process than press RETURN and run : run the qboot command to start rescue operating system. If the message does not appear, repeat the aforementioned steps.

4   Running the script to create the image

5   Downloading the disk image

#. Open any browser of your choice and connect the the IP You should get a webpage similar to this:


#. Download the file, where xxxxxxx is the serial number of the camera. This is an image of the whole eMMC, so 15GB+. Rename the file to "mmcblk0p2.img"


#. Compress the image with gzip (for Windows here: ). You will get a file "mmcblk0p2.img.gz"

6   Uploading the image to the receiving camera

  1. Start the rescue system on the receiving camera as described in Chapter 3.
  2. Start an FTP server on your PC (for example FileZilla server on Windows). Put the file "mmcblk0p2.img.gz" on this server.
  3. Make sure that your "mmcblk0p2.img.gz" is in right format (zipped)
  4. On the camera , where you've already started rescue operating system, run the command:


wget ftp://name@192.168.x.x/mmcblk0p2.img.gz -O - | zcat > /dev/mmcblk0p2

Replace name@192.168.x.x with the name and IP address of your PC where the FTP server server is running. 1. Wait until the process is finished, it can last 15-20 minutes. 2. Reboot the camera with "reboot" or turn the power of. 3. After rebooting check if the IP of the camera is the same as the one you wrote down on the beginning of this process or