CY8CKIT-059, NVRAM

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
DaBa_1448511
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

Hi,

I'm hoping to port my code to PSoC 5 via the CY8CKIT-059. My project uses the imported NVRAM component (CE204087.cydsn). Following the procedure outlined in "002-04087_CE204087_Interfacing_SPI_nvRAM_with_PSoC_3__PSoC_5LP.pdf", I get:

" No drivers on signal "CS", bit(s) "0". "

" Every signal bit must have exactly one driver (e.g., connected to one schematic input terminal or one instance output terminal). The given bits do not have any drivers. Add drivers for the indicated signal bits. "

I get two seemingly identical errors as above, concerning the "CS" bit and two more concerning  the "HOLD" bit.

Then there are a couple of the error below and Fitter Abort.

" Error in customizer for component "CyControlReg_v1_70" : Loading : (Unable to locate and customize component 'CyControlReg_v1_70' used in schematic  'C:\Users\...\Cypress\PSoC5\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch'.). "

I bet somebody knows how to fix this!?

I'm running Creator 4.4 on Windows 10. I've followed the procedure a couple of different times and tried cleaning prior to building...

Thanks.

-Dave

0 Likes
1 Solution
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Dave,

You are correct.  Your project you attached has issues.

I downloaded the CE204087 application from the Cypress site.

I changed the Device to the CY8C5888LTI-LP097. 

I recompiled.  No errors reported.

Does this help?

Notes on fixing your project:

I imported the NVRAM_SPI component from CE204087.cyprj into your project.

I then copied the device.h file from CE204087.cyprj into your project.

I built your project with no reported errors.

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
11 Replies
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Dave,

You are correct.  Your project you attached has issues.

I downloaded the CE204087 application from the Cypress site.

I changed the Device to the CY8C5888LTI-LP097. 

I recompiled.  No errors reported.

Does this help?

Notes on fixing your project:

I imported the NVRAM_SPI component from CE204087.cyprj into your project.

I then copied the device.h file from CE204087.cyprj into your project.

I built your project with no reported errors.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

Len,

Thanks for jumping in on this. I tried adding device.h, but that didn't do it. I began to wonder if there was a problem with my Creator installation, so I uninstalled and re-installed. I started from scratch and created a new project, doing the whole procedure again. I did find that I had missed the drive modes for the input and output pins (which sounded like a very likely candidate). But I've still got the same problem. (I've done "cleaning" process each time also). 

I'm curious if the successful build you did would work on my machine. Would you mind uploading? Thanks again.

-Dave

0 Likes
lock attach
Attachments are accessible only for community members.

Dave,

Attached is my CE204087.cyprj with CY8C5888LTI-LP097 as the target PSoC5 CPU.

In your earlier post you mentioned that you copied device.h to the project directory.   However you didn't mention about importing the NVRAM_SPI component into the project.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

Len,

Thanks for the upload. Yes, I definitely imported the CE204087 component, as described in the PDF.  Now - the upload you sent goes by the same name as the component to be imported. Are you sure you sent a project with that component imported as a dependent, rather than just sending the CE204087 importable component?

I did open it and tried to build it, but had similar results (except the occurred for all of the I/O pins, rather than just some of them).  Thinking that this project may be the CE204087 importable component, I wondered if I needed to use the Device Selector to tell it what PSoC it's supposed to be running on (though I've never had to do that in the past with my PSoC4 endeavors). The Device Selector did initially indicate a PSoC3, but without my committing it, it automatically changed to the correct target (CY8C5888LTI-LP097). 

However, as mentioned, not a good outcome. The portal is not allowing me to drag a text file to upload the output of the attempted build, so I guess I'll paste it here:

