Go to the documentation of this file.
7 #ifndef OPENOCD_FLASH_NOR_BLUENRGX_H
8 #define OPENOCD_FLASH_NOR_BLUENRGX_H
11 #define FLASH_REG_COMMAND 0x00
12 #define FLASH_REG_CONFIG 0x04
13 #define FLASH_REG_IRQSTAT 0x08
14 #define FLASH_REG_IRQMASK 0x0C
15 #define FLASH_REG_IRQRAW 0x10
16 #define FLASH_REG_ADDRESS 0x18
17 #define FLASH_REG_UNLOCKM 0x1C
18 #define FLASH_REG_UNLOCKL 0x20
19 #define FLASH_REG_DATA0 0x40
20 #define FLASH_REG_DATA1 0x44
21 #define FLASH_REG_DATA2 0x48
22 #define FLASH_REG_DATA3 0x4C
23 #define FLASH_SIZE_REG 0x14
26 #define FLASH_CMD_ERASE_PAGE 0x11
27 #define FLASH_CMD_MASSERASE 0x22
28 #define FLASH_CMD_WRITE 0x33
29 #define FLASH_CMD_BURSTWRITE 0xCC
30 #define FLASH_INT_CMDDONE 0x01
32 #define FLASH_WORD_LEN 4