Wiki source code of Update Firmware for the AI Sensors
Version 35.1 by Karry Zhuang on 2024/04/24 17:19
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
26.1 | 1 | = 1. Prepare Hardware & Software = |
![]() |
2.1 | 2 | |
![]() |
29.1 | 3 | * Update Tool:OTA_Tool |
![]() |
2.1 | 4 | * Hardware: Sensor, Converter |
5 | * Firmware: | ||
6 | |||
![]() |
26.1 | 7 | = 2. Hardware Connection = |
![]() |
2.1 | 8 | |
![]() |
34.2 | 9 | The AI Sensors and UART are connected and then connected to the PC. |
![]() |
2.1 | 10 | |
![]() |
34.2 | 11 | [[image:image-20240424145937-3.png||height="629" width="544"]] |
12 | |||
![]() |
33.2 | 13 | [[image:image-20240424145824-1.gif]][[image:image-20240424145847-2.jpeg||height="359" width="478"]] |
![]() |
25.1 | 14 | |
![]() |
26.1 | 15 | = 3.OTA UART flash = |
![]() |
25.1 | 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.1 | 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 |
![]() |
25.1 | 32 | |
33 | 4 Select the baud rate. The default baud rate is 921600. Press 14 to select 921600 | ||
34 | |||
![]() |
27.1 | 35 | [[image:1713511914316-181.png||height="754" width="865"]] |
![]() |
25.1 | 36 | After the baud rate is configured, the upgrade page is displayed. 1 is to check whether the communication port is correct. |
37 | |||
![]() |
27.1 | 38 | [[image:1713513351848-254.png||height="477" width="861"]]x |
![]() |
25.1 | 39 | |
40 | Select 1 to check whether the configured port is correct. | ||
41 | |||
![]() |
27.1 | 42 | [[image:1713513373484-487.png||height="472" width="856"]] |
![]() |
25.1 | 43 | |
44 | Select 2 is port is after normal communication with AIS. | ||
45 | |||
![]() |
27.1 | 46 | [[image:1713513478607-793.png||height="471" width="851"]] |
![]() |
25.1 | 47 | |
48 | Press 0, press Enter, and select 2 to go to the upgrade surface. | ||
49 | |||
![]() |
27.1 | 50 | [[image:1713513522820-547.png||height="467" width="847"]] |
![]() |
25.1 | 51 | |
![]() |
27.1 | 52 | [[image:1713513544122-175.png||height="467" width="845"]] |
![]() |
25.1 | 53 | |
54 | Select 2 to enter the upgrade. | ||
55 | |||
![]() |
27.1 | 56 | [[image:1713513668777-698.png||height="464" width="840"]] |
![]() |
25.1 | 57 | |
58 | If ReBoot WEI is displayed as shown in the following figure, the upgrade succeeds. | ||
59 | |||
![]() |
27.1 | 60 | [[image:1713513732175-702.png||height="354" width="836"]] |