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

Header file for the flash memory definitions. More...

#include "dev/cc2538-dev.h"
#include "cfs-coffee-arch.h"
#include <stdint.h>

Go to the source code of this file.

Macros

Flash memory organization
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.
 
Firmware location in flash memory

Detailed Description

Header file for the flash memory definitions.

Definition in file flash.h.