Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Basic Question using CY3684 and CyConsole

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



Basic Question using CY3684 and CyConsole
Moderator:
RSKV

Post Reply
Follow this topic



Basic Question using CY3684 and CyConsole

tpgaffn posted on 20 May 2009 2:47 PM PST
Member
3 Forum Posts
Hi,

I am using the CY3684 dev. kit, have loaded the EP_Interrupts sofware example, and want to do a File Transfer to Endpoint 2 using the CyConsole. What format does the file have to be in to use the File Trans.. button properly on the CyConsole?

Thanks,

Thomas


Re: Basic Question using CY3684 and CyConsole

andrewsobotka posted on 20 May 2009 02:55 PM PST
Top Contributor
40 Forum Posts
I don't think CyConsole cares what format, it just sends the bits that it finds in the file over to the device. If you were to open the file in a hex editor, you would see the data it would be sending.

This is all just theory, I haven't actually tested that example, but I have used that button before.

Re: Basic Question using CY3684 and CyConsole

aasi posted on 20 May 2009 06:59 PM PST
Cypress Employee
1090 Forum Posts
andrew what you are describing is right... cyconsole just converts the file into hex and sends it... cyconsole has a file transfer restriction of 4096 bytes... if you want to work with file transfers more than 4096 bytes you might wanna work with control center...

Re: Basic Question using CY3684 and CyConsole

tpgaffn posted on 21 May 2009 07:39 AM PST
Member
3 Forum Posts
Ok, that makes sense but I am having problems with this. I put 11 22 ... 77 88 repeatedly in a file and when I go to do the File Transfer, the Console kind of freezes up for a second then says Bulk OUT File Transfer failed. Should the file not have any spaces in it? I saved it as a .txt file. Should it be a different format or use a certain encoding on the file (currently set to ANSI, other options are Unicode, Unicode big-endian, and UTF-8)? Sorry for the dumb question but I would really like to transfer a file for my testing.

Thanks.

Re: Basic Question using CY3684 and CyConsole

aasi posted on 21 May 2009 08:12 AM PST
Cypress Employee
1090 Forum Posts
The most probable reason is the device is NAKing the out request... What firmware are you using??? Are you using bulkloop or some firmware of that type... i mean those can receive data only till there is buffer and then they'll NAK... Here is what you can do... download cy4603 cystream example and try sending file to the firmware there... that firmware gets data and just discards it so that will be a good way to test if atleast something is happening...




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.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20