Skip to main contentModule flash
Source - PAGE_SIZE
- Flash page size in bytes (erase and fast-write granularity).
- app_base
- App region base address (ORIGIN of APP region).
Defined by
__tb_app_base in tb-boot.x. - boot_mode
- erase
- Erase a single 64-byte page at
addr (RM §16.4.7). - lock
- Lock flash controller.
- meta_addr
- Boot metadata address (ORIGIN of META region).
Defined by
__tb_meta_base in tb-boot.x / tb-app.x. - set_boot_mode
- unlock
- Unlock flash controller (KEYR + MODEKEYR).
- write
- Write
data to flash at addr (RM §16.4.6).