Nuvoton NuMicro M251/M252 Series XOM Configuration Application Note

This document introduces the NuMicro M251/M252 series chip executable bit map (XOM) related configuration addresses and registers, as well as how to set or remove XOM regions


Nuvoton NuMicro M251/M252 Series XOM Configuration Application Note - cover page
Brand
Nuvoton
Category
microcontrollers
Document type
Application Note
Language
English
Pages
35
File format
PDF
File size
1.6 MB
Published
16 October, 2023
Updated
16 October, 2023
MD5 checksum
F5995EBB7AD5A5E9123D03EEBB049BEE

About this manual

This document serves as an application note for the 32-bit NuMicro M251/M252 series, detailing the configuration of the Execute-Only Memory (XOM) region. XOM is a secure ROM region that forbids data access while allowing code execution, protecting software libraries from disassembly and copying. The note covers setting XOM size, base address, and control registers, as well as activation procedures.

What's inside

  • Overview
  • XOM Related Configure Address and Register
  • Using BSP FMC ISP APIs to Configure XOM
  • Using Keil MDK to Configure XOM
  • Using ICP Programming Tool to Configure XOM
  • Configuring XOM and Debugging on Keil Compiler
  • Precautions on Using XOM
  • XOM Sample Code

Specifications

Minimum XOM size1 page (512 bytes)
Maximum XOM size512 pages (256 Kbytes)
XOM Region Base Address0x20_0000
XOM Size Address0x20_0004
XOM Control Address0x20_0008
Default XOM Control Value (Off)0x5A
Debug Mode Control Value0x50

Frequently asked questions

What is the minimum size for the XOM region?

The minimum size for the XOM region is 1 page, which equals 512 bytes.

How many XOM regions can be configured on the M251/M252 series?

The M251/M252 series only allows users to set up to 1 XOM region.

What value indicates that the XOM region is in Off mode?

Writing 0x5A to the XOM Region Control configuration indicates the XOM region is in Off mode.

Download PDF (1.6 MB)

More Nuvoton Manuals


View all Nuvoton manuals →