Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Error while import new component to PSoC Creator

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



Error while import new component to PSoC Creator
Moderator:
JFMD

Post Reply
Follow this topic



Error while import new component to PSoC Creator

WeiBiao posted on 12 Jul 2011 9:12 PM PST
Member
6 Forum Posts

I have imported "Thermistor_Calc" to PSoC Creator CyComponentLibary.cyprj from "AN66477-PSoC35 Temperature Measurement with Thermistor" .

Then I created my project and add the Thermistor_Calc component.  But there always has error while I built my project.  See below screenshots. And it is surprising that no any error notice while I built the origin AN66477 project. And the config window is differenct between them.

Also, there is no Component Preview in Component Catalog. Seems it has not been imported successful. But I do not know why.  Anyone can help?

 




Re: Error while import new component to PSoC Creator

WeiBiao posted on 12 Jul 2011 09:19 PM PST
Member
6 Forum Posts

Here is a complete screenshots with error description.  

 



Re: Error while import new component to PSoC Creator

Gautam Das posted on 19 Jul 2011 02:34 AM PST
Cypress Employee
742 Forum Posts

Hi WeiBiao,

 

I think there is an issue with the way in which you are importing the Thermistor_Calc component.

The project associated along with the AN has a cylib folder named Thermistor_Calc_v1_0.cylib. This cylib should be used to add dependency to the project which requires this component.

 

Hence, in the project where you want to use the Thermistor_Clac Component go to Project > Dependencies

The Dependencies dialog box opens. In the User Dependencies, click on New Entry.

Now select Thermistor_Calc_v1_0 under Thermistor_Calc_v1_0.cylib folder.

Click OK.

 

Now the Component will appear in your component catalog in a new tab called CYRef under Thermistor folder. The snap shot below shows the Dependencies dialog box.

 



Re: Error while import new component to PSoC Creator

WeiBiao posted on 21 Jul 2011 08:07 AM PST
Member
6 Forum Posts

Dear dasq:

It is great ! The error has been solved. Thanks!

But I do not know why other component can be import easily? No need to set the Dependencies? Like SGPIO or FanController?



Re: Error while import new component to PSoC Creator

Gautam Das posted on 28 Jul 2011 11:14 PM PST
Cypress Employee
742 Forum Posts

Hi WeiBiao,

 

I am not sure why in your case direct importing of the custom component resulted in an error.

 

In PSoC Creator, importing of component creates a local copy of the component in the project. This component can be modified.

When dependency is added to a component, the custom component can be used in the project, but cannopt be modified.



Re: Error while import new component to PSoC Creator

CKF posted on 30 Jul 2011 02:56 PM PST
Cypress Employee
32 Forum Posts

WeiBiao,

I think the answer to your question is when importing other components there is probably not an underlying dependent library, but I am not familiar with the SGPIO or FanController to be sure.

 

If there is an underlying dependency for those projects, it might be that you already have those dependecies in your design?






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