SAM-BA® ISP - Applets: Translate Bootstrap Master Image to Paired Target Device

Translate Bootstrap Master Image to Paired Target Device (pairingmode)

The pairingmode applet enhances the secure boot mode with anti-cloning protection for the target device.

The SAMA5Dx family and SAM9X60 have the ability to load signed and encrypted programs during the Boot Process. This allows only authorized code to load and execute on the processor.

Enabling the ROM Boot Code for Secure Boot mode requires a Non-Disclosure Agreement (NDA) from Microchip Technology. Contact your nearest Microchip Sales office for instructions on how to attain confidential application note AN2435, SAMA5D2 Series Secure Boot Strategy (Lit. No. DS00002435).

The pairingmode applet applies to the following devices. Documentation is available in the ../sam-ba/doc/ directory.

Device Documentation
SAM9X60 ../doc/sam9x60.html
SAMA5D2 Series ../doc/sama5d2.html

Additional documentation is located in the ../doc/pairingmode-sam9x60.html and ../doc/pairingmode-sama5d2.html document directories.

pairingmode Command Structure

Applet Initialization

Initialization of the pairingmode applet has the following command structure:

$ sam-ba -p secure -d sama5d2 -a pairingmode:help

Syntax: pairingmode:[<algo>]:[<force_settings>]:[<keys_in_fuse>]
    algo - Signature algorithm for authentication (cmac or rsa)
    force_settings - By-pass ROM code settings and force settings from applet parameters
    keys_in_fuse - If <force_settings> is set, load customer keys from fuses
    pairingmode:cmac - Signature algorithm is set to AES-256-CMAC
    pairingmode:rsa - Signature algorithm is set to RSA

Supported Commands

A list of commands supported by the pairingmode controller can be displayed with the following command:

$ sam-ba -p secure -d sama5d2 -a pairingmode -c help

Translate Command

The translate command transforms the input stream of binary data, loaded from the bootstrap master image file <master_input>, into the output stream of binary data, saved into the bootstrap paired image file <paired_output>.

$ sam-ba -p secure -d sama5d2 -a pairingmode -c translate:help

* translate - convert a bootstrap master image into a bootstrap paired image
© 2020 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.