![Vlsi VS1063a Скачать руководство пользователя страница 23](http://html.mh-extra.com/html/vlsi/vs1063a/vs1063a_programmers-manual_1042916023.webp)
PRELIMINARY
VS1063a Prog. Guide
8
VS1063A LOAD FILE FORMATS
8.2
VS1063a Image Format
The VS1063a image format is a bootable / loadable binary format with a three-byte header,
followed by one or more boot records. The default image file suffix is “.IMG”.
The 3-byte header is shown below:
VS1063a Boot Header, begins the file
Name
Bytes
Description
HEADER
3
“P&H” (0x50, 0x26, 0x48)
A boot record is shown below:
VS1063a Boot Record, from 1 to n, last is always TYPE = Execute
Name
Bytes
Description
TYPE
1
0 = Instruction memory
1 = X data memory
2 = Y data memory
3 = Execute
L1 L0
2
LEN = 256
×
L1 + L0
A1 A0
2
ADDR = 256
×
A1 + A0
D1 D0
LEN
DATA = 256
×
D1 + D0, repeat LEN/2 times
The last boot record is always with TYPE = Execute. When an execute record is found, ADDR
is the start address of the application.
The VS1063a boot sequence will skip any unknown records.
8.2.1
The .IMG Format and VSIDE
VSIDE can create prommer image files that are in the VS1063a image format.
Version: 0.40, 2011-09-02
23