Aetina N510 TX2

he Aetina N510 TX2 can be flashed by using the jetson-flash utilities from provided by Aivero, while having the device connected to a host machine via USB, or via a micro-SD card using Balena Etcher.

USB+Aivero Jetson-Flash tool method

Pre-requisites

First, you'll need to setup the jetson-flash utility on your machine. You only need to run these next three steps when you get a new version of the DeepCore software.

  1. Download the OS flash file jetson_flash_tx2.tar.gz
  2. Extract this file in your computer
  3. Navigate to the newly extracted folder cd /path/to/extracted/folder/deepcore-images
  4. Load the utility into docker using sudo docker load -i jetson_flash_tx2.tar

Setting device into recovery mode

Your Aetina N510 TX2 board is capable of being being booted into a recovery mode, which allows it to be flashed, by shorting specific pins of the device.

Let's focus on the pins which are highlighted by the red square.

In those, we will want to short pin 15 with pin 16, in order to start the signal which informs the board that it should boot in recovery mode. You must hold the signal between these two pins until you reset the board, which can be done by connecting pins 13 and 14. The green light on the board PCB should have disappeared by now, which means you can disconnect pins 13 and 14. Only AFTER you have disconnected pins 13 and 14, can you disconnect pins 15 and 16, or the recovery mode booting sequence will fail. The schematics of the pins can be seen in the figure below.

Flashing the device

Now that the utility is setup, you can simply connect and flash different devices, by following these steps:

  1. Connect the Aetina N510 TX2 with a USB cable to your computer
  2. Set the Aetina N510 TX2 board into recovery mode (see above)
  3. Run the jetson-flash utility with docker run --rm -it --privileged -v /dev/bus/usb:/dev/bus/usb jetson-flash-tx2:latest
  4. Wait for the utility to finish. A message will be printed in the terminal when it is safe to reboot the device.

Micro-SD+Balena Etcher method

Pre-requisites

  • Installation of https://www.balena.io/etcher/

  • Aetina N510 TX2 with Ethernet connection to the internet.

  • A deepcore image file provided by Aivero.

    e.g. balena-cloud-release-linux-armv8-rpi-pi4-raspberrypi4-64-2.101.7+rev1-v14.0.13.img.zip

  • Access to a balena dashboard, provided by AiverodeviceType

Copy/Flash the image onto a micro-SD card

We will be using https://www.balena.io/etcher/ to flash the provided image from your computer onto a micro-SD card of at least 4 GB size.

  1. Install etcher on your computer as per the link above.
  2. Open etcher and select the image file.
  3. Plug in the micro-SD card (you may need to use a micro-SD to SD card adapter)
  4. Select the SD card in etcher
  5. Click flash and follow the instructions.
  6. Once finished, remove the SD card and proceed below.

Boot

  1. Unplug the DeepCore from its power supply.

  2. Place the DeepCore such that the power socket is at the upper edge of the device or the shorter side of the D shaped HDMI port is facing towards the table.

  3. Unscrew the 4 Torx screws on the top of the device and lift off the cover plate.

  4. Locate the SD card socket located between the green power port and the back facing panel.

    Untitled

  5. Insert the micro-SD containing the balena-os image provided by Aivero.

  6. Without re-assembling the device, plug in the power supply. It will boot up and light up various LEDs inside the enclosure.

  7. The device will flash the eMMC and power down again. This process takes 5-10 minutes.

  8. During this period a new device will show on the Balena dashboard you have been invited to, indicated as preparing or flashing the OS.

  9. Wait until the DeepCore has powered off and turned off the LEDs from (6).

  10. Remove the SD card by pushing the card in, which will cause it to pop out. Now you can pull it out. Consider using a piece of sticky tape to give you leverage.

  11. Reassemble the device.

  12. Power up the device.

  13. The newly created device on the Balena dashboard will show the device from (6b) as online.

You have successfully flashed a DeepCore v2.