NXP Semiconductors A71CLARD-BA Quick Start Manual Download Page 28

 

 

 

 

 

 

 

 

 
 

  

  

 

 

 

  

 

NXP Semiconductors 

AN12306 

 

A71CL Quick start guide for A71CLARD-BAI and Kinetis 

515910 

All information provided in this document is subject to legal disclaimers. 

© NXP B.V. 2018. All rights reserved. 

Application note                                                                            
COMPANY PUBLIC 

Rev. 1.0 — 14 December 2018                                                                          

515910 

28 of 32 

 

Legal information

9.1  Definitions 

Draft — 

The document is a draft version only. The content is still under 

internal review and subject to formal approval, which may result in 
modifications or additions. NXP Semiconductors does not give any 
representations or warranties as to the accuracy or completeness of 
information included herein and shall have no liability for the consequences 
of use of such information. 

9.2  Disclaimers 

Limited warranty and liability — 

Information in this document is believed to 

be accurate and reliable. However, NXP Semiconductors does not give any 
representations or warranties, expressed or implied, as to the accuracy or 
completeness of such information and shall have no liability for the 
consequences of use of such information. NXP Semiconductors takes no 
responsibility for the content in this document if provided by an information 
source outside of NXP Semiconductors. 

In no event shall NXP Semiconductors be liable for any indirect, incidental, 
punitive, special or consequential damages (including - without limitation - 
lost profits, lost savings, business interruption, costs related to the removal or 
replacement of any products or rework charges) whether or not such 
damages are based on tort (including negligence), warranty, breach of 
contract or any other legal theory. 

Notwithstanding any damages that customer might incur for any reason 
whatsoever, NXP Semiconductors’ aggregate and cumulative liability 
towards customer for the products described herein shall be limited in 
accordance with the 

Terms and conditions of commercial sale 

of NXP 

Semiconductors. 

Right to make changes — 

NXP Semiconductors reserves the right to make 

changes to information published in this document, including without 
limitation specifications and product descriptions, at any time and without 
notice. This document supersedes and replaces all information supplied prior 
to the publication hereof. 

Suitability for use — 

NXP Semiconductors products are not designed, 

authorized or warranted to be suitable for use in life support, life-critical or 
safety-critical systems or equipment, nor in applications where failure or 
malfunction of an NXP Semiconductors product can reasonably be expected 
to result in personal injury, death or severe property or environmental 
damage. NXP Semiconductors and its suppliers accept no liability for 
inclusion and/or use of NXP Semiconductors products in such equipment or 
applications and therefore such inclusion and/or use is at the customer’s own 
risk. 

Applications — 

Applications that are described herein for any of these 

products are for illustrative purposes only. NXP Semiconductors makes no 
representation or warranty that such applications will be suitable for the 
specified use without further testing or modification.  

Customers are responsible for the design and operation of their applications 
and products using NXP Semiconductors products, and NXP 
Semiconductors accepts no liability for any assistance with applications or 
customer product design. It is customer’s sole responsibility to determine 
whether the NXP Semiconductors product is suitable and fit for the 
customer’s applications and products planned, as well as for the planned 
application and use of customer’s third party customer(s). Customers should 
provide appropriate design and operating safeguards to minimize the risks 
associated with their applications and products.  

NXP Semiconductors does not accept any liability related to any default, 
damage, costs or problem which is based on any weakness or default in the 
customer’s applications or products, or the application or use by customer’s 

third party customer(s). Customer is responsible for doing all necessary 
testing for the customer’s applications and products using NXP 
Semiconductors products in order to avoid a default of the applications and 
the products or of the application or use by customer’s third party 
customer(s). NXP does not accept any liability in this respect. 

Export control — 

This document as well as the item(s) described herein 

may be subject to export control regulations. Export might require a prior 
authorization from competent authorities. 

Translations — 

A non-English (translated) version of a document is for 

