SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 246
Version 1.1
2
2
2
1
1
1
FLASH
21.1 OVERVIEW
SONiX 32-bit MCU integrated device feature in-system programmable (ISP) FLASH memory for convenient,
upgradeable code storage. The FLASH memory may be programmed via the SONiX 32-bit MCU programming interface
or by application code for maximum flexibility. SONiX 32-bit MCU provides security options at the disposal of the
designer to prevent unauthorized access to information stored in FLASH memory.
The MCU is stalled during Flash program and erase operations, although peripherals (Timers, WDT, I/O, PWM,
etc.) remain active.
Watchdog timer should be cleared if enabled before the Flash write or erase operation.
The erase operation sets all the bits in the Flash page to logic 1.
HW will hold system clock and automatically move out data from RAM and do programming, after programming
finished, HW will release system clock and let MCU execute the next instruction.
21.2 EMBEDDED FLASH MEMORY
The Flash memory is organized as 32-bit wide memory cells that can be used for storing both code and data constants,
and is located at a specific base address in the memory map of chip.
The high-performance Flash memory module in chip has the following key features:
Memory organization: the Flash memory is organized as a User ROM, Boot ROM.
User ROM
Up to 128K Bytes divided into 128 pages of 1024 Bytes
Boot ROM
Up to 4K Bytes divided into 4 pages of 1024 Bytes
The Flash interface implements instruction access and data access based on the AHB protocol. It implements the logic
necessary to carry out Flash memory operations (Program/Erase). Program/Erase operations can be performed over
the whole product voltage range.
21.3 FEATURES
Read interface (32-bit)
Flash Program / Erase operation
Code Option includes Code Security (CS)
Write operations to the main memory block and the code options are managed by an embedded Flash Memory
Controller (FMC). The high voltage needed for Program/Erase operations is internally generated. The main Flash
memory can be read/write protected against different levels of Code Security (CS).
During a write operation to the Flash memory, any attempt to read the Flash memory will stall the bus. The read
operation will proceed correctly once the write operation has completed. This means that code or data fetches cannot be
made while a write/erase operation is ongoing.
For write and erase operations on the Flash memory, the IHRC will be turn ON by FMC. The Flash memory can be
programmed and erased using ICP and ISP.
Содержание SN32F280 Series
Страница 222: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 222 Version 1 1 A1D16...
Страница 263: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 263 Version 1 1 26 2 LQFP 64 PIN...
Страница 264: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 264 Version 1 1 26 3 LQFP 48 PIN...