Contiki-NG
Loading...
Searching...
No Matches

Definitions for the cc2538 flash memory. More...

Files

file  arch/cpu/cc2538/dev/flash.h
 Header file for the flash memory definitions.

Flash lock bit page and CCA location

#define FLASH_CCA_ADDR
 Address.
#define FLASH_CCA_SIZE   0x0000002C
 Size in bytes.

Bootloader backdoor configuration bit fields

#define FLASH_CCA_BOOTLDR_CFG_DISABLE   0xEFFFFFFF
 Disable backdoor function.
#define FLASH_CCA_BOOTLDR_CFG_ENABLE   0xF0FFFFFF
 Enable backdoor function.
#define FLASH_CCA_BOOTLDR_CFG_ACTIVE_HIGH   0x08000000
 Selected pin on pad A active high.
#define FLASH_CCA_BOOTLDR_CFG_PORT_A_PIN_M   0x07000000
 Selected pin on pad A mask.
#define FLASH_CCA_BOOTLDR_CFG_PORT_A_PIN_S   24
 Selected pin on pad A shift.

Image valid definitions

#define FLASH_CCA_IMAGE_VALID   0x00000000
 Indicates valid image in flash.

Lock page / debug definitions

#define FLASH_CCA_LOCKED   0
 Page or debug locked if bit == 0.
#define FLASH_CCA_LOCK_DEBUG_BYTE   31
 Lock byte containing the debug lock bit.
#define FLASH_CCA_LOCK_DEBUG_BIT   7
 Debug lock bit position in the corresponding lock byte.

Detailed Description

Definitions for the cc2538 flash memory.