Nano102_112 Series BSP  V3.03.002
The Board Support Package for Nano102_112 Series
Macros
FMC Exported Constants

Macros

#define FMC_APROM_BASE   0x00000000UL
 
#define FMC_APROM_END   0x00008000UL
 
#define FMC_LDROM_BASE   0x00100000UL
 
#define FMC_LDROM_END   0x00101000UL
 
#define FMC_SPROM_BASE   0x00200000UL
 
#define FMC_SPROM_END   0x00200200UL
 
#define FMC_CONFIG_BASE   0x00300000UL
 
#define FMC_FLASH_PAGE_SIZE   0x200
 
#define FMC_LDROM_SIZE   0x1000
 
#define FMC_ISPCMD_READ   0x00
 
#define FMC_ISPCMD_PROGRAM   0x21
 
#define FMC_ISPCMD_PAGE_ERASE   0x22
 
#define FMC_ISPCMD_READ_CID   0x0B
 
#define FMC_ISPCMD_READ_PID   0x0C
 
#define FMC_ISPCMD_READ_UID   0x04
 
#define FMC_ISPCMD_VECMAP   0x2E
 
#define IS_BOOT_FROM_APROM   0
 
#define IS_BOOT_FROM_LDROM   1
 

Detailed Description

Macro Definition Documentation

◆ FMC_APROM_BASE

#define FMC_APROM_BASE   0x00000000UL

APROM Base Address

Definition at line 38 of file fmc.h.

◆ FMC_APROM_END

#define FMC_APROM_END   0x00008000UL

APROM End Address

Definition at line 39 of file fmc.h.

◆ FMC_CONFIG_BASE

#define FMC_CONFIG_BASE   0x00300000UL

User Configuration Address

Definition at line 44 of file fmc.h.

◆ FMC_FLASH_PAGE_SIZE

#define FMC_FLASH_PAGE_SIZE   0x200

Flash Page Size (512 bytes)

Definition at line 46 of file fmc.h.

◆ FMC_ISPCMD_PAGE_ERASE

#define FMC_ISPCMD_PAGE_ERASE   0x22

ISP Command: Page Erase Flash

Definition at line 54 of file fmc.h.

◆ FMC_ISPCMD_PROGRAM

#define FMC_ISPCMD_PROGRAM   0x21

ISP Command: Write flash word

Definition at line 53 of file fmc.h.

◆ FMC_ISPCMD_READ

#define FMC_ISPCMD_READ   0x00

ISP Command: Read flash word

Definition at line 52 of file fmc.h.

◆ FMC_ISPCMD_READ_CID

#define FMC_ISPCMD_READ_CID   0x0B

ISP Command: Read Company ID

Definition at line 55 of file fmc.h.

◆ FMC_ISPCMD_READ_PID

#define FMC_ISPCMD_READ_PID   0x0C

ISP Command: Read Product ID

Definition at line 56 of file fmc.h.

◆ FMC_ISPCMD_READ_UID

#define FMC_ISPCMD_READ_UID   0x04

ISP Command: Read Unique ID

Definition at line 57 of file fmc.h.

◆ FMC_ISPCMD_VECMAP

#define FMC_ISPCMD_VECMAP   0x2E

ISP Command: Vector Page Remap

Definition at line 58 of file fmc.h.

◆ FMC_LDROM_BASE

#define FMC_LDROM_BASE   0x00100000UL

LDROM Base Address

Definition at line 40 of file fmc.h.

◆ FMC_LDROM_END

#define FMC_LDROM_END   0x00101000UL

LDROM End Address

Definition at line 41 of file fmc.h.

◆ FMC_LDROM_SIZE

#define FMC_LDROM_SIZE   0x1000

LDROM Size (4 Kbytes)

Definition at line 47 of file fmc.h.

◆ FMC_SPROM_BASE

#define FMC_SPROM_BASE   0x00200000UL

SPROM Base Address

Definition at line 42 of file fmc.h.

◆ FMC_SPROM_END

#define FMC_SPROM_END   0x00200200UL

SPROM End Address

Definition at line 43 of file fmc.h.

◆ IS_BOOT_FROM_APROM

#define IS_BOOT_FROM_APROM   0

Is booting from APROM

Definition at line 60 of file fmc.h.

◆ IS_BOOT_FROM_LDROM

#define IS_BOOT_FROM_LDROM   1

Is booting from LDROM

Definition at line 61 of file fmc.h.