
Mini57
Apr. 06, 2017
Page 146 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
6.4.4.7
In Application Programming
The Mini57 series provides In-application-programming (IAP) function for user to switch the code
executing between APROM and LDROM without reset. User can enable the IAP function by re-
booting chip and setting the chip boot selection bits in Config0 (CBS[1:0]) as 10’b or 00’b.
In the case that the chip boots from APROM with the IAP function enabled (CBS[1:0] = 10’b), the
executable range of code includes all of APROM and LDROM. The address space of APROM is
kept as the original size but the address space of the 2 KB LDROM is mapped to 0x0010_0000~
0x0010_07FF.
In the case that the chip boots from LDROM with the IAP function enabled (CBS[1:0] = 00’b), the
executable range of code includes all of LDROM and almost all of APROM except for its first
page. User cannot access the first page of APROM because the first page of executable code
range becomes the mirror of the first page of LDROM as set by default. Meanwhile, the address
space of 2 KB LDROM is mapped to 0x0010_0000~0x0010_07FF.
Please refer to Figure 6.4-7 for the address map while IAP is activating.
APROM
LDROM
(2K)
0x0000_0000
0x0010_0000
0x0010_07FF
Reserved
CBS = 10'b
APROM
LDROM
(2K)
0x0000_0000
0x0010_0000
0x0010_07FF
Reserved
CBS = 00'b
LDROM first page
LDROM first page
Default remap
structure
Figure 6.4-7 Executable Range of Code with IAP Function Enabled
When chip boots with the IAP function enabled, any other page within the executable range of
code can be mirrored to the first page of executable code (0x0000_0000~0x0000_01FF) any
time. User can change the remap address of the first executing page by filling the target remap
address to FMC_ISPADDR and then go through ISP procedure with the Vector Page Re-map
command. After changing the remap address, user can check if the change is successful by
reading the VECMAP field in the FMC_ISPSTS register.
Содержание Mini57 Series
Страница 376: ...Mini57 Apr 06 2017 Page 376 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 1 Receive buffer is full ...
Страница 472: ...Mini57 Apr 06 2017 Page 472 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 1 3 20 Pin TSSOP 4 4x6 5x0 9 mm ...
Страница 473: ...Mini57 Apr 06 2017 Page 473 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 9 1 33 pin QFN33 4x4x0 8 mm ...