OpenOCD
msp432.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  msp432_algo_params
 

Macros

#define ALGO_BASE_ADDR   0x20000000
 
#define ALGO_BUFFER1_ADDR   0x20002000
 
#define ALGO_BUFFER1_STATUS_ADDR   0x20000164
 
#define ALGO_BUFFER2_ADDR   0x20003000
 
#define ALGO_BUFFER2_STATUS_ADDR   0x20000168
 
#define ALGO_BUFFER_SIZE   0x1000
 
#define ALGO_ERASE_PARAM_ADDR   0x2000016c
 
#define ALGO_FLASH_COMMAND_ADDR   0x20000150
 
#define ALGO_FLASH_DEST_ADDR   0x2000015c
 
#define ALGO_FLASH_LENGTH_ADDR   0x20000160
 
#define ALGO_PARAMS_BASE_ADDR   0x20000150
 
#define ALGO_RETURN_CODE_ADDR   0x20000154
 
#define ALGO_STACK_POINTER_ADDR   0x20002000
 
#define ALGO_UNLOCK_BSL_ADDR   0x20000170
 
#define ALGO_WORKING_SIZE   (ALGO_BUFFER2_ADDR + 0x1000 - ALGO_BASE_ADDR)
 
#define BUFFER_ACTIVE   0x01
 
#define BUFFER_DATA_READY   0x10
 
#define BUFFER_INACTIVE   0x00
 
#define E4_ALGO_ENTRY_ADDR   0x20000110
 
#define E4_FLASH_BASE   FLASH_BASE
 
#define E4_FLASH_SIZE   0x100000
 
#define E4_SECTOR_LENGTH   0x4000
 
#define FLASH_BASE   0x00000000
 
#define FLASH_BUSY   0x00000001
 
#define FLASH_CONTINUOUS   32
 
#define FLASH_ERASE_INFO   0x02
 
#define FLASH_ERASE_MAIN   0x01
 
#define FLASH_ERROR   0x0000DEAD
 
#define FLASH_EXIT   16
 
#define FLASH_INIT   8
 
#define FLASH_LOCK_BSL   0x00
 
#define FLASH_MASS_ERASE   1
 
#define FLASH_NO_COMMAND   0
 
#define FLASH_POWER_ERROR   0x00DEAD00
 
#define FLASH_PROGRAM   4
 
#define FLASH_SECTOR_ERASE   2
 
#define FLASH_SUCCESS   0x00000ACE
 
#define FLASH_TIMEOUT_ERROR   0xDEAD0000
 
#define FLASH_UNLOCK_BSL   0x0b
 
#define FLASH_VERIFY_ERROR   0xDEADDEAD
 
#define FLASH_WRONG_COMMAND   0x00000BAD
 
#define MSP432_NO_FAMILY   0 /* Family type not determined yet */
 
#define MSP432_NO_TYPE   0 /* Device type not determined yet */
 
#define MSP432E4   1 /* MSP432E4 family of devices */
 
#define MSP432E401Y   6 /* MSP432E401Y device */
 
#define MSP432E411Y   7 /* MSP432E401Y device */
 
#define MSP432E4X_GUESS   8 /* Assuming it's an MSP432E4x device */
 
#define MSP432P4   2 /* MSP432P4 family of devices */
 
#define MSP432P401X   2 /* MSP432P401x device, revision C or higher */
 
#define MSP432P401X_DEPR   1 /* Early MSP432P401x offerings, now deprecated */
 
#define MSP432P401X_GUESS   4 /* Assuming it's an MSP432P401x device */
 
#define MSP432P411X   3 /* MSP432P411x device, revision A or higher */
 
#define MSP432P411X_GUESS   5 /* Assuming it's an MSP432P411x device */
 
#define P4_ALGO_ENTRY_ADDR   0x01000110
 
#define P4_FLASH_INFO_BASE   0x00200000
 
#define P4_FLASH_MAIN_BASE   FLASH_BASE
 
#define P4_SECTOR_LENGTH   0x1000
 

Macro Definition Documentation

◆ ALGO_BASE_ADDR

#define ALGO_BASE_ADDR   0x20000000

Definition at line 42 of file msp432.h.

◆ ALGO_BUFFER1_ADDR

#define ALGO_BUFFER1_ADDR   0x20002000

Definition at line 43 of file msp432.h.

◆ ALGO_BUFFER1_STATUS_ADDR

#define ALGO_BUFFER1_STATUS_ADDR   0x20000164

Definition at line 50 of file msp432.h.

◆ ALGO_BUFFER2_ADDR

#define ALGO_BUFFER2_ADDR   0x20003000

Definition at line 44 of file msp432.h.

◆ ALGO_BUFFER2_STATUS_ADDR

#define ALGO_BUFFER2_STATUS_ADDR   0x20000168

Definition at line 51 of file msp432.h.

◆ ALGO_BUFFER_SIZE

#define ALGO_BUFFER_SIZE   0x1000

Definition at line 57 of file msp432.h.

◆ ALGO_ERASE_PARAM_ADDR

#define ALGO_ERASE_PARAM_ADDR   0x2000016c

Definition at line 52 of file msp432.h.

◆ ALGO_FLASH_COMMAND_ADDR

#define ALGO_FLASH_COMMAND_ADDR   0x20000150

Definition at line 46 of file msp432.h.

◆ ALGO_FLASH_DEST_ADDR

#define ALGO_FLASH_DEST_ADDR   0x2000015c

Definition at line 48 of file msp432.h.

◆ ALGO_FLASH_LENGTH_ADDR

#define ALGO_FLASH_LENGTH_ADDR   0x20000160

Definition at line 49 of file msp432.h.

◆ ALGO_PARAMS_BASE_ADDR

#define ALGO_PARAMS_BASE_ADDR   0x20000150

Definition at line 45 of file msp432.h.

◆ ALGO_RETURN_CODE_ADDR

#define ALGO_RETURN_CODE_ADDR   0x20000154

Definition at line 47 of file msp432.h.

◆ ALGO_STACK_POINTER_ADDR

#define ALGO_STACK_POINTER_ADDR   0x20002000

Definition at line 54 of file msp432.h.

◆ ALGO_UNLOCK_BSL_ADDR

#define ALGO_UNLOCK_BSL_ADDR   0x20000170

Definition at line 53 of file msp432.h.

◆ ALGO_WORKING_SIZE

#define ALGO_WORKING_SIZE   (ALGO_BUFFER2_ADDR + 0x1000 - ALGO_BASE_ADDR)

Definition at line 58 of file msp432.h.

◆ BUFFER_ACTIVE

#define BUFFER_ACTIVE   0x01

Definition at line 80 of file msp432.h.

◆ BUFFER_DATA_READY

#define BUFFER_DATA_READY   0x10

Definition at line 81 of file msp432.h.

◆ BUFFER_INACTIVE

#define BUFFER_INACTIVE   0x00

Definition at line 79 of file msp432.h.

◆ E4_ALGO_ENTRY_ADDR

#define E4_ALGO_ENTRY_ADDR   0x20000110

Definition at line 39 of file msp432.h.

◆ E4_FLASH_BASE

#define E4_FLASH_BASE   FLASH_BASE

Definition at line 36 of file msp432.h.

◆ E4_FLASH_SIZE

#define E4_FLASH_SIZE   0x100000

Definition at line 37 of file msp432.h.

◆ E4_SECTOR_LENGTH

#define E4_SECTOR_LENGTH   0x4000

Definition at line 38 of file msp432.h.

◆ FLASH_BASE

#define FLASH_BASE   0x00000000

Definition at line 27 of file msp432.h.

◆ FLASH_BUSY

#define FLASH_BUSY   0x00000001

Definition at line 70 of file msp432.h.

◆ FLASH_CONTINUOUS

#define FLASH_CONTINUOUS   32

Definition at line 67 of file msp432.h.

◆ FLASH_ERASE_INFO

#define FLASH_ERASE_INFO   0x02

Definition at line 85 of file msp432.h.

◆ FLASH_ERASE_MAIN

#define FLASH_ERASE_MAIN   0x01

Definition at line 84 of file msp432.h.

◆ FLASH_ERROR

#define FLASH_ERROR   0x0000DEAD

Definition at line 72 of file msp432.h.

◆ FLASH_EXIT

#define FLASH_EXIT   16

Definition at line 66 of file msp432.h.

◆ FLASH_INIT

#define FLASH_INIT   8

Definition at line 65 of file msp432.h.

◆ FLASH_LOCK_BSL

#define FLASH_LOCK_BSL   0x00

Definition at line 88 of file msp432.h.

◆ FLASH_MASS_ERASE

#define FLASH_MASS_ERASE   1

Definition at line 62 of file msp432.h.

◆ FLASH_NO_COMMAND

#define FLASH_NO_COMMAND   0

Definition at line 61 of file msp432.h.

◆ FLASH_POWER_ERROR

#define FLASH_POWER_ERROR   0x00DEAD00

Definition at line 76 of file msp432.h.

◆ FLASH_PROGRAM

#define FLASH_PROGRAM   4

Definition at line 64 of file msp432.h.

◆ FLASH_SECTOR_ERASE

#define FLASH_SECTOR_ERASE   2

Definition at line 63 of file msp432.h.

◆ FLASH_SUCCESS

#define FLASH_SUCCESS   0x00000ACE

Definition at line 71 of file msp432.h.

◆ FLASH_TIMEOUT_ERROR

#define FLASH_TIMEOUT_ERROR   0xDEAD0000

Definition at line 73 of file msp432.h.

◆ FLASH_UNLOCK_BSL

#define FLASH_UNLOCK_BSL   0x0b

Definition at line 89 of file msp432.h.

◆ FLASH_VERIFY_ERROR

#define FLASH_VERIFY_ERROR   0xDEADDEAD

Definition at line 74 of file msp432.h.

◆ FLASH_WRONG_COMMAND

#define FLASH_WRONG_COMMAND   0x00000BAD

Definition at line 75 of file msp432.h.

◆ MSP432_NO_FAMILY

#define MSP432_NO_FAMILY   0 /* Family type not determined yet */

Definition at line 11 of file msp432.h.

◆ MSP432_NO_TYPE

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

Definition at line 16 of file msp432.h.

◆ MSP432E4

#define MSP432E4   1 /* MSP432E4 family of devices */

Definition at line 12 of file msp432.h.

◆ MSP432E401Y

#define MSP432E401Y   6 /* MSP432E401Y device */

Definition at line 22 of file msp432.h.

◆ MSP432E411Y

#define MSP432E411Y   7 /* MSP432E401Y device */

Definition at line 23 of file msp432.h.

◆ MSP432E4X_GUESS

#define MSP432E4X_GUESS   8 /* Assuming it's an MSP432E4x device */

Definition at line 24 of file msp432.h.

◆ MSP432P4

#define MSP432P4   2 /* MSP432P4 family of devices */

Definition at line 13 of file msp432.h.

◆ MSP432P401X

#define MSP432P401X   2 /* MSP432P401x device, revision C or higher */

Definition at line 18 of file msp432.h.

◆ MSP432P401X_DEPR

#define MSP432P401X_DEPR   1 /* Early MSP432P401x offerings, now deprecated */

Definition at line 17 of file msp432.h.

◆ MSP432P401X_GUESS

#define MSP432P401X_GUESS   4 /* Assuming it's an MSP432P401x device */

Definition at line 20 of file msp432.h.

◆ MSP432P411X

#define MSP432P411X   3 /* MSP432P411x device, revision A or higher */

Definition at line 19 of file msp432.h.

◆ MSP432P411X_GUESS

#define MSP432P411X_GUESS   5 /* Assuming it's an MSP432P411x device */

Definition at line 21 of file msp432.h.

◆ P4_ALGO_ENTRY_ADDR

#define P4_ALGO_ENTRY_ADDR   0x01000110

Definition at line 33 of file msp432.h.

◆ P4_FLASH_INFO_BASE

#define P4_FLASH_INFO_BASE   0x00200000

Definition at line 31 of file msp432.h.

◆ P4_FLASH_MAIN_BASE

#define P4_FLASH_MAIN_BASE   FLASH_BASE

Definition at line 30 of file msp432.h.

◆ P4_SECTOR_LENGTH

#define P4_SECTOR_LENGTH   0x1000

Definition at line 32 of file msp432.h.