Download AFE Controller User`s Manual

Transcript
Bootloader and Application Interaction
Set MTA Command:
MTA# = 0, Address Ext = 0x02, Address = 0x00000200
Host Command (CRO):
Bootloader Reply (DTO):
0x02
0xFF
CTR
STATUS
0x00
CTR
0x02
--
0x00
--
0x00
--
0x02
--
0x00
--
0x01
CTR
0x02
0x02
0x03
0x02
0x04
0x00
0x05
0x00
0x06
0x06
0x02
CTR
0x01
0x02
0x02
0x02
-0x00
-0x00
-0x08
Download_6 Command:
Data = 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
Host Command (CRO):
Bootloader Reply (DTO):
0x23
0xFF
CTR
STATUS
Download Command:
Byte Count = 2, Data = 0x01, 0x02
Host Command (CRO):
Bootloader Reply (DTO):
0x03
0xFF
CTR
STATUS
Build Check Sum Command:
Size = 8 (previous Download 6 & Download commands), CRC = 0x6833
Host Command (CRO):
Bootloader Reply (DTO):
0x0E
0xFF
CTR
STATUS
0x00
CTR
0x00
0x02
0x00
0x68
0x08
0x33
0x68
--
0x33
--
0x00
CTR
0x00
0x02
0x00
0x24
0x00
0x68
0x24
--
0x68
--
Build Image Check Sum Command:
Size = 0, CRC = 0x2468
Host Command (CRO):
Bootloader Reply (DTO):
0x0E
0xFF
CTR
STATUS
7. Disconnect from the DSP causing it to jump to (execute) the application:
Disconnect Command:
EndOfSession = 0x01, DSP Station Address = 0x0001
Host Command (CRO):
Bootloader Reply (DTO):
5.
0x07
0xFF
CTR
STATUS
0x01
CTR
---
0x01
--
0x00
--
---
---
Bootloader and Application Interaction
The Bootloader provides two points of interaction with the running Flash application through
two sets of RAM based variables. These variables are at “known” memory locations. Use of this
interaction mechanism is voluntary on the part of the Flash application.
Publication FS-0057
19