AR# 56030

14.5 Zynq-7000 SoC AP iMPACT - NAND programming requires the board to be in JTAG mode

Description

NAND programming requires the board to be in JTAG mode.

Solution

To work around this issue, set the boot mode to JTAG boot.

If booting in JTAG mode is NOT possible (custom board does not have boot mode jumpers), the FSBL used for NAND programming can be modified.

Instead of reading the bootmode from the MIO:

BootModeRegister = Xil_In32(BOOT_MODE_REG);BootModeRegister &= BOOT_MODES_MASK;

The code can "fake" the boot mode hard-coding JTAG:

BootModeRegister = JTAG_MODE;

This can be modified in the FSBL main.c file, only for the FSBL used to program the NAND (NOT the FSBL that goes into the boot image).

Note: This is not a Silicon issue but a tool limitation.

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
52512 Xilinx Zynq-7000 SoC Solution Center N/A N/A
AR# 56030
Date 01/15/2018
Status Active
Type General Article
Devices
Tools