CX3: usb control center , download inage into spi flash,but programming failed

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
dawa_2529456
Level 4
Level 4
5 sign-ins 5 solutions authored First solution authored

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
1 Solution

Dear Sir.

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

View solution in original post

0 Likes
4 Replies
dawa_2529456
Level 4
Level 4
5 sign-ins 5 solutions authored First solution authored

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

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
Anonymous
Not applicable

Hi David,

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

Also, try replacing the flash.

0 Likes

Dear Sir.

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

0 Likes