reference only. The English version shall prevail in case of any discrepancy 
between the translated and English versions. 

Evaluation products — 

This product is provided on an “as is” and “with all 

faults” basis for evaluation purposes only. NXP Semiconductors, its affiliates 
and their suppliers expressly disclaim all warranties, whether express, 
implied or statutory, including but not limited to the implied warranties of non-
infringement, merchantability and fitness for a particular purpose. The entire 
risk as to the quality, or arising out of the use or performance, of this product 
remains with customer. 

In no event shall NXP Semiconductors, its affiliates or their suppliers be 
liable to customer for any special, indirect, consequential, punitive or 
incidental damages (including without limitation damages for loss of 
business, business interruption, loss of use, loss of data or information, and 
the like) arising out the use of or inability to use the product, whether or not 
based on tort (including negligence), strict liability, breach of contract, breach 
of warranty or any other theory, even if advised of the possibility of such 
damages.  

Notwithstanding any damages that customer might incur for any reason 
whatsoever (including without limitation, all damages referenced above and 
all direct or general damages), the entire liability of NXP Semiconductors, its 
affiliates and their suppliers and customer’s exclusive remedy for all of the 
foregoing shall be limited to actual damages incurred by customer based on 
reasonable reliance up to the greater of the amount actually paid by 
customer for the product or five dollars (US$5.00). The foregoing limitations, 
exclusions and disclaimers shall apply to the maximum extent permitted by 
applicable law, even if any remedy fails of its essential purpose. 

9.1  Licenses 

ICs with DPA Countermeasures functionality 

 

NXP ICs containing functionality 
implementing countermeasures to 
Differential Power Analysis and Simple 
Power Analysis are produced and sold 
under applicable license from 
Cryptography Research, Inc. 

9.2  Trademarks 

Notice: All referenced brands, product names, service names and 
trademarks are property of their respective owners. 

Bluetooth —

 The Bluetooth word mark and logos are registered trademarks 

owned by Bluetooth SIG, Inc. and any use of such marks by NXP 
Semiconductors is under license. 

 

AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, 
Cordio, CoreLink, CoreSight, Cortex, DesignStart, DynamIQ, Jazelle, 
Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore, 

Summary of Contents for A71CLARD-BA

Page 1: ...Rev 1 0 14 December 2018 515910 Application note COMPANY PUBLIC Document information Info Content Keywords Security IC A71CL A71CLARD BAI FRDM K64F Abstract This document helps getting started with A71CLARD BAI and the FRDM K64F development platforms for K64 MCUs ...

Page 2: ...on provided in this document is subject to legal disclaimers NXP B V 2018 All rights reserved Application note COMPANY PUBLIC Rev 1 0 14 December 2018 515910 2 of 32 Contact information For more information please visit http www nxp com Revision history Rev Date Description 1 0 20181214 First release ...

Page 3: ...It is based on A71 secure element hardware which runs an application which manages the credentials The A71CL BAI solution provides basic security measures protecting the IC against many physical and logical attacks It can be integrated with various host platforms and operating systems to secure a broad range of applications System description The A71CL evaluation setup presented in this document c...

Page 4: ...ntact Arduino Adapter Board MiniPCB containing a A71CL secure element IC pre provisioned for Baidu Cloud A7101CLTK2 T0BC27F 12NC 9353 725 76118 MCU Board FRDM K64F 9353 262 93598 K64F Freedom MCU Development board 4 1 A71CL Arduino compatible development kit A71CLARD The A71CLARD is an Arduino development kit containing two items as well as 1 An A71CL Mini PCB board 2 An Arduino interface board al...

Page 5: ...he on board 3 3V voltage regulator on the MiniPCB board The jumpers JP3 and JP4 enable the I C SDA SCL pull up resistors JP7 can be used to connect the A71 reset signal Table 2 Default MiniPCB Jumper settings Jumper Setting Usage JP1 Not set External VCC connection JP2 3 4 Connect A71 to 3 3V regulator on MiniPCB JP3 Set Connect I C SDA pull up resistor JP4 Set Connect I C SCL pull up resistor JP5...

