Proprietary code read-out protection (PCROP) software expansion for STM32Cube (AN4701, AN4758 and AN4968)

The goal of this X-CUBE-PCROP firmware is to illustrate the practical usage of the PCROP protection feature on microcontrollers of the STM32F4, STM32F7 and STM32L4 Series.

The firmware is provided with two projects: Project 1, called STEP1-ST_Customer_level_n and Project 2 called, STEP2-ST_Customer_level_n+1.

STEP1-ST_Customer_level_n shows how an ST customer level n can generate execute-only IP-Code (using compiler options), place it in a preferred Flash sector, protect it using PCROP and generate the IP-Code related files, such as the header file and the symbols definition file to be provided to ST customer level n+1. This project includes two project configurations: PCROP-IP-Code-XO and PCROP-IP-Code.

In the PCROP-IP-Code-XO configuration the compiler is configured to generate execute-only IP-Code, avoiding any data read (avoiding literal pools and branch tables).

In the PCROP-IP-Code configuration no special compiler option is used, it is just for test purposes to show that avoiding data in code (such as literal pools and branch tables) is mandatory for PCROP-ed codes.

The second project, STEP2-ST_Customer_level_n+1, shows how an ST Customer level n+1 having a preprogrammed microcontroller of the STM32F4, STM32F7 or STM32L4 Series, with a PCROP-ed IP-Code, can create his own end-user application, using these protected IP-Code functions.

The application used is the FIR filter example provided in the CMSIS library. The example is provided with Keil® MDK-ARM,IARand SW4STM32 toolchains and can be easily ported to any other toolchain.

For more details on PCROP implementation in microcontrollers, refer to the corresponding application note: Proprietary code read-out protection on microcontrollers of the STM32F4 series (AN4701), Proprietary code read-out protection on microcontrollers STM32F72xxx and STM32F73xxx (AN4968) or Proprietary code read-out protection on microcontrollers of the STM32L4 series (AN4758).

Key Features

  • PCROP
  • Read Protection
  • Write Protection

资源

技术文档

产品规格
Description Version Size
Proprietary code read-out protection (PCROP), software expansion for STM32Cube 3.0 139 KB
应用手册
Description Version Size
STM32F72xxx和STM32F73xxx微控制器上的专有代码读取保护 1.0 1 MB
STM32F4系列微控制器的专有代码读取保护 3.0 1 MB
Proprietary code read-out protection on microcontrollers of the STM32L4 Series 2.0 994 KB
用户手册
Description Version Size
Development checklist for STM32Cube Expansion Packages 1.0 283 KB
Development guidelines for STM32Cube Expansion Packages 1.0 485 KB

出版刊物和宣传资料

手册
Description Version Size
STM32 Open Development Environment Brochure 15.10 4 MB

法律

许可协议
Description Version Size
Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 3.1 104 KB

获取软件

型号 Software Version Marketing Status Supplier Order from ST
X-CUBE-PCROP 3.0.0 Active ST

 

支持和社区


京ICP备14016349号-2

×