--------------- Rebuild Started: 04/18/2021 10:52:18 Project: CE204087, Configuration: ARM GCC 5.4-2016-q2-update Debug ---------------
Deleting file ".\CE204087.rpt"
cydsfit.exe -.appdatapath "C:\Users\oneda\AppData\Local\Cypress Semiconductor\PSoC Creator\4.4" -.fdsnotice -.fdswarpdepfile=warp_dependencies.txt -.fdselabdepfile=elab_dependencies.txt -.fdsbldfile=generated_files.txt -.fdsreffile=referenced_files.txt -p "C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\CE204087.cyprj" -d CY8C5888LTI-LP097 -s "C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\Generated_Source\PSoC5" -- -yv2 -q10 -ygs -o2 -v3 -.fftcfgtype=LE
Elaborating Design...
ADD: sdb.M0033: error: The instance 'SI', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:SI)
ADD: sdb.M0033: error: The instance 'SCK', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:SCK)
ADD: sdb.M0033: error: The instance 'CS', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:CS)
ADD: sdb.M0033: error: The instance 'HOLD', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:HOLD)
ADD: sdb.M0033: error: The instance 'SO', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:SO)
ADD: sdb.M0025: error: No input on Instance "NVRAM_SPI_1", terminal "SO".
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Signal: Net_41)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_10.1)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_13)
ADD: sdb.M0050: error: Terminal "SO" requires connection when it is visible.
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Signal: Net_41)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_10.1)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_13)
ADD: sdb.M0033: error: The instance 'HOLD_Reg', of component CyControlReg_v1_70, contains an error. Unable to locate and customize component 'CyControlReg_v1_70' used in schematic 'C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch'.
* (Component Update Tool)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Instance:HOLD_Reg)
ADD: sdb.M0033: error: The instance 'CS_Reg', of component CyControlReg_v1_70, contains an error. Unable to locate and customize component 'CyControlReg_v1_70' used in schematic 'C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch'.
* (Component Update Tool)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Instance:CS_Reg)
ADD: sdb.M0017: error: No drivers on signal "CS", bit(s) "0".
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Signal: CS)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Shape_25)
ADD: sdb.M0017: error: No drivers on signal "HOLD", bit(s) "0".
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Signal: HOLD)
* C:\Users\oneda\Dropbox\1-DB\db\Elx\MIDI Project\PSoC Creator\CY8CKIT-059\CE204087\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Shape_26)
Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cydsfit)
--------------- Rebuild Failed: 04/18/2021 10:52:34 ---------------
The following projects have new component updates available: CE204087. To update the components in a project right-click on the project in the Workspace Explorer and select 'Update Components' or click on the notification icon in the status bar.
--------------- Rebuild Started: 04/18/2021 10:54:48 Project: CE204087, Configuration: ARM GCC 5.4-2016-q2-update Debug ---------------
Deleting file ".\CE204087.rpt"
cydsfit.exe -.appdatapath "C:\Users\oneda\AppData\Local\Cypress Semiconductor\PSoC Creator\4.4" -.fdsnotice -.fdswarpdepfile=warp_dependencies.txt -.fdselabdepfile=elab_dependencies.txt -.fdsbldfile=generated_files.txt -.fdsreffile=referenced_files.txt -p C:\temp\CE204087.cydsn\CE204087.cyprj -d CY8C5888LTI-LP097 -s C:\temp\CE204087.cydsn\Generated_Source\PSoC5 -- -yv2 -q10 -ygs -o2 -v3 -.fftcfgtype=LE
Elaborating Design...
ADD: sdb.M0033: error: The instance 'SI', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:SI)
ADD: sdb.M0033: error: The instance 'SCK', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:SCK)
ADD: sdb.M0033: error: The instance 'CS', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:CS)
ADD: sdb.M0033: error: The instance 'HOLD', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:HOLD)
ADD: sdb.M0033: error: The instance 'SO', of component cy_pins_v2_5, contains an error. Unable to locate and customize component 'cy_pins_v2_5' used in schematic 'C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch'.
* (Component Update Tool)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Instance:SO)
ADD: sdb.M0025: error: No input on Instance "NVRAM_SPI_1", terminal "SO".
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Signal: Net_41)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_10.1)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_13)
ADD: sdb.M0050: error: Terminal "SO" requires connection when it is visible.
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Signal: Net_41)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_10.1)
* C:\temp\CE204087.cydsn\TopDesign\TopDesign.cysch (Shape_13)
ADD: sdb.M0033: error: The instance 'HOLD_Reg', of component CyControlReg_v1_70, contains an error. Unable to locate and customize component 'CyControlReg_v1_70' used in schematic 'C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch'.
* (Component Update Tool)
* C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Instance:HOLD_Reg)
ADD: sdb.M0033: error: The instance 'CS_Reg', of component CyControlReg_v1_70, contains an error. Unable to locate and customize component 'CyControlReg_v1_70' used in schematic 'C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch'.
* (Component Update Tool)
* C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Instance:CS_Reg)
ADD: sdb.M0017: error: No drivers on signal "CS", bit(s) "0".
* C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Signal: CS)
* C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Shape_25)
ADD: sdb.M0017: error: No drivers on signal "HOLD", bit(s) "0".
* C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Signal: HOLD)
* C:\temp\CE204087.cydsn\NVRAM_SPI\NVRAM_SPI.cysch (Shape_26)
Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cydsfit)
--------------- Rebuild Failed: 04/18/2021 10:54:54 ---------------

