Wiki source code of Update Firmware for the AI Sensors
Version 35.1 by Karry Zhuang on 2024/04/24 17:19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = 1. Prepare Hardware & Software = | ||
2 | |||
3 | * Update Tool:OTA_Tool | ||
4 | * Hardware: Sensor, Converter | ||
5 | * Firmware: | ||
6 | |||
7 | = 2. Hardware Connection = | ||
8 | |||
9 | The AI Sensors and UART are connected and then connected to the PC. | ||
10 | |||
11 | [[image:image-20240424145937-3.png||height="629" width="544"]] | ||
12 | |||
13 | [[image:image-20240424145824-1.gif]][[image:image-20240424145847-2.jpeg||height="359" width="478"]] | ||
14 | |||
15 | = 3.OTA UART flash = | ||
16 | |||
17 | Open the OTA_Tool folder and put the latest firmware "layout.bin" and "output. img" into the img folder. | ||
18 | |||
19 | [[image:1713510920220-760.png||height="219" width="816"]] | ||
20 | |||
21 | The OTA_Tool folder should be opened and the program can be run by double-clicking on ota.exe. | ||
22 | |||
23 | [[image:1713511385474-910.png||height="452" width="804"]] | ||
24 | |||
25 | When the program opens, follow these steps. | ||
26 | |||
27 | 1 Select the chip type. AIS uses QFN72. Press 2 to select QFN72 | ||
28 | |||
29 | 2 Select an upgrade mode. AIS supports serial port upgrade only. Press 2 to select Uart protocol | ||
30 | |||
31 | 3 Select a port number. Choose the largest number of serial port, For example, here shows 16 and 17. Press 1 to select COM17 | ||
32 | |||
33 | 4 Select the baud rate. The default baud rate is 921600. Press 14 to select 921600 | ||
34 | |||
35 | [[image:1713511914316-181.png||height="754" width="865"]] | ||
36 | After the baud rate is configured, the upgrade page is displayed. 1 is to check whether the communication port is correct. | ||
37 | |||
38 | [[image:1713513351848-254.png||height="477" width="861"]]x | ||
39 | |||
40 | Select 1 to check whether the configured port is correct. | ||
41 | |||
42 | [[image:1713513373484-487.png||height="472" width="856"]] | ||
43 | |||
44 | Select 2 is port is after normal communication with AIS. | ||
45 | |||
46 | [[image:1713513478607-793.png||height="471" width="851"]] | ||
47 | |||
48 | Press 0, press Enter, and select 2 to go to the upgrade surface. | ||
49 | |||
50 | [[image:1713513522820-547.png||height="467" width="847"]] | ||
51 | |||
52 | [[image:1713513544122-175.png||height="467" width="845"]] | ||
53 | |||
54 | Select 2 to enter the upgrade. | ||
55 | |||
56 | [[image:1713513668777-698.png||height="464" width="840"]] | ||
57 | |||
58 | If ReBoot WEI is displayed as shown in the following figure, the upgrade succeeds. | ||
59 | |||
60 | [[image:1713513732175-702.png||height="354" width="836"]] |