This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPMC的CS1挂一个FPGA, 配置后,访问死机



按如下配置后,访问死机

#define STNOR_GPMC_CONFIG1 0x00000000
#define STNOR_GPMC_CONFIG2 0x00011001
#define STNOR_GPMC_CONFIG3 0x00020201
#define STNOR_GPMC_CONFIG4 0x08031003
#define STNOR_GPMC_CONFIG5 0x000f1111
#define STNOR_GPMC_CONFIG6 0x0f030080

#define FPGA_CS1_BASEADDR (0x10000000)
#define FPGA_CS1_REGIONSIZE (GPMC_CS_SIZE_16MB)

GPMCBaseAddrSet(baseAddr, cs, (FPGA_CS1_BASEADDR) >> 24);// NAND_BASE_ADDR_SHIFT);
GPMCMaskAddrSet(baseAddr, cs, (FPGA_CS1_REGIONSIZE));

请教大侠,有没人知道是什么原因的。