Page 6: ...SDA SCL IF1 IF0 2 7 4 6 3 5 1 8 VSS C1 100 nF R5 100 kΩ GND GND IC1 A7101 SO8_SOT96 1 VCC VCC VCC n c nRST SDA SCL IF1 IF0 5 4 2 3 IF0 P2 Molex 38 00 1336 IF1 GND SCL 1 2 3 4 SDA 5 VCC 5 V 6 SCL P1 Molex 38 00 1334 VCC 5 V GND SDA 1 2 3 4 1 8 6 7 VSS C4 100 nF GND IC4 JP2 VCC select VCC VCC_ext nc A7101 WLCSP VCC VCC n c nRST SDA SCL IF1 IF0 A2 B2 A1 n c B1 n c C1 n c B3 C3 C4 TP C2 B4 A3 A4 IC3 T...

Page 7: ... Mini PCB with the Kinetis board Fig 5 shows the board pinout 1 Connection from the perspective of a matching Arduino Shield top view Fig 5 A71 Arduino header 4 2 Freedom development platforms for Kinetis The section details the Freedom development platforms for Kinetis supported by the A71CL product support package 4 2 1 FRDM K64F The Kinetis FRDM K64F FRDM_K64F 6 development platform is a simple...

Page 8: ...nsion board options The onboard interface includes a six axis digital accelerometer magnetometer RGB LED SDHC add on Bluetooth module add on RF module Ethernet and OpenSDAv2 the NXP open source hardware embedded serial and debug adapter running an open source bootloader Fig 6 FRDM K64F Freedom development platform for Kinetis K64 K63 and K24 MCUs Hardware setup The hardware setup consists of mount...

Page 9: ...F board Then the A71 security IC is connected to the Kinetis board through the Arduino interface board See Fig 9 Fig 9 Arduino interface board connected to the Kinetis board FRDM K64F As can be observed there are two USB connectors in the Kinetis boards FRDM K64F See Fig 10 The USB connector highlighted in red corresponds to OpenSDA debug port This port will be used by the development PC to flash ...

Page 10: ...SDA debugger firmware update on Kinetis board see section 6 6 6 1 MCUXpresso IDE installation MCUXpresso IDE is a fully featured software development environment for NXP s ARM based MCUs and includes all the tools necessary to develop high quality embedded software applications in a timely and cost effective fashion MCUXpresso IDE is based on the Eclipse IDE and includes the industry standard ARM ...

Page 11: ... The setup wizard will guide the user through the process of installing MCUXpresso correctly Since MCUXpresso requires extra drivers during the installation check all the items on the list to allow the drivers to be installed Make sure the checkbox for installing the NXP debug drivers is activated See Fig 11 Note Please install MCUXpresso IDE version 10 2 0 or higher Fig 11 MCUXpresso install wiza...

Page 12: ... of 32 Fig 12 Kinetis board selection 2 In the next screen select the software components for this example no special items need to be selected and you can skip this step see Fig 13 and directly click on Download SDK Fig 13 Kinetis SDK configuration The downloaded SDK has to be imported in MCUXpresso IDE To import the SDK into MCUXpresso IDE drag and drop the SDK file inside the red square Install...

Page 13: ...3 Installing the A71CL example project After downloading the A71CL host library A71CL_HOST_SW 1 follow these steps for installation 1 Double click on the downloaded A71CL executable A71CL hostlibrary file 2 Click Yes If pop up comes saying Do you want to allow this app from an unknown publisher to make changes to your device 3 Read License agreement and accept the license agreement by checking I a...

Page 14: ...vided in this document is subject to legal disclaimers NXP B V 2018 All rights reserved Application note COMPANY PUBLIC Rev 1 0 14 December 2018 515910 14 of 32 Fig 16 Select install folder 5 Choose start menu folder and click Install Fig 17 Select start menu entry 6 Click Close After Installation Complete ...

