Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Custom hardware - FX3 does not re-numerate

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



Custom hardware - FX3 does not re-numerate
Moderator:
RSKV

Post Reply
Follow this topic



Custom hardware - FX3 does not re-numerate

spider01 posted on 09 Feb 2013 12:07 PM PST
Senior Member
11 Forum Posts

Hi all,

up to now we had worked with a FX3 DVK Board connected via Samtec J77 to a FPGA Board without problems.

Now with our custom board the FX3 does still successfully enumerate with Cypress 04b4:00f3 id on power up.

But then after we upload (any) firmware via USB (without error) at the end FX3 disconnects and never comes back!

Any ideas what could be the reason?

Best regards

Günter

 

 

 




Re: Custom hardware - FX3 does not re-numerate

PRJI posted on 09 Feb 2013 07:48 PM PST
Cypress Employee
245 Forum Posts

 Hello Gunter,

I've a few questions here.

When you say upload firmware, Are you programming RAM (SPI Flash?/ EEPROM?)?

Are you getting proper voltage on PMODE pins ?

What is the error being shown in PC after disconnect ? 

Is your board permenantly connected to FPGA? If not, please disconnect it and try programming.

Is it possible to share your schematic here? If not, please create a tech support case (MyAccount -> MyCases).

-PRJI

 

 



Re: Custom hardware - FX3 does not re-numerate

spider01 posted on 10 Feb 2013 12:33 AM PST
Senior Member
11 Forum Posts

Hello PPJI,

thank you for your fast reply!

Regarding your questions:

- I am programming to RAM.

- PMODE pins are ok - since FX3 comes up with the correct VID/PID after power on, but I will double check again.

Are the PMODE pins relevant also for re-numeration or only on opwer up?

 

- there is no error shown after disconnect - it just disconnects after programming has finished.

- It is a single custom board including FPGA and FX3

- Regarding the schematic I will ask and come back to you asap.

Best regards

Günter

 

 

 



Re: Custom hardware - FX3 does not re-numerate

spider01 posted on 10 Feb 2013 11:33 AM PST
Senior Member
11 Forum Posts

Hello PPJI,

please find the schematic in the attachment.

Deviations to our board are:

- Q1 is a 26 MHz oscillator so FSCL R32 is not populated but R33 is

- J1 is not connected at all i.e GPIO51 is not connected

PMODE is "F1F"

The only difference to the old working solution with the FX3 DVK Board is the 26 MHz oscillator.

Hope you can help.

Regards

Günter



Re: Custom hardware - FX3 does not re-numerate

PRJI posted on 11 Feb 2013 07:50 AM PST
Cypress Employee
245 Forum Posts

 Hi,

 Could you please try with release build of firmware ?

Regards

Prajith



Re: Custom hardware - FX3 does not re-numerate

spider01 posted on 11 Feb 2013 10:05 AM PST
Senior Member
11 Forum Posts

Hi,

we already tried both Debug and Release builds.

The result were the same.

Regards

Günter



Re: Custom hardware - FX3 does not re-numerate

spider01 posted on 11 Feb 2013 12:20 PM PST
Senior Member
11 Forum Posts

Hi Prajith,

using the Cypress USB Control Center we at least are able to load the Cypress programmer: ID 04b4:4720 itself.

Starting from the silicon boot loader this means at least the re-numeration for this firmware works.

So I assume that re-numeration itself works but FX3 hangs on boot.

Can you confirm?

This here seems to be a similar problem:

http://www.cypress.com/?app=forum&id=167&rID=62523

Is the project source of the cypress CyBootProgrammer 04b4:4720 available?

Best regards

Günter



Re: Custom hardware - FX3 does not re-numerate

PRJI posted on 12 Feb 2013 10:51 PM PST
Cypress Employee
245 Forum Posts

 Hi,

Please try with the USBBulkLoopAuto.img.txt file attached in http://www.cypress.com/?app=forum&id=167&rID=70377.

Regards

Prajith



Re: Custom hardware - FX3 does not re-numerate

AssemblyRequired posted on 12 Feb 2013 05:46 AM PST
Top Contributor
37 Forum Posts

Hi Günter,

Is there any difference between the DVK board and your custom hardware with regard to GPIO connections?
See here:

http://www.cypress.com/?app=forum&id=167&rID=61087

 

Can you attach with an ARM debugger and see what the firmware is doing?


Steve 



Re: Custom hardware - FX3 does not re-numerate

spider01 posted on 12 Feb 2013 07:16 AM PST
Senior Member
11 Forum Posts

Hi Prajith,

we tried the USBBulkLoopAuto.img you posted and it works!

(at least it renumerates and comes up ok afterwards)

However when we try the sample project USBBulkLoopAuto (Release) which comes with the SDK 1.1 it doesn't.

What is the difference?

Is it necessary to update our SDK?

Regards

Günter

 



Re: Custom hardware - FX3 does not re-numerate

spider01 posted on 12 Feb 2013 07:46 AM PST
Senior Member
11 Forum Posts

Hi Steve,

thank you for the hint!

We already double checked and compared the GPIO conections between DVK and custom board, but there is no difference.

Good idea regarding the ARM debugger. However since it seems to work with the firmware Prajith posted I'll better first try a SDK update.

Regards

Günter


 



Re: Custom hardware - FX3 does not re-numerate

Lumpi6 posted on 12 Feb 2013 08:25 AM PST
Top Contributor
183 Forum Posts

 Hi Günter,

the jlink debugger is a really good idea. You may have a problem with the power supply of the SuperSpeed sources (RX TX) of FX3 on your board. That can be possible if USB disconnects or debugger loses connection after the functin call CyU3PUsbConnect(true, true). That just happens if it connect to superspeed. Activating the superspeed phy needs a lot of current.

regards

lumpi



Re: Custom hardware - FX3 does not re-numerate

spider01 posted on 12 Feb 2013 11:28 AM PST
Senior Member
11 Forum Posts

Hi Lumpi, hi all,

thank you for the hint regarding power!

This brought us into the right direction. Now we most likely found the root cause of the problem.

There is an error in the schematic regarding U3TXVDDQ and U3RXVDDQ. They are connected to the wrong power domain :-(

Using the latest SDK 1.2.2 did not help also.

 

Until the hardware is fixed we want to try to use the board with high speed only.

@Prajith, what did you change in your USBBulkLoopAuto firmware?

Did you disable superspeed? How did you do it?

Did you only call CyU3PConnectState(CyTrue, CyFalse) ?

Regards

Günter

 



Re: Custom hardware - FX3 does not re-numerate

PRJI posted on 13 Feb 2013 06:55 AM PST
Cypress Employee
245 Forum Posts

 Hi,

Happy to hear that your problem is solved 

Yes, I disabled it. As Lumbi pointed out I wanted to check SS block.

You are right, CyU3PConnectState(CyTrue, CyFalse) should work.
 
-PRJI
 
 






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.