cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hi,

   

I am having a Fx3s(3035) custom board. I am trying to boot fx3s using spi flash and my pmode[210] settings are 0Z1. I am able to program to my spi flash device, but when I hit a reset fx3 fails to boot from spi. It enumurates again as a bootloader device. 

   

I am having two spi slave devices on my board. One is M25P40 device. The other slave is Xilinx Zynq7020 Soc(which is enabled to operate in spi slave mode). So need some help!!   

   

Regards,
Swetha

0 Likes
2 Replies
MaBa_1857101
New Contributor II

Hi

   

Check the status register of SPI Whether Write Protect Bit enabled.

   

 

   

Regards,

   

Malik

0 Likes
Anonymous
Not applicable

First please make sure that the SPI flash is being written. This can be done by using the USBFlash prog example in the SDK to write some bytes in the Flash, next read and verify that it got written in the flash.

Next, please check FLash datasheet and confirm that the following instruction set matches:

Read data: 03h with 3-byte addressing 

Read Status register: 05h

Write Enable: 06h

Write data (Page Program): 02h

Sector Erase: D8h