cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Contributor

Dear sir,

When I download image to SPI flash (not Micron M25P40,I use ST 25P40 instead of micron M25P40, both of them are compatible and  operation code are same) by USB control center, programming failed, uart info is :

  <   0: Device initialized. Firmware ID: 50 33 58 46 0 47 4F 52

  <   1: Device initialized. Firmware ID: 50 33 58 46 0 47 4F 52

  <   2: Device initialized. Firmware ID: 50 33 58 46 0 47 4F 52

  <   3: Device initialized. Firmware ID: 50 33 58 46 0 47 4F 52

  <   4: Device initialized. Firmware ID: 50 33 58 46 0 47 4F 52

  2   SPI access - addr: 0x0, size: 0x800, pages: 0x8.

Can you give me some advice?

David

0 Likes
Reply
1 Solution
Contributor

Dear Sir.

It is my SPI flash issue, I replace them by news, it is Okay!

View solution in original post

0 Likes
Reply
4 Replies
Contributor

more information:

1. MISO MOSI , no any pull up resistors(R181,R180 and R91 are not soldered)as the CX3 RDK schematic

2: clk or wave can be seen by oscilloscope while programming

spi boot.png

0 Likes
Reply
Contributor

Dear Sir,

I download UsbSpiDmaMode project(located at SDK dir) and use USB control center to operate SPI flash, it is blocked by CyFxSpiWaitForStatus(), it seems SPI flash cannot response its status byte correctly.

7.3 from AN76405, a pull down resistor on spi clk. but in CX3 RDK schematic, a pull-up resistor on spi clk pin.

Can anybody explain why ?

Best,

David

clk-pd.png

clk-pu.png

0 Likes
Reply
Anonymous
Not applicable

Hi David,

Can you please try with a pull-down on SPI CLK pin.

Also, try replacing the flash.

0 Likes
Reply
Contributor

Dear Sir.

It is my SPI flash issue, I replace them by news, it is Okay!

View solution in original post

0 Likes
Reply