Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > FX3 DVK Board issue programming/booting from SPI flash

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



FX3 DVK Board issue programming/booting from SPI flash
Moderator:
RSKV

Post Reply
Follow this topic



FX3 DVK Board issue programming/booting from SPI flash

Lumpi6 posted on 14 Dec 2012 2:29 AM PST
Top Contributor
183 Forum Posts

Hi,

I am trying to get SPI boot to work on the DVK board. I already have setup the PMODE pins to 1F0, to boot from SPI and on fail boot via USB. The Jumpers 101,102,103,104 are all set to [2<->3].

When I try to upload a firmware .img file through the Cypress Control Center, I can see on the lines SCK and SSN that the upload is in progress, but the SPIMISO and SPIMOSI lines are all the time low. The same issue I can see after I press the reset button on the FX3 DVK board. FX3 is trying to load data from the SPI flash. The SSN and SCK is working fine but the MOSI and MISO also always low.

The resistors R246 and R252 are both not on the board as described in the ...

CYUSB3KIT-001 EZ-USB FX3 Development Kit Guide, Doc. #: 001-70237 Rev. *B

.. document.

I also have the same result when I upload the firmware through j-link debugger. Is there a hardware failure or are the GPIO pins defect?

thanks,

lumpi




Re: FX3 DVK Board issue programming/booting from SPI flash

Lumpi6 posted on 14 Dec 2012 02:37 AM PST
Top Contributor
183 Forum Posts

I am using FX3 DVK board:

FX3 DVK DEVICE BOARD REV3

PCB: 600-60015-01 REV03



Re: FX3 DVK Board issue programming/booting from SPI flash

Chrigu posted on 14 Dec 2012 04:14 AM PST
Member
6 Forum Posts

Hei Lumpi

I have the same dev kit and i have no problems. But i set the PMODE to 0F1 and not 1F0. How did u set the jumpers J96 J97 J98 and the dip switch SW 25?

My settings are:

J96 2<->3

J97 open

J98 2<->3

SW25 1 OFF

SW25 2 OFF

SW25 3 ON

 

Best regards



Re: FX3 DVK Board issue programming/booting from SPI flash

RSKV posted on 15 Dec 2012 05:38 AM PST
Cypress Employee
655 Forum Posts

Hi Lumpi,

Yes, PMODE setting should be 0F1 as Chrigu rightly pointed out in the above post.

Thanks,

sai krishna.



Re: FX3 DVK Board issue programming/booting from SPI flash

Lumpi6 posted on 17 Dec 2012 11:28 PM PST
Top Contributor
183 Forum Posts

Hi,

thanks Chrigu and Sai Krishna I already have set the boot mode to that option. The problem is, that I get SPI CLK and SPI SSN signal but I do not get any signals on MOSI or MISO of SPI.

That is the case when I try to upload firmware to SPI flash or if I run application which was uploaded through j-link debugger. Now I will try to upload a firmware which overrides the MISO and MOSI as a simple GPIO if the pins can drive a signal. Otherwise I really belief that the dvk board is defect.

regards,

lumpi



Re: FX3 DVK Board issue programming/booting from SPI flash

Lumpi6 posted on 17 Dec 2012 02:52 AM PST
Top Contributor
183 Forum Posts

Hi,

 

now I tried it again and got it twice to work. So the SPI flash had the correct firmware flashed. But after a few reset, it won't work and it seems all the time, that the MOSI pin has a problem.

Anybody here had also issues with the MOSI pin???

thanks,

lumpi

I will try to replace the DVK board with a new one, may be there is the problem.



Re: FX3 DVK Board issue programming/booting from SPI flash

Gayathri posted on 24 Dec 2012 11:12 AM PST
Cypress Employee
327 Forum Posts

 Hi,

 

Can you please try loading any of the SPI examples from FX3 SDK (like USBFlashProg/ SPIRegmode/ etc) and try reading the contents of SPI flash using vendor command? Please test if you are able to read consistently from the SPI flash; and ensure that every tie you read using the SPI read vendor command the values returned are correct.

 

Regards,

Gayathri



Re: FX3 DVK Board issue programming/booting from SPI flash

Lumpi6 posted on 07 Jan 2013 03:06 AM PST
Top Contributor
183 Forum Posts

Hi Gayathri,

I already have opened a support case on the cypress homepage and I will get a replace. Case No. is 1911605208.

thanks,

lumpi



Re: FX3 DVK Board issue programming/booting from SPI flash

Lumpi6 posted on 09 Jan 2013 12:39 AM PST
Top Contributor
183 Forum Posts

Hi,

I got yesterday a new dvk board and now it works ;-)

thanks for support,

lumpi



Re: FX3 DVK Board issue programming/booting from SPI flash

Gayathri posted on 09 Jan 2013 03:01 AM PST
Cypress Employee
327 Forum Posts

 Cool 

 

Regards,

Gayathri






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.