![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 85](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827085.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
85 of 1441
NXP Semiconductors
UM10503
Chapter 6: LPC43xx/LPC43Sxx flash programming/ISP and IAP
Table 50.
ISP Set active boot flash bank command
Command
S
Input
Flash bank
: Selects flash bank A or B for booting if the part supports more than on
bank. (0 = flash bank A, 1 = flash bank B).
Return Code
INVALID_FLASH_UNIT |
INVALID_SECTOR |
COMPARE_ERROR |
USER_CODE_CHECKSUM |
DST_ADDR_ERROR |
BUSY | ERROR_SETTING_ACTIVE_PARTITION
Description
This command is only valid if there are two flash banks. It is used to enable booting
from the indicated flash unit by inserting valid signature and invalidating the other
flash unit. This command will not work if zeros are found where a vector table is
expected.
Remark:
An invalid image in the selected flash unit can cause boot failure and
even a system lockup when CRP3 is set.
Example
“S 0 <CR><LF>” selects flash bank A