Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Device does not boot anymore after incorrectly firmware boot

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



Device does not boot anymore after incorrectly firmware boot
Moderator:
RSKV

Post Reply
Follow this topic



Device does not boot anymore after incorrectly firmware boot

MarcoH123 posted on 10 Nov 2011 2:49 AM PST
Senior Member
17 Forum Posts

Hallo,

I download my image file into the RAM of the FX3 with the CyControl. After that, the device dont boot, perhaps because the firmware is incorrectly. If I reset the the device, the FX3 also didtnt boot as cypress device. So that it does again, I need a reboot of the PC.

What is the problem?

My system is Win7 64 with the latest renesas driver.

Marco




Re: Device does not boot anymore after incorrectly firmware boot

aasi posted on 10 Nov 2011 07:36 AM PST
Cypress Employee
1073 Forum Posts

Sounds like a PC issue. I've seen issues like this when we violate the spec on the protocol side like say sending a 1024 byte bulk packet in high speed mode.

When this happens have you tried power cycling FX3 board and connect it to another PC?

Regards,

Anand



Re: Device does not boot anymore after incorrectly firmware boot

MarcoH123 posted on 10 Nov 2011 07:54 AM PST
Senior Member
17 Forum Posts

Hallo,

The only thing that I do, I take the example BulkLoopManualInOut and change the SS-Interface decriptor at NumerOfEP: 1 and remove the SS-ProducerEP. With this steps, the device didnt boot. With no changes on this example, the device works fine.

On the other hand, CyControl reports "programming failed" on every firmware download, regardless if the firmware works or not.

 

Thanks

 



Re: Device does not boot anymore after incorrectly firmware boot

MarcoH123 posted on 10 Nov 2011 07:57 AM PST
Senior Member
17 Forum Posts

Hallo,

 

In the case that the device didnt boot after programming and reset, I plug it on a USB2 port and the Cypress Bootloader is booted.



Re: Device does not boot anymore after incorrectly firmware boot

aasi posted on 10 Nov 2011 08:10 AM PST
Cypress Employee
1073 Forum Posts

 I've seen inconsistency in the descriptor table cause these kind  of issues.

The host parses the descriptor something (esp length) doesn't match can drive it crazy. Please upload your descriptor file here, I would like to take a look at it.

Regards,

Anad



Re: Device does not boot anymore after incorrectly firmware boot

MarcoH123 posted on 11 Nov 2011 10:53 PM PST
Senior Member
17 Forum Posts

Hallo here is my descriptor file, that dont works.

 

 



Re: Device does not boot anymore after incorrectly firmware boot

aasi posted on 11 Nov 2011 03:17 AM PST
Cypress Employee
1073 Forum Posts

It seems like you've not edited the /* Length of this descriptor and all sub descriptors */ field with appropriate length.

So the response would be claiming to send more data than it is actually sending which would confuse the hosts parsing algorithm.

Regards,

Anand



Re: Device does not boot anymore after incorrectly firmware boot

MarcoH123 posted on 11 Nov 2011 04:16 AM PST
Senior Member
17 Forum Posts

Hallo,

 

Can you tell me the point exactly? I dont no what you mean.



Re: Device does not boot anymore after incorrectly firmware boot

aasi posted on 11 Nov 2011 04:47 AM PST
Cypress Employee
1073 Forum Posts

I'm talking about the value 0x2C, 0x00 in the ss descriptor it gives the total length of the configuration descriptor. If you remove the endpoint and companion descriptor of a endpoint it has to be decreased accordingly.

Regards,

Anand



Re: Device does not boot anymore after incorrectly firmware boot

MarcoH123 posted on 11 Nov 2011 05:08 AM PST
Senior Member
17 Forum Posts

Wow thank you very much. It works :)

Best Regards

Marco






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.