Page 15: ...stalled Kinetis SDK This SDK is not available yet and as such this way is not supported yet Importing the A71CL example projects from local drive included in the A71CL Host Library 6 4 1 Importing A71CL example projects from local drive Here the project files bundled with the A71CL Host Software package can be used The A71CL Host Software Package can be downloaded from A71CL_HOST_SW 1 After unpack...

Page 16: ...l rights reserved Application note COMPANY PUBLIC Rev 1 0 14 December 2018 515910 16 of 32 Fig 19 Import project from file system After clicking the import option a new pop up will open In the Project directory unpacked field browse and point to the correct project directory where you installed the host library see Fig 20 Then click on Next Fig 20 Project directory to import ...

Page 17: ...the Kinetis board Any terminal supporting a serial port interface can be used In this document Tera Term is used and can be downloaded from TERA_TERM 2 The setup wizard will guide the user through the installation The standard installation can be chosen for this purpose Once it is finished Tera Term can be started 6 6 OpenSDA configuration OpenSDA is a serial and debug adapter built into the Kinet...

Page 18: ...page to section Compatible Evaluation Boards and search for the target Kinetis FRDM board In this case Fig 22 depicts the OpenSDA bootloader version defined for the Kinetis FRDM K64F version 2 0 Fig 22 OpenSDA bootloader version for the Kinetis FRDM K64F Once the OpenSDA bootloader version is identified click in the Downloads scroll down until J Link OpenSDA Generic Firmwares appears and download ...

Page 19: ...ing bootloader mode After connecting the USB cable to the Kinetis board the green led located inside the yellow square will start blinking and the development PC will show a new drive called BOOTLOADER The drive may disappear again after 30 seconds in case there is no interaction in this case disconnect and connect again with pressing the Reset button Drag the downloaded firmware directly into the...

Page 20: ...d in the Windows PC the Kinetis MCU is programmed so that it executes the example application The execution output can be seen either in the MCUXpresso IDE console or by using Tera Term Both cases are explained step by step in this section 7 1 1 Printing the output with MCUXpresso IDE Assuming that the SDK has already been installed and the project examples have been imported as explained in secti...

Page 21: ...nd execute automatically Once the process is finished the user should press the F8 key to run the program Fig 27 shows the output in the console tab Fig 27 Example of generated output printed in MCUXpresso IDE Console output from A71CL example 7 1 2 Printing the output on UART console using Tera Term The output of the A71CL example execution can be switched to be seen by using Tera Term For this t...

Page 22: ... automatic care to set the pre processor define SDK_DEBUGCONSOLE to 1 to activate the UART console 0 for the semi hosting console Note If the option UART console or Semihost console cannot be clicked make sure that there is not a running session and that the project is selected in the project explorer If there is a running session a running thread inside Debug window click on the Terminate all deb...

Page 23: ...ion note COMPANY PUBLIC Rev 1 0 14 December 2018 515910 23 of 32 Fig 29 Build and Debug options On Tera Term the first thing that should be configured is a new connection See Fig 30 The user should choose a Serial connection and a port This port can be checked in the Window s device manager under Ports COM LPT menu Fig 30 Tera Term new connection Then the selected port should be set as shown in Fi...

Page 24: ... subject to legal disclaimers NXP B V 2018 All rights reserved Application note COMPANY PUBLIC Rev 1 0 14 December 2018 515910 24 of 32 Fig 31 Serial port setup The terminal window should be configured as shown in Fig 32 Fig 32 Terminal setup When the MCU now executes the example the log output will be shown in Tera Term See Fig 33 ...

Page 25: ...1CLAPI Start exGetCL 0x30 0x77 0x72 0x31 0x69 0x31 0x32 0x6E 0x61 0x67 0x70 0x75 0x71 0x30 0x63 0x6B End exGetCL result OK Start exHash End exHash result OK Start exRsaSign signature_data_len 128 signature_data 0x26 0xB4 0x2E 0xBE 0x19 0x27 0xC6 0x4F 0x5C 0xE8 0x8D 0x41 0xA5 0x24 0x94 0x12 0x87 0xD1 0x9E 0xB9 0xCF 0x13 0x78 0x39 0xF1 0xDE 0x76 0x8F 0xEC 0x 8 0xA1 0x9C 0xD8 0x22 0xE3 0x55 0xA8 0x B...

Page 26: ...52 0x2E 0xC8 0x35 0x99 0x68 0xE3 0x54 0x7C 0x8F 0x6C 0x11 0x15 0x11 0xAB 0xC2 0xF3 0x75 0x5C 0x2A 0xAA 0xAD 0x67 0xD2 0xCA 0x9B 0x 6 0x76 0xE3 0x77 0x91 0x25 0x80 0xCD 0x6E 0x21 0x1F 0x4A 0x13 0x9B 0x78 0x68 0xA7 0xF3 0xFA 0x95 0x95 0x71 0xDC 0x22 0x14 0x10 0x64 0x16 0x30 0x14 0x35 0x8C 0xB9 0xF6 0xB0 0xA2 0xBB 0xB8 0xB5 0xD4 0x95 0x4D 0xB6 0x97 0x38 0xE7 0x10 0x3B 0x2C 0x40 0x96 0xC4 0xF5 0xFD 0x...

Page 27: ...XPRESSO_IDE MCUXpresso IDE https www nxp com support developer resources software development tools mcuxpresso software and tools mcuxpresso integrated development environment ide MCUXpresso IDE 4 OPENSDA_FIRMWARE OpenSDA OpenSDA V2 website https www segger com products debug probes j link models other j links opensda sda v2 5 SDKBUILDER MCUXPresso SBKBuilder website https mcuxpresso nxp com en se...

Page 28: ...tomer s applications and products planned as well as for the planned application and use of customer s third party customer s Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products NXP Semiconductors does not accept any liability related to any default damage costs or problem which is based on any weakness or defau...

Page 29: ...n note COMPANY PUBLIC Rev 1 0 14 December 2018 515910 29 of 32 Socrates Thumb TrustZone ULINK ULINK2 ULINK ME ULINK PLUS ULINKpro μVision Versatile are trademarks or registered trademarks of Arm Limited or its subsidiaries in the US and or elsewhere The related technology may be protected by any or all of patents copyrights designs and trade secrets All rights reserved Kinetis is a trademark of NX...

Page 30: ... install wizard 11 Fig 12 Kinetis board selection 12 Fig 13 Kinetis SDK configuration 12 Fig 14 Installing the downloaded Kinetis SDK into MCUXpresso 13 Fig 15 A71CL Hostlibrary License 13 Fig 16 Select install folder 14 Fig 17 Select start menu entry 14 Fig 18 Installation finished 15 Fig 19 Import project from file system 16 Fig 20 Project directory to import 16 Fig 21 Project directory to impor...

Page 31: ...rs AN12306 A71CL Quick start guide for A71CLARD BAI and Kinetis Application note COMPANY PUBLIC Rev 1 0 14 December 2018 515910 31 of 32 List of tables Table 1 Needed Boards 4 Table 2 Default MiniPCB Jumper settings 5 ...

Page 32: ...no interface board 7 4 2 Freedom development platforms for Kinetis 7 4 2 1 FRDM K64F 7 Hardware setup 8 Software setup 10 6 1 MCUXpresso IDE installation 10 6 2 Kinetis SDK package 11 6 3 Installing the A71CL example project 13 6 4 Importing the example projects in MCUXpresso IDE 15 6 4 1 Importing A71CL example projects from local drive 15 6 5 Terminal setup 17 6 6 OpenSDA configuration 17 A71 ap...

Reviews: