OpenOCD
cc26xx.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cc26xx_algo_params
 

Macros

#define CC13X0_ICEPICK_ID   0x0b9be02f
 
#define CC13X0_TYPE   4 /* CC13x0 Chameleon device */
 
#define CC13X2_CC26X2_ICEPICK_ID   0x0bb4102f
 
#define CC13X2_TYPE   5 /* CC13x2 Agama device */
 
#define CC26X0_ALGO_BUFFER_0   0x20001c00
 
#define CC26X0_ALGO_BUFFER_1   0x20002c00
 
#define CC26X0_ALGO_PARAMS_0   0x20001bd8
 
#define CC26X0_ALGO_PARAMS_1   0x20001bec
 
#define CC26X0_ICEPICK_ID   0x0b99a02f
 
#define CC26X0_MAX_SECTORS   32
 
#define CC26X0_SECTOR_LENGTH   0x1000
 
#define CC26X0_TYPE   1 /* CC26x0 Chameleon device */
 
#define CC26X0_WORKING_SIZE
 
#define CC26X1_ICEPICK_ID   0x0b9bd02f
 
#define CC26X1_TYPE   2 /* CC26x1 Chameleon device */
 
#define CC26X2_ALGO_BUFFER_0   0x20002000
 
#define CC26X2_ALGO_BUFFER_1   0x20004000
 
#define CC26X2_ALGO_PARAMS_0   0x20001fd8
 
#define CC26X2_ALGO_PARAMS_1   0x20001fec
 
#define CC26X2_MAX_SECTORS   128
 
#define CC26X2_SECTOR_LENGTH   0x2000
 
#define CC26X2_TYPE   3 /* CC26x2 Agama device */
 
#define CC26X2_WORKING_SIZE
 
#define CC26XX_ALGO_BASE_ADDRESS   0x20000000
 
#define CC26XX_BUFFER_EMPTY   0x00000000
 
#define CC26XX_BUFFER_FULL   0xffffffff
 
#define CC26XX_CMD_ERASE_ALL   1
 
#define CC26XX_CMD_ERASE_AND_PROGRAM   3
 
#define CC26XX_CMD_ERASE_AND_PROGRAM_WITH_RETAIN   4
 
#define CC26XX_CMD_ERASE_SECTORS   5
 
#define CC26XX_CMD_NO_ACTION   0
 
#define CC26XX_CMD_PROGRAM   2
 
#define CC26XX_FLASH_BASE_ADDR   0x00000000
 
#define CC26XX_FLASH_SIZE_INFO   0x4003002c
 
#define CC26XX_NO_TYPE   0 /* Device type not determined yet */
 
#define CC26XX_SRAM_SIZE_INFO   0x40082250
 
#define CC26XX_STATUS_OFFSET   0x0c
 
#define FCFG1_ICEPICK_ID   0x50001318
 
#define FCFG1_USER_ID   0x50001294
 
#define ICEPICK_ID_MASK   0x0fffffff
 
#define ICEPICK_REV_MASK   0xf0000000
 
#define USER_ID_CC13_MASK   0x00800000
 

Macro Definition Documentation

◆ CC13X0_ICEPICK_ID

#define CC13X0_ICEPICK_ID   0x0b9be02f

Definition at line 19 of file cc26xx.h.

◆ CC13X0_TYPE

#define CC13X0_TYPE   4 /* CC13x0 Chameleon device */

Definition at line 68 of file cc26xx.h.

◆ CC13X2_CC26X2_ICEPICK_ID

#define CC13X2_CC26X2_ICEPICK_ID   0x0bb4102f

Definition at line 20 of file cc26xx.h.

◆ CC13X2_TYPE

#define CC13X2_TYPE   5 /* CC13x2 Agama device */

Definition at line 69 of file cc26xx.h.

◆ CC26X0_ALGO_BUFFER_0

#define CC26X0_ALGO_BUFFER_0   0x20001c00

Definition at line 34 of file cc26xx.h.

◆ CC26X0_ALGO_BUFFER_1

#define CC26X0_ALGO_BUFFER_1   0x20002c00

Definition at line 35 of file cc26xx.h.

◆ CC26X0_ALGO_PARAMS_0

#define CC26X0_ALGO_PARAMS_0   0x20001bd8

Definition at line 36 of file cc26xx.h.

◆ CC26X0_ALGO_PARAMS_1

#define CC26X0_ALGO_PARAMS_1   0x20001bec

Definition at line 37 of file cc26xx.h.

◆ CC26X0_ICEPICK_ID

#define CC26X0_ICEPICK_ID   0x0b99a02f

Definition at line 17 of file cc26xx.h.

◆ CC26X0_MAX_SECTORS

#define CC26X0_MAX_SECTORS   32

Definition at line 32 of file cc26xx.h.

◆ CC26X0_SECTOR_LENGTH

#define CC26X0_SECTOR_LENGTH   0x1000

Definition at line 33 of file cc26xx.h.

◆ CC26X0_TYPE

#define CC26X0_TYPE   1 /* CC26x0 Chameleon device */

Definition at line 65 of file cc26xx.h.

◆ CC26X0_WORKING_SIZE

#define CC26X0_WORKING_SIZE
Value:
CC26XX_ALGO_BASE_ADDRESS)
#define CC26X0_SECTOR_LENGTH
Definition: cc26xx.h:33
#define CC26X0_ALGO_BUFFER_1
Definition: cc26xx.h:35

Definition at line 38 of file cc26xx.h.

◆ CC26X1_ICEPICK_ID

#define CC26X1_ICEPICK_ID   0x0b9bd02f

Definition at line 18 of file cc26xx.h.

◆ CC26X1_TYPE

#define CC26X1_TYPE   2 /* CC26x1 Chameleon device */

Definition at line 66 of file cc26xx.h.

◆ CC26X2_ALGO_BUFFER_0

#define CC26X2_ALGO_BUFFER_0   0x20002000

Definition at line 44 of file cc26xx.h.

◆ CC26X2_ALGO_BUFFER_1

#define CC26X2_ALGO_BUFFER_1   0x20004000

Definition at line 45 of file cc26xx.h.

◆ CC26X2_ALGO_PARAMS_0

#define CC26X2_ALGO_PARAMS_0   0x20001fd8

Definition at line 46 of file cc26xx.h.

◆ CC26X2_ALGO_PARAMS_1

#define CC26X2_ALGO_PARAMS_1   0x20001fec

Definition at line 47 of file cc26xx.h.

◆ CC26X2_MAX_SECTORS

#define CC26X2_MAX_SECTORS   128

Definition at line 42 of file cc26xx.h.

◆ CC26X2_SECTOR_LENGTH

#define CC26X2_SECTOR_LENGTH   0x2000

Definition at line 43 of file cc26xx.h.

◆ CC26X2_TYPE

#define CC26X2_TYPE   3 /* CC26x2 Agama device */

Definition at line 67 of file cc26xx.h.

◆ CC26X2_WORKING_SIZE

#define CC26X2_WORKING_SIZE
Value:
CC26XX_ALGO_BASE_ADDRESS)
#define CC26X2_ALGO_BUFFER_1
Definition: cc26xx.h:45
#define CC26X2_SECTOR_LENGTH
Definition: cc26xx.h:43

Definition at line 48 of file cc26xx.h.

◆ CC26XX_ALGO_BASE_ADDRESS

#define CC26XX_ALGO_BASE_ADDRESS   0x20000000

Definition at line 29 of file cc26xx.h.

◆ CC26XX_BUFFER_EMPTY

#define CC26XX_BUFFER_EMPTY   0x00000000

Definition at line 52 of file cc26xx.h.

◆ CC26XX_BUFFER_FULL

#define CC26XX_BUFFER_FULL   0xffffffff

Definition at line 53 of file cc26xx.h.

◆ CC26XX_CMD_ERASE_ALL

#define CC26XX_CMD_ERASE_ALL   1

Definition at line 57 of file cc26xx.h.

◆ CC26XX_CMD_ERASE_AND_PROGRAM

#define CC26XX_CMD_ERASE_AND_PROGRAM   3

Definition at line 59 of file cc26xx.h.

◆ CC26XX_CMD_ERASE_AND_PROGRAM_WITH_RETAIN

#define CC26XX_CMD_ERASE_AND_PROGRAM_WITH_RETAIN   4

Definition at line 60 of file cc26xx.h.

◆ CC26XX_CMD_ERASE_SECTORS

#define CC26XX_CMD_ERASE_SECTORS   5

Definition at line 61 of file cc26xx.h.

◆ CC26XX_CMD_NO_ACTION

#define CC26XX_CMD_NO_ACTION   0

Definition at line 56 of file cc26xx.h.

◆ CC26XX_CMD_PROGRAM

#define CC26XX_CMD_PROGRAM   2

Definition at line 58 of file cc26xx.h.

◆ CC26XX_FLASH_BASE_ADDR

#define CC26XX_FLASH_BASE_ADDR   0x00000000

Definition at line 26 of file cc26xx.h.

◆ CC26XX_FLASH_SIZE_INFO

#define CC26XX_FLASH_SIZE_INFO   0x4003002c

Definition at line 27 of file cc26xx.h.

◆ CC26XX_NO_TYPE

#define CC26XX_NO_TYPE   0 /* Device type not determined yet */

Definition at line 64 of file cc26xx.h.

◆ CC26XX_SRAM_SIZE_INFO

#define CC26XX_SRAM_SIZE_INFO   0x40082250

Definition at line 28 of file cc26xx.h.

◆ CC26XX_STATUS_OFFSET

#define CC26XX_STATUS_OFFSET   0x0c

Definition at line 72 of file cc26xx.h.

◆ FCFG1_ICEPICK_ID

#define FCFG1_ICEPICK_ID   0x50001318

Definition at line 11 of file cc26xx.h.

◆ FCFG1_USER_ID

#define FCFG1_USER_ID   0x50001294

Definition at line 12 of file cc26xx.h.

◆ ICEPICK_ID_MASK

#define ICEPICK_ID_MASK   0x0fffffff

Definition at line 15 of file cc26xx.h.

◆ ICEPICK_REV_MASK

#define ICEPICK_REV_MASK   0xf0000000

Definition at line 16 of file cc26xx.h.

◆ USER_ID_CC13_MASK

#define USER_ID_CC13_MASK   0x00800000

Definition at line 23 of file cc26xx.h.