Manufacturing:AI Device Manufacturing and Programming Process

From Idrive
Revision as of 18:21, 2 March 2020 by Mark (talk | contribs) (Created page with "=AI Device Manufacturing and Programming= ==Radu Notes== Format this later. For now capture all of the information here. The AI programmer is mandatory only one time when t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

AI Device Manufacturing and Programming

Radu Notes

Format this later. For now capture all of the information here.

The AI programmer is mandatory only one time when the board comes from China with the default chinese AOSP. Once the AOSP is overwritten with our AOSP, the programmer becomes optional.

So, if you have an usb cable, an X2 programmer and an AI power box you should be able to test the Factory Tool.

You need a micro usb cable in order to connect camera to a computer usb port, a power source for AI camera and a computer with Windows 10 (preferable).

If you can power an AI camera and run the firmware, go to Device Manager and take a look at comm ports. If you see 2 new ports, assign them in Factory Tool. After that you can configure the device.


Factory Tool configuration

You can find Factory Tool 3.7.1 in Idrive Downloads section. You have to download also the AOSP 5.0 version from Factory Tool.

Once the Factory Tool is installed, you have to go in Factory Tool -> FactoryToolsAI folder. It should be located like in the image below:


1. Aosp folder is the place where FT is looking for installing the Aosp (Android Operating System) on camera. By default this folder is empty and you have to populate it with the files from the aosp archive. C:\Program Files (x86)\Idrive\Factory Tool 2.0\FactoryToolsAI\Aosp

Every time when a new AOSP is released, the files from Aosp folder should be replaced with the new files.

2. Firmware folder is auto-populated by the Factory Tool installer and should have the following structure:

- firmware.apk represents the current firmware version (40.0.55)

- updater.apk is a background application taking care about firmware and aosp upgrades / firmware crashes / background staffs. The current version is 1.0

- idrive_root is the place where we keep different files (neural networks, settings, etc)

- firmware.apk should be replaced every time when a new stable firmware is released. For example, if you have a new update.apk file, you can rename this file and copy it over firmware.apk. You have also to copy the same file over idrive_root/recovery.apk file

- The same mechanism should be used if we will upgrade updater.apk. That apk should also be copied over idrive_root/recovery_updater_app.apk.

- Any file from idrive_root folder is replaceable. In the future we can add / remove / replace any file from idrive_root

3. Tools folder should be leaved as it is 🙂

The Factory Tool is documented, but I don't have the documentation now 🙂 (Alexandra will send you all documents tomorrow morning)

However the process is very similar with X2. There are AI settings in Idrive Development->Settings->Config and Install (see below)

(DO NOT CHANGE the "sleep seconds" fields for AI devices only).