Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > can not read from hpi port: cy7c67300

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



can not read from hpi port: cy7c67300
Moderator:
RSKV

Post Reply
Follow this topic



can not read from hpi port: cy7c67300

wanghaib0423 posted on 19 Apr 2012 10:01 PM PST
Member
6 Forum Posts

the problem: when my Cy7 is set to bootup as HPI mode, the extern host master can not read any data from the four hpi port register but the last write data that wrtie to the hpi port registers. I dont no what's wrong, help!

when i boot the CY7 bootup as standalone, I config the GPIO as the HPI port, the extern hpi master write then read, read nothing too. but I use the qtudump, i found that the hpi write is successed. this proved the hpi write is ok. but why hpi read not work? Is there anything must be set for HPI port?

additional, I found when read the HPI port register, the data bus connect to HPI_DATA is not drived by the CY7, it hold the last data put on the bus.




Re: can not read from hpi port: cy7c67300

PRJI posted on 23 Apr 2012 03:26 AM PST
Cypress Employee
333 Forum Posts

Hi,

 Are you using EZ-HOST in Stand alone mode? EZ-host can not be connected to any host processor over HPI in stand-alone mode because when the chip is being used in stand-alone mode, one cannot have external processor acting as a Master. EZ-Host's own internal 16-bit CPU is the main processor and firmware is typically downloaded from an EEPROM. If one wants to use an external microcontroller, then you need to use the chip in co-processor mode. In co-processor mode, an external host processor drives EZ-Host  and is the main processor rather than EZ-Host's own 16-bit internal CPU.

Thanks

Prajiht

 



Re: can not read from hpi port: cy7c67300

wanghaib0423 posted on 23 Apr 2012 09:58 PM PST
Member
6 Forum Posts

thanks,

     the problem is that,  in stand alone I config the GPIO port as HPI port, and the external master can write date to CY7' internal RAM,but cannot read anything from Cy7;in HPI mode, external master can down load firmware by hpi, and use the hpi DMA to write the IRAM,but cannot read angthing through the HPI port. In both modes, the HPI port is write able but read enable, I donnot no why? Wait for help!

   thanks so much!

  hbwang






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20