FAQ
- M051 Base Series(95)
- M0518 Series(97)
- M0519 Series(43)
- M0564 Series(1)
- Mini51 Base Series(90)
- Nano100/102 Base Series(101)
- Nano103 Base Series(10)
- Nano110/112 LCD Series(100)
- Nano120 USB Series(111)
- Nano130 Advanced Series(110)
- NUC029 Series(94)
- NUC100/200 Advanced Series(102)
- NUC120/122/123/220 USB Series(116)
- NUC121/125 Series(1)
- NUC126 USB Series(2)
- NUC130/230 CAN Series(103)
- NUC131/NUC1311 CAN Series(98)
- NUC140/240 Connectivity Series(114)
Products
Applications
Function
+
FAQ
What is the encryption function in the NUC505 series? How to use it? How to use the Disable Cipher function of the ICP tool? Is there any relationship between the Disable Cipher function and MTP? Issue Date:2016-11-29
- As the NUC505 series uses SPI Flash, anyone can get code in Flash simply through the SPI interface. Thus, the NUC505 provides an encryption mechanism to protect the SPI Flash internal code to prevent data from being stolen.
- The NUC505 uses MTP (Multiple-Time Programmable) memory to set the encryption key. The process is shown in Figure 1. The encryption key (or data) is encrypted with the key, and the incorrect key cannot be used to read the correct data from the SPI Flash. When the MTP function is enabled, the CPU accessed data is automatically decoded by the MTP key, so unencrypted code cannot be executed.
Note: A total of 15 keys can be re-programmed by MTP In the same chip.
Figure 1 MTP Encryption Process
- The MTP encryption function can be enabled by using the ICP tool. There are four encryption procedures, including MTP key, offset and identification (ID) code. The encryption program will vary according to the location for programming to increase the security. First, specify the key, and then set the offset. The ID code will grab the value set according to the pre-determined offset. If the value is not the same, programming may be erroneous. Therefore, during programming, the user needs to hide the ID code at the offset. The ID code must be the same as the ID code set by the encryption, so that the NUC505 can be executed normally. User can set the MTP options as shown in Figure 2. After the MTP key is set, the MTP option can be enabled for encrypted programming, as shown in Figure 3. When the programmed bin file has been encrypted, at this time the Disable Cipher option of the ICP tool needs to be enabled, as shown in Figure 4, to avoid second code encryption error.
Figure 2 MTP Settings
Figure 3 Enable MTP for Programming
Figure 4 Enable “Disable Cipher” Option
- Refer to the following document for detailed information:
http://www.nuvoton.com/resource-download.jsp?tp_GUID=DA01-NUC505
Products: | Microcontrollers ,Arm Cortex-M4 MCUs ,NUC505 Series ,NUC505DL13Y ,NUC505DLA ,NUC505DS13Y ,NUC505DSA ,NUC505YLA2Y ,NUC505YLA ,NUC505YO13Y |
---|---|
Applications: | |
Function: | Peripherals,Memory,Security Lock,Software and Tools,Nu Tools,In Circuit Programming (ICP) Tool |