常见问答
- M051 系列(95)
- M0518 系列(97)
- M0519 系列(43)
- M0564 系列(1)
- Mini51 系列(90)
- Nano100 / 102 系列(101)
- Nano103 Base 系列(10)
- Nano110 / 112 LCD 系列(100)
- Nano120 USB 系列(111)
- Nano130 USB+LCD 系列(110)
- NUC029 系列(94)
- NUC100 / 200 系列(102)
- NUC120 / 122 / 123 / 220 USB 系列(116)
- NUC121/125 系列(1)
- NUC126 USB 系列(2)
- NUC130 / 230 CAN 系列(103)
- NUC131/NUC1311 CAN 系列(98)
- NUC140 / 240 USB+CAN 系列(114)
- M451 Base 系列(118)
- M451M 系列(117)
- M452 USB 系列(130)
- M4521 USB 系列(1)
- M453 CAN 系列(128)
- M463 CAN FD/USB HS 系列(1)
- M467 Ethernet/Crypto 系列(1)
- M471 系列(1)
- M479 Motor Control Series(1)
- M481 Base 系列(4)
- M482 USB FS OTG 系列(4)
- M483 CAN 系列(4)
- M484 USB HS OTG 系列(4)
- M485 Crypto 系列(4)
- M487 Ethernet 系列(4)
- M4TK 触摸 IC 系列(25)
- NUC442 / 472 系列(130)
- NUC472 Series(1)
- NUC505 系列(138)
产品
功能
+
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 |
粤公网安备 44030502010001号