
NXP Semiconductors
UM11038
OM27642 Smart Lock KIT
UM11038
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2018. All rights reserved.
User manual
COMPANY PUBLIC
Rev. 1.1 — 11 October 2018
407611
26 of 38
12.4 Configuration options for PN firmware
PN firmware can be configured in different ways by means of defines in
smart_lock_cfg.h
in the following ways:
•
Cryptographic algorithm configuration options:
◦
SMART_LOCK_CFG_AUTH_2KTDES
◦
SMART_LOCK_CFG_AUTH_3KTDES
◦
SMART_LOCK_CFG_AUTH_AES
•
Key diversification: SMART_LOCK_CFG_AUTH_DIVERSIFY
13. Firmware flashing
13.1 Requirements
For developing PN7462AU and QN9021 firmware and customer applications all
components listed in the below table are required.
Table 1.
Development environment
Item
Version
Purpose
OM27462NBR Smart Lock KIT
1.2 or higher
Demonstrator board
OM13054 LPC Link 2
1.0
Standalone debug adaptor
LPCXpresso IDE
8.0.0 or higher
Development IDE for PN
LPCXpresso PN7462AU plugin
com.nxp.pn7xxxxx.update
-8.0.0-SNAPSHOT-150
Add PN7462AU reader to the
LPCXpresso
ARM Keil MDK
5.21 or higher
Development IDE for QN
QN9020QBlue Software tools
1.3.9 or higher
Plugins for Keil and optional for
flashing via serial port
For an example of how to use LPCXpresso to update the PN7462 firmware refer to the
following document:
UM10883
– PN7462 family Quick Start Guide Development Kit.
13.2 LPC-Link2 connection
On the SmartLock board there are two SWD connections for upgrading both the PN7462
and the QN9021 firmware. The SWD/JTag connectors are marked with PN SWD and
Bluetooth Low Energy SWD. The LPC-Link2 board can be used to flash the PN7462AU
and QN9021. In Fig 18 the pins of the flashing cable are marked according to the pins on
the SmartLock.