Flash Genio 1200-demo Board

This guide shows how to “flash”(write) the image you have built into the non-volatile flash memory of Genio 1200-Demo Board. The flashing process is performed over a USB connection between the target board and the host computer containing the image.

In order to write the on-board storage with AIoT Tools, you need to set the AIoT SoC in download mode, which allows AIoT Tools to transfer a download agent binary to the SRAM of SoC. The download agent then provides a fastboot interface for subsequent image transfer and storage write operations.

Note

Make sure you have install AIoT tools on your Linux or Windows host before continuing the process.

Step 1. Connect board to host PC

Warning

Make sure you are using a 5V power adapter for Genio 1200-Demo Board. There are many power adapters with similar connector but providing 12V output instead. Using an adapter with different output voltage might damage your board.

  • Plug the 5V power jack to the DC JACK IN port.

  • Find the CON4 port (USB Type C) on Genio 1200-Demo Board, and connect it to host PC with a USB Type C cable.

../../../../_images/hw_evk_i1200-demo-board_ports.jpg

Top View of Genio 1200-Demo Board

Note

Make sure you connect to the CON4 port of the board. They can be confused with UART0 port, which is a micro-USB port on Genio 1200-Demo Board.

Step 2. Launch aiot-flash Tool

Change working folder to the image directory and run following command:

cd $BUILD_DIR/tmp/deploy/images/i1200-demo
aiot-flash

By default aiot-flash will use the prefix rity-demo-image to search for files under image directory. If you are building other images, use -i option to specify different prefix. For example:

cd $BUILD_DIR/tmp/deploy/images/i1200-demo
aiot-flash -i rity-bringup-image

Once you see Looking for a MediaTek SoC ... prompt, proceed to next step.

Step 3. Enter Download Mode

Follow these steps to enter download mode:

  1. Press and keep pressing the Download / VOL+ button.

  2. Press and release the RESET button.

  3. Release the Download / VOL+ button when you see the log erasing mmc0.