PSoC™ Creator & Designer Forum Discussions
I am getting the following error when I create an Archive Bundle
"Error: prj.M0168: The workspace/project archive failed. The given key was not present in the dictionary."
What causes this error?
I am using Creator 4.0 Update 1, released 12/20/2016.
Appreciate any help with this.
Thanks.
GR
Show LessNeed a component for Bosh BME280 humidity sensor. Has anybody already written it? There is a Bosh driver in C that requires a few methods to implement the I2C interface. The Bosh code does some pretty complex math to apply calibration values so I think the component should use it.
Also has anybody tried using a low side switch to activate and deactivate the BME280 when in circuit so you can have more than one BME280 on the same I2C bus? The user guide says you can not use a high side switch due to the way they implemented the blocking diodes but it does not say you couldn't use a low side switch. I may just switch over to SPI but then will have to buy new breakout boards for the BME280.
Show LessI'm trying to get a PSOC5LP to read an SD card.
I followed the instructions in the data sheet and am able to read/write from/to the sd card successfully.
The problem is that I'm trying to use the "emf32noslfn" library but I keep getting truncated file names (8 chars) when using the FindFirstFile / FindNextFile functions.
Any help would be appreciated.
Show LessHello,
does anyone know if it's possible to use multiple verilog files for a component? Currently it seems that the Warp synthesis tool include search path couldn't be modified.
The search path seems to be fixed to the projects 'codegentemp' directory and a common directory inside the Warp tool folder.
Copying the additional files to the codegentemp folder is useless, because the directly will be cleared on each build. Using the common directory would be bad style IMO.
The `include directive isn't described well, there's only a statement that both fixed and relative paths are supported. Fixed paths are useless, because if the additional files are part of the components version (which I'd consider good style), the path has to be modified for each new version of a component.
For relative paths, there's no description if there're any special strings giving the current location of the file or something like the PSoC Creators special string '${ProjectDir}', etc.
Regards
Show LessHow to controle 5 servo (9g) by ADC (input from potentiometre) from 0 To180°
thank you
secound step ; how to use uart to sent 'analog input' to an other Psoc to controle the same 5 servo
Show LessHello,
I archived a project , using the full option, but I can not use the archive bundle anywhere. I got many errors for bad paths. I made own folder Archive and copied manually the unzipped bundle there, but then the software itself crashed:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CyDesigner.Common.Db.CyS3Db.CyTermShape.AcceptConnectable()
at CyDesigner.Common.Db.CyS3Db.CyInst.AcceptCarton(Boolean updateSelection)
at CyDesigner.Common.Db.CyS3Db.CyInst.AcquireShapesAndTerminals(CyInstBindContext bindContext, ICyInstContextChain localCtxt, CyInstCustomizerProvider custProvider, CyShapeErrorType& shapeErrorType)
at CyDesigner.Common.Db.CyS3Db.CyInst.DoBindWrapped(CyInst i, CyInstBindContext instBindInfo)
at CyDesigner.Common.Db.CyS3Db.CyInst.DoBind(CyInst i, CyInstBindContext instBindInfo)
at CyDesigner.Common.Db.CyS3Db.CyInst.Bind(CyInstBindContext bindInfo)
at CyDesigner.Common.Db.CyS3Db.CyInst.Refresh(Boolean forceReEval)
at CyDesigner.Common.Db.CyS3Db.CyInst.Refresh(CySsModelRefreshReason reason, IEnumerable`1 insts, Boolean& anyInstsDesignSensitive)
at CyDesigner.Common.Db.CyS3Db.CySchematic.pvt_Refresh(CySsModelRefreshReason reason)
at CyDesigner.Common.Db.CyS3Db.CySchematic.CyDesigner.Common.Base.ICyRfrReceivingClient.ProcessTkt(List`1 rfrInfos)
at CyDesigner.Common.Base.CyRfrMgr.DeliverTickets()
at CyDesigner.Common.Base.CySuspendMgrCallLatest`1.EndSuspend(Tkey key, Action method)
at CyDesigner.Common.Base.CySuspendMgr`2.Resume(Tkey key, String source)
at CyDesigner.Common.Base.CySuspendObj`2.Dispose(Boolean wasUser)
at CyDesigner.Common.Base.CySuspendObj`2.Dispose()
at CyDesigner.Common.Base.CyRfrMgr.DeliverTickets()
at CyDesigner.Common.Base.CySuspendMgrCallLatest`1.CallOrDeferMethod(Tkey key, Action method)
at CyDesigner.Common.Base.CyRfrMgr.QueueTicket(CyRfrMgrAction action, ICyRfrTkt ticket)
at CyDesigner.Framework.CyDesignerFramework.FormActivated(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at CyDesigner.Framework.CyDesignerForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1637.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
psoc_creator
Assembly Version: 4.0.0.432
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.0/PSoC%20Creator/bin/psoc_creator.exe
----------------------------------------
System .....................................................
I did not copy the whole dump, but obviously it is a big problem.
I use the last version of the Creator
Show LessI'm trying to use emwin to control the display (controller SSD1289)
Only 8 primary colors are available for display.
What could be the reason?
SSD1289x16_emwin.zip
Hello,
I am using PSOC creator 3.0(SP2) + cy8ckit-043 with windows 10. In my case KitProg USBUART driver can not installed. I attached the screen shot of device manager.
Please be needfull.
Show LessUnzip the attached file "App + Guide for Installer problem.zip", and you will get the application and solution guide to resolve your installation problem.
Brief about Installer
To install an application, CyInstaller will install a bunch of MSI files and each MSI will have its own unique registry entry. Before installing MSI Window will check that registry entry related to MSI should not be available in system registry entries and if it is available, then Installer will not proceed and will show message that this product is already installed in system.
Why Registry entries are available in system if these are unique?
- Software which only can be updated from one version to new version will have same registries, so that no two instances of software should be available in system at a time like two version of PSoC Programmer cannot exist in a system so PSoC Programmer will have same registry entry. If un-installation of previous version of software is not successful then it will leave some registries which will not allow installing the new release of software.
- If installation process hangs and we stops the installation in between then also some registry entry may remain in system which will not allow installation when you will install the same software again.
Solution for Registry related installation problem
Registry entry is only partially available in system so name of software will not appear in “Add or Remove programs” of operating system.
We will have to manually delete all the registry entries related to particular software in which we are facing problem. We have an application which can be used to remove the registry entries of Cypress software.
How to use this app?
- Get the name of software and version at which installer hangs and is giving error. CyInstaller can installer many software at a time like if you are installing PSoC Creator, then it will install Creator + Programmer. So in installer window check the name of software at which installer is pointing error. It will show a green arrow on the software with which it is facing problem.
- Run the application “RegistryRepairApplication.exe”
- It will show the list of all Cypress registries available in system
- Click on “Create Log” button
- It will create a “CypressLogFile.log” in the same folder where you have saved application
- Open the file “CypressLogFile.log”
- Search for the name of Software which is causing problem and also check the version of software.
Note Search the name of software and also check the proper version of software. For example if you are facing problem in Creator 2.2, then do NOT delete the registry of Creator 2.0 or any other version.
In case of PSoC Programmer delete all registries related to Programmer.
- Note down all the numbers of registries and display name
- Go to the application and check all the number which you have noted down and check they do have same Display name also.
- Click on Delete button
- Click on “Yes” button to confirm. Now, it will delete the registries and application will show the all remaining Cypress registries. You can check that total number of Cypress registry will reduce after deleting the registries.
- Now, delete the software file from hard disk. To get the location of software, you can check the “CypressLogFile.log”. Check the registry entry which you have deleted and it will have “InstallSource” and “InstallLocation”, go to that path and delete the whole base folder of that particular software.
Delete the whole “Programmer” folder. Path is shown below:-
Now, you should be able to install the software properly.
Hello,
some components like FlipFlops don't have a dedicated Verilog file. It seems that those files are generated by the corresponding customizer.
Does anyone know where those files are stored after the build process? I couldn't locate them inside the project directory.
Regards