INS401 User’s Manual
_____________________________________________________________________________________
Doc# 7430-3305-08
Page 35
Begin
Sync
Change 9100
baudrate
Send:0xfd, 0xc6, 0x49, 0x28
Return:0x3A, 0x54, 0x2C, 0xA6
Send: 0x71
Return : 0xcc
set 9100
baudrate
Check 9100
baudrate
Check 9100
Is ready
Send: 230400 (baudrate)
Return : 0xcc
Send: 0x38
Return : 0xcc
Send: 0x5A
Return : 0xcc
Send boot
program
Send:0xf4, 0x01,0xd5, 0xbc,0x73,0x40,0x98,0x83,
0x04,0x01, 0xff,0x00,0x00, 0x00, 0x00, 0x00
Step 1
Send: boot crc (boot 文件检验)
Step 2
Send:boot size (boot 文件大小)
Step 3
Send:boot part1 (boot 前5120个字节)
Step 4
Send:boot part2 (boot 剩余字节)
Step 5
Return: 0xcc
Send write flash
cmd
Send: 0x4A
Return : 0xcc
Send app bin
info
Send: bin info
(
详
细内容参见
app
信息
)
Return : 0xcc
Wait device init
Return : 0xcc
Erase flash
Return : 0xcc
Write app
Send: bin data(5120bytes each
frame,the last frame of data is sent
according to the actual length)
Return : 0xcc
Check flash crc
Return : 0xcc
End
Notice:
Success return 0xcc
Failure return 0xE6, should restart burning
Figure 9 Flowchart of STA9100 Upgrade
The commands for STA9100 upgrade are listed below.
Table 24 Set STA9100 to Boot(JS)
Send:
Header
Msg_Type
Length
Data
CRC
0x5555
0xaa05
0
--
2 bytes
Receive:
Header
Msg_Type
Length
Data
CRC
0x5555
0xaa05
0
--
2 bytes
Table 18 Set STA9100 to GNSS(JG)
Send: