semperflash2 2.0.0.0

Macros

#define SEMPERFLASH2_MANUFACTURER_DEVICE_ID   0x9F
 
#define SEMPERFLASH2_JEDEC_SERIAL_FLASH_DISCOVER_PARAMS   0x5A
 
#define SEMPERFLASH2_DEVICE_ID   0x4C
 
#define SEMPERFLASH2_READ_STATUS_REG_1   0x05
 
#define SEMPERFLASH2_READ_STATUS_REG_2   0x07
 
#define SEMPERFLASH2_READ_CFG_REG_1   0x35
 
#define SEMPERFLASH2_READ_ANY_REG   0x65
 
#define SEMPERFLASH2_WRITE_ENABLE   0x06
 
#define SEMPERFLASH2_WRITE_ENABLE_VOLATILE   0x50
 
#define SEMPERFLASH2_WRITE_DISABLE   0x04
 
#define SEMPERFLASH2_WRITE_REG   0x01
 
#define SEMPERFLASH2_WRITE_ANY_REG   0x71
 
#define SEMPERFLASH2_CLEAR_PROGRAM_ERASE_ERROR   0x30
 
#define SEMPERFLASH2_ENTER_4_BYTE_ADDR_MODE   0xB7
 
#define SEMPERFLASH2_EXIT_4_BYTE_ADDR_MODE   0xB8
 
#define SEMPERFLASH2_READ_DATA_LEARN_PATT_REG   0x41
 
#define SEMPERFLASH2_PROGRAM_DATA_LEARN_PATT   0x43
 
#define SEMPERFLASH2_WRITE_DATA_LEARN_PATT   0x4A
 
#define SEMPERFLASH2_AUTOBOOT_REG_WRITE   0x15
 
#define SEMPERFLASH2_READ_ECC_STATUS   0x19
 
#define SEMPERFLASH2_CLEAR_ECC_STATUS   0x1B
 
#define SEMPERFLASH2_DATA_INT_CHECK   0x5B
 
#define SEMPERFLASH2_READ_0   0x03
 
#define SEMPERFLASH2_READ_1   0x13
 
#define SEMPERFLASH2_FAST_READ_0   0x0B
 
#define SEMPERFLASH2_FAST_READ_1   0x0C
 
#define SEMPERFLASH2_PROGRAM_PAGE_0   0x02
 
#define SEMPERFLASH2_PROGRAM_PAGE_1   0x12
 
#define SEMPERFLASH2_ERASE_4K_0   0x20
 
#define SEMPERFLASH2_ERASE_4K_1   0x21
 
#define SEMPERFLASH2_ERASE_256K_1   0xD8
 
#define SEMPERFLASH2_ERASE_256K_2   0xDC
 
#define SEMPERFLASH2_ERASE_CHIP_1   0x60
 
#define SEMPERFLASH2_ERASE_CHIP_2   0xC7
 
#define SEMPERFLASH2_ERASE_STATUS   0xD0
 
#define SEMPERFLASH2_ERASE_CNT   0x5D
 
#define SEMPERFLASH2_SUSPEND_ERASE_PROG_DATA_CHECK   0x75
 
#define SEMPERFLASH2_SUSPEND_ERASE_PROG   0x85
 
#define SEMPERFLASH2_RESUME_ERASE_PROG_DATA_CHECK   0x7A
 
#define SEMPERFLASH2_RESUME_ERASE_PROG   0x8A
 
#define SEMPERFLASH2_PROG_SECURE_SILICON_REGION   0x42
 
#define SEMPERFLASH2_READ_SECURE_SILICON_REGION   0x4B
 
#define SEMPERFLASH2_ASP_PROG   0x2F
 
#define SEMPERFLASH2_READ_DYNAMIC_PROTECION_BIT   0xFA
 
#define SEMPERFLASH2_WRITE_DYNAMIC_PROTECION_BIT   0xFB
 
#define SEMPERFLASH2_READ_PRESISTENT_PROTECTION_BIT   0xFC
 
#define SEMPERFLASH2_PROG_PRESISTENT_PROTECTION_BIT   0xFD
 
#define SEMPERFLASH2_ERASE_PRESISTENT_PROTECTION_BIT   0xE4
 
#define SEMPERFLASH2_WRITE_PPB_PROTECTION_LOCK_BIT   0xA6
 
#define SEMPERFLASH2_READ_PROG_PRESISTENT_PROTECION_LOCK_BIT   0xA7
 
#define SEMPERFLASH2_PROG_PASSWORD   0xE8
 
#define SEMPERFLASH2_PASSWORD_UNLOCK   0xE9
 
#define SEMPERFLASH2_SOFT_RESET_ENABLE   0x66
 
#define SEMPERFLASH2_SOFT_RESET   0x99
 
#define SEMPERFLASH2_LEGACY_SOFT_RESET   0xF0
 
#define SEMPERFLASH2_ENTER_DEEP_POWER_DOWN_MODE   0xB9
 
#define SEMPERFLASH2_PIN_STATE_HIGH   1
 
#define SEMPERFLASH2_PIN_STATE_LOW   0
 
#define SEMPERFLASH2_ID_ERROR   0xCC
 
#define SEMPERFLASH2_SIZE_ERROR   0xBB
 
#define SEMPERFLASH2_SUCCESS   0xAA
 
#define SEMPERFLASH2_MANUFACTURER_DEVICE_ID_VALUE   0x34
 
#define SEMPERFLASH2_MANUFACTURER_DEVICE_ID_VALUE   0x34
 
#define SEMPERFLASH2_DEVICE_ID_BYTE_SIZE   8
 
#define SEMPERFLASH2_STATUS_REG_1_DEFAULT   0x00
 
#define SEMPERFLASH2_STATUS_REG_1_PROGRAM_ERASE_REG_WRITE_ENABLE   0x02
 
#define SEMPERFLASH2_STATUS_REG_1_DEVICE_BUSY   0x01
 
#define SEMPERFLASH2_CFG_1_DEFAULT   0x00
 
#define SEMPERFLASH2_CFG_2_DEFAULT   0x00
 
#define SEMPERFLASH2_CFG_3_DEFAULT   0x00
 
#define SEMPERFLASH2_CFG_4_DEFAULT   0x00
 
#define SEMPERFLASH2_MEMORY_BUF_MAX_SIZE   512
 

Detailed Description

Macro Definition Documentation

◆ SEMPERFLASH2_ASP_PROG

#define SEMPERFLASH2_ASP_PROG   0x2F

◆ SEMPERFLASH2_AUTOBOOT_REG_WRITE

#define SEMPERFLASH2_AUTOBOOT_REG_WRITE   0x15

◆ SEMPERFLASH2_CFG_1_DEFAULT

#define SEMPERFLASH2_CFG_1_DEFAULT   0x00

◆ SEMPERFLASH2_CFG_2_DEFAULT

#define SEMPERFLASH2_CFG_2_DEFAULT   0x00

◆ SEMPERFLASH2_CFG_3_DEFAULT

#define SEMPERFLASH2_CFG_3_DEFAULT   0x00

◆ SEMPERFLASH2_CFG_4_DEFAULT

#define SEMPERFLASH2_CFG_4_DEFAULT   0x00

◆ SEMPERFLASH2_CLEAR_ECC_STATUS

#define SEMPERFLASH2_CLEAR_ECC_STATUS   0x1B

◆ SEMPERFLASH2_CLEAR_PROGRAM_ERASE_ERROR

#define SEMPERFLASH2_CLEAR_PROGRAM_ERASE_ERROR   0x30

◆ SEMPERFLASH2_DATA_INT_CHECK

#define SEMPERFLASH2_DATA_INT_CHECK   0x5B

◆ SEMPERFLASH2_DEVICE_ID

#define SEMPERFLASH2_DEVICE_ID   0x4C

◆ SEMPERFLASH2_DEVICE_ID_BYTE_SIZE

#define SEMPERFLASH2_DEVICE_ID_BYTE_SIZE   8

◆ SEMPERFLASH2_ENTER_4_BYTE_ADDR_MODE

#define SEMPERFLASH2_ENTER_4_BYTE_ADDR_MODE   0xB7

◆ SEMPERFLASH2_ENTER_DEEP_POWER_DOWN_MODE

#define SEMPERFLASH2_ENTER_DEEP_POWER_DOWN_MODE   0xB9

◆ SEMPERFLASH2_ERASE_256K_1

#define SEMPERFLASH2_ERASE_256K_1   0xD8

◆ SEMPERFLASH2_ERASE_256K_2

#define SEMPERFLASH2_ERASE_256K_2   0xDC

◆ SEMPERFLASH2_ERASE_4K_0

#define SEMPERFLASH2_ERASE_4K_0   0x20

◆ SEMPERFLASH2_ERASE_4K_1

#define SEMPERFLASH2_ERASE_4K_1   0x21

◆ SEMPERFLASH2_ERASE_CHIP_1

#define SEMPERFLASH2_ERASE_CHIP_1   0x60

◆ SEMPERFLASH2_ERASE_CHIP_2

#define SEMPERFLASH2_ERASE_CHIP_2   0xC7

◆ SEMPERFLASH2_ERASE_CNT

#define SEMPERFLASH2_ERASE_CNT   0x5D

◆ SEMPERFLASH2_ERASE_PRESISTENT_PROTECTION_BIT

#define SEMPERFLASH2_ERASE_PRESISTENT_PROTECTION_BIT   0xE4

◆ SEMPERFLASH2_ERASE_STATUS

#define SEMPERFLASH2_ERASE_STATUS   0xD0

◆ SEMPERFLASH2_EXIT_4_BYTE_ADDR_MODE

#define SEMPERFLASH2_EXIT_4_BYTE_ADDR_MODE   0xB8

◆ SEMPERFLASH2_FAST_READ_0

#define SEMPERFLASH2_FAST_READ_0   0x0B

◆ SEMPERFLASH2_FAST_READ_1

#define SEMPERFLASH2_FAST_READ_1   0x0C

◆ SEMPERFLASH2_ID_ERROR

#define SEMPERFLASH2_ID_ERROR   0xCC

◆ SEMPERFLASH2_JEDEC_SERIAL_FLASH_DISCOVER_PARAMS

#define SEMPERFLASH2_JEDEC_SERIAL_FLASH_DISCOVER_PARAMS   0x5A

◆ SEMPERFLASH2_LEGACY_SOFT_RESET

#define SEMPERFLASH2_LEGACY_SOFT_RESET   0xF0

◆ SEMPERFLASH2_MANUFACTURER_DEVICE_ID

#define SEMPERFLASH2_MANUFACTURER_DEVICE_ID   0x9F

◆ SEMPERFLASH2_MANUFACTURER_DEVICE_ID_VALUE [1/2]

#define SEMPERFLASH2_MANUFACTURER_DEVICE_ID_VALUE   0x34

◆ SEMPERFLASH2_MANUFACTURER_DEVICE_ID_VALUE [2/2]

#define SEMPERFLASH2_MANUFACTURER_DEVICE_ID_VALUE   0x34

◆ SEMPERFLASH2_MEMORY_BUF_MAX_SIZE

#define SEMPERFLASH2_MEMORY_BUF_MAX_SIZE   512

◆ SEMPERFLASH2_PASSWORD_UNLOCK

#define SEMPERFLASH2_PASSWORD_UNLOCK   0xE9

◆ SEMPERFLASH2_PIN_STATE_HIGH

#define SEMPERFLASH2_PIN_STATE_HIGH   1

◆ SEMPERFLASH2_PIN_STATE_LOW

#define SEMPERFLASH2_PIN_STATE_LOW   0

◆ SEMPERFLASH2_PROG_PASSWORD

#define SEMPERFLASH2_PROG_PASSWORD   0xE8

◆ SEMPERFLASH2_PROG_PRESISTENT_PROTECTION_BIT

#define SEMPERFLASH2_PROG_PRESISTENT_PROTECTION_BIT   0xFD

◆ SEMPERFLASH2_PROG_SECURE_SILICON_REGION

#define SEMPERFLASH2_PROG_SECURE_SILICON_REGION   0x42

◆ SEMPERFLASH2_PROGRAM_DATA_LEARN_PATT

#define SEMPERFLASH2_PROGRAM_DATA_LEARN_PATT   0x43

◆ SEMPERFLASH2_PROGRAM_PAGE_0

#define SEMPERFLASH2_PROGRAM_PAGE_0   0x02

◆ SEMPERFLASH2_PROGRAM_PAGE_1

#define SEMPERFLASH2_PROGRAM_PAGE_1   0x12

◆ SEMPERFLASH2_READ_0

#define SEMPERFLASH2_READ_0   0x03

◆ SEMPERFLASH2_READ_1

#define SEMPERFLASH2_READ_1   0x13

◆ SEMPERFLASH2_READ_ANY_REG

#define SEMPERFLASH2_READ_ANY_REG   0x65

◆ SEMPERFLASH2_READ_CFG_REG_1

#define SEMPERFLASH2_READ_CFG_REG_1   0x35

◆ SEMPERFLASH2_READ_DATA_LEARN_PATT_REG

#define SEMPERFLASH2_READ_DATA_LEARN_PATT_REG   0x41

◆ SEMPERFLASH2_READ_DYNAMIC_PROTECION_BIT

#define SEMPERFLASH2_READ_DYNAMIC_PROTECION_BIT   0xFA

◆ SEMPERFLASH2_READ_ECC_STATUS

#define SEMPERFLASH2_READ_ECC_STATUS   0x19

◆ SEMPERFLASH2_READ_PRESISTENT_PROTECTION_BIT

#define SEMPERFLASH2_READ_PRESISTENT_PROTECTION_BIT   0xFC

◆ SEMPERFLASH2_READ_PROG_PRESISTENT_PROTECION_LOCK_BIT

#define SEMPERFLASH2_READ_PROG_PRESISTENT_PROTECION_LOCK_BIT   0xA7

◆ SEMPERFLASH2_READ_SECURE_SILICON_REGION

#define SEMPERFLASH2_READ_SECURE_SILICON_REGION   0x4B

◆ SEMPERFLASH2_READ_STATUS_REG_1

#define SEMPERFLASH2_READ_STATUS_REG_1   0x05

◆ SEMPERFLASH2_READ_STATUS_REG_2

#define SEMPERFLASH2_READ_STATUS_REG_2   0x07

◆ SEMPERFLASH2_RESUME_ERASE_PROG

#define SEMPERFLASH2_RESUME_ERASE_PROG   0x8A

◆ SEMPERFLASH2_RESUME_ERASE_PROG_DATA_CHECK

#define SEMPERFLASH2_RESUME_ERASE_PROG_DATA_CHECK   0x7A

◆ SEMPERFLASH2_SIZE_ERROR

#define SEMPERFLASH2_SIZE_ERROR   0xBB

◆ SEMPERFLASH2_SOFT_RESET

#define SEMPERFLASH2_SOFT_RESET   0x99

◆ SEMPERFLASH2_SOFT_RESET_ENABLE

#define SEMPERFLASH2_SOFT_RESET_ENABLE   0x66

◆ SEMPERFLASH2_STATUS_REG_1_DEFAULT

#define SEMPERFLASH2_STATUS_REG_1_DEFAULT   0x00

◆ SEMPERFLASH2_STATUS_REG_1_DEVICE_BUSY

#define SEMPERFLASH2_STATUS_REG_1_DEVICE_BUSY   0x01

◆ SEMPERFLASH2_STATUS_REG_1_PROGRAM_ERASE_REG_WRITE_ENABLE

#define SEMPERFLASH2_STATUS_REG_1_PROGRAM_ERASE_REG_WRITE_ENABLE   0x02

◆ SEMPERFLASH2_SUCCESS

#define SEMPERFLASH2_SUCCESS   0xAA

◆ SEMPERFLASH2_SUSPEND_ERASE_PROG

#define SEMPERFLASH2_SUSPEND_ERASE_PROG   0x85

◆ SEMPERFLASH2_SUSPEND_ERASE_PROG_DATA_CHECK

#define SEMPERFLASH2_SUSPEND_ERASE_PROG_DATA_CHECK   0x75

◆ SEMPERFLASH2_WRITE_ANY_REG

#define SEMPERFLASH2_WRITE_ANY_REG   0x71

◆ SEMPERFLASH2_WRITE_DATA_LEARN_PATT

#define SEMPERFLASH2_WRITE_DATA_LEARN_PATT   0x4A

◆ SEMPERFLASH2_WRITE_DISABLE

#define SEMPERFLASH2_WRITE_DISABLE   0x04

◆ SEMPERFLASH2_WRITE_DYNAMIC_PROTECION_BIT

#define SEMPERFLASH2_WRITE_DYNAMIC_PROTECION_BIT   0xFB

◆ SEMPERFLASH2_WRITE_ENABLE

#define SEMPERFLASH2_WRITE_ENABLE   0x06

◆ SEMPERFLASH2_WRITE_ENABLE_VOLATILE

#define SEMPERFLASH2_WRITE_ENABLE_VOLATILE   0x50

◆ SEMPERFLASH2_WRITE_PPB_PROTECTION_LOCK_BIT

#define SEMPERFLASH2_WRITE_PPB_PROTECTION_LOCK_BIT   0xA6

◆ SEMPERFLASH2_WRITE_REG

#define SEMPERFLASH2_WRITE_REG   0x01