0 Likes

Dave,

The project I uploaded is identical to the original project except I manually Device Selected the CPU for the CY8CKIT-059 board.   The CPU does not get automatically changed.  This has to be done manually.

I've looked at your output.   I'm still analyzing it.  It fails in the Application Build phase with all the pins in the TopDesign.

The command line for that phase is virtually identical to mine with cydsfit.exe ...

With the following exceptions:

  • My path to the project is different.
  • I'm using Creator 4.3 and you're using 4.4.

Yours faults out early.  Mine builds with no issues.  Humm ...

You've provided a good diagnostic report with the output results.  I think someone from Infineon needs to examine this issue.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
lock attach
Attachments are accessible only for community members.
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi @DaBa_1448511@Len_CONSULTRON

I downloaded Dave's project and upon opening the project PSoC Creator was not able to find the component - 

Rakshith_0-1618836615291.png

So I downloaded the CE204087.zip file and opened the project. I then exported the component into a new archive - 

Rakshith_1-1618836805338.png

This created a .cycomp file. I then imported this component into Dave's project and added the device.h file. As Len mentioned, this worked for me too and the project built successfully.  

I have attached the project and the component here for your reference. I tried extracting this and building the project in a new directory and that worked too. Can you please let me know if I am missing any steps?

Thanks and Regards,
Rakshith M B
0 Likes

Rakshith,

Please look at Dave's Application build output he provided.   There is something else going on here.

I appears he is having issues with the cy_pins component primative.

Dave,

In the project that is having the cy_pins issue, try updating the project components to the latest.   It is possible that the component versions used in the original CE204087 project are outdated and you being a fairly new user do not have these component version available.   If this is the case, update the project components to the latest available to Creator 4.4 and see if it fixes all issues.

Len
"Engineering is an Art. The Art of Compromise."

Thanks Len,

Yes, all my components are already up to date.

-Dave

0 Likes
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi Len, 

I had checked the components in Dave's project and the components were updated. But your response gave me another idea.

Dave's project had another dependency which is the code example project - 

Rakshith_0-1618848078237.png

But as Dave's local CE directory does not match for us, it is not considered in our projects. So I removed this dependency and added the CE project as dependency manually. I was then able to recreate the issue - 

Rakshith_1-1618848194764.png

To fix this, I then opened the CE and updated the components in that project. After this, I was able to build Dave's project.

Dave, 

Can you please try this and let me know if it works? You can also remove this dependency and follow the steps mentioned by Len. It should work. Please let me know your observations.

Thanks and Regards,
Rakshith M B
0 Likes

Rakshith and Len,

YES! That was it. I'd like to think I could've figured that out, but I sure didn't, so thank you both!

-Dave

0 Likes

Hi Dave, 

Glad it worked for you! 🙂 Thank you for the update. 

Thanks and Regards,
Rakshith M B
0 Likes