a. Once the Zynq Wizard has assigned the MIO/EMIO signal to the device, ensure that the settings get correctly set in PS7_init.tcl and PS7_init.c
i. We are looking for SD0_WP_CD_SEL registers in the PS7_init.tcl or PS7_init.c files (use a normal Text editor to view/modify)
1. SD0_WP_CD_SEL register descriptions please refer TRM.ug585.V1.7.page.1675.
2. EMIT_MASKWRITE(0XF8000830, 0x003F0000U ,0x00000000U) By default after RESET & both signals are not defined in Zynq software, then it automatically assign the WPn = MIO & CDn = MIO
3. If user define the signals as WPn at MIO & CDn at MIO , check the mask register settings in the init TCL/C file as below:
a. EMIT_MASKWRITE(0XF8000830, 0x003F003FU ,0x0027002EU)
b. FYI If the settings are not correct then correct it according to the signal definition and run the FSBL to detect card in write_enable
|Boards & Kits||