Quantcast
Channel: Cypress Semiconductor - PSoC Creator Software
Viewing all 369 articles
Browse latest View live

Setting per-file custom flags from command line

$
0
0

There's a bit of a mess with command line options passed to the compiler in a large PSoC Creator based project I'm working on. There's some per-file compiler options needed, but they're currently applied project wide, which is causing a substantial number of warnings in the build output.

I'd like to jump in and fix them, but the prospect of:

  1. Find a source file
  2. Right click, select "Build settings..."
  3. Expand "Compiler" option, select "Command Line"
  4. Fix the per-file command line options
  5. Repeat

Isn't very compelling. I poked around with cyprjmgr.exe and the other tools in the bin folder, but I don't see a documented way to change these settings via a script.

Is there a command line tool available where I can change these settings?

If not, can someone elaborate how to identify where the per-file build settings are stored in the .cyprj file so I can use a script to do batch edits?


Bootloader Flash Protection

turn off autocomplete in Find

$
0
0

When using Find in the text editor, the autocompletion is totally broken. When I type a character, the text box is immediately changed to some autocompleted text, which is selected, so that when I type the next character, the same thing happens again. This makes it impossible to type any search string at all.

I tried turning off "Automatically populate Find What" under Tools -> Options -> Text Editor -> Find And Replace, but this doesn't seem to have any effect.

What gives?

PSOC Creator Problem PSOC4200L CAN RX Mailbox with ID0x7FF bug?

$
0
0

Hello,

I want setup a CAN Receive Buffer with 11Bit-ID 0x7FF but I can't get it to work. After pressing ENTER always stands 0x001 in the ID field.

Same at Transmit Buffers, max 0x7EF is working all after 0x7F0 will result 0x001. 

It is a bug or what is the problem???

Reagrds,

Jackson

Build process unable to delete contents of code gen dir. Error: Failed to delete...lcpsoc3

$
0
0

I added some LED off/on/off/on code and when I clicked Build, I get the following error message:

Build process unable to delete contents of code gen dir.  Error: Failed to delete...lcpsoc3:  Access to the path...lcpsoc3' is denied

I believe that I can delete it after a boot from shut down, but is there a way to delete this to allow build to proceed now rather than later?

Unable to edit code in PSoC Creator 4

$
0
0

Hi all, recently I have updated my PSoC Creator to version 4 and I'm unable to edit or change any codes in some previous projects I made. The text cursor won't appear when I click on any lines on the main.c file. Nothing comes out when I press any key on my keyboard. 

Top design: creating a simple control signal

$
0
0

Hello,

I don't understand how to do a thing I believe should be pretty straight-forward. Which component should I use to create a node that has a value that I can control from code?

For instance, let's say I want to control one of the inputs to an OR gate from code - how to do that?

I'm using an PSoC 5LP.

 

Thanks, Jacob

Changing direction of bidirectional pin

$
0
0

Hello,

I'd like to use a bidirectional pin and change its direction from the code. This doesn't seem to be possible using the provided API. What's the easiest way to configure a bidirectional pin as input, and then change it to output?

I'm using a PSoC 5LP.

Thanks, Jacob


Custom parameters on custom components. (and a feature request :) )

$
0
0

Hi,

I'm implementing two custom components, both based on SPI, one use the SPI ( UDB version ) and the other use the SPI on PSoC4 devices ( based on SCB block ), i'm adding some custom parameter types to one of them, it's a little time consuming so i would like to know if this custom parameters are saved as text on the cysym file, if so i could copy that text from one custom component to the other and save time.

Also other problem i had, when creating the schematic implementation there's no way to update the custom component symbol, you can only generate it again, so i lost all the work i did before. Maybe it would be useful to add the option to update the component symbol based on the changes on the implementation.

Hope there's a way to solve this issues.

 

Thanks in advance :)

Carlos

How to change the Chinese code in PSoc Creator ?

$
0
0

I used the Chinese language GB2312 coding fonts, but PSoc Creator does not seem to support GB2312 coding, I would like to ask you can change the coding method?

Exchanging .o (object) files for algorithm IP protection

$
0
0

This is more of a "fundamental C" question, where we are using the PSOC5LP to accomplish our task.  Here goes:

Problem statement:

We have a "special.c" file in PSOC creator, that has some of our special proprietary algorithms.  We know they work on our PSOC5 development board through testing and debugging.  We want to allow our customer to use the algorithms, but we do NOT want them to "see" the algorithms (I.E. the "special.c" file should be a "black box" to the customer).  As a side note, this project's schematic (.cysch) and pin configurations are common information between the two of us (not secret).

In order to do this, we want to compile special.c into special.o (the object file), and then give this special.o file to the customer. 

--> How do we create the external inputs/outputs in "special.c" so that the customer can see them, but not see the internals of special.c?

Creator 4.0 Export to Makefile Bug Reports

$
0
0

Hello,

First off, thanks for adding the export to Makefile option to PSoC Creator 4.0. It's a greatly needed feature that enables tons of new tooling for PSoC project code.

However, I've encountered some bugs that I'd like some assistance with. I'll add each bug as a separate reply to this post. 

 

Using same analog input pin on Analog Mux Component PSoC3

$
0
0

Hi everybody,

I was wondering if it is possible to use same ressource - an analog input pin - which is connected on different input pins on Analog Mux component.

Use Case:

I would like to provide several channels for differential analog measurement which are currently muxed to ADC internally. Let's say U+ for positiv voltage and U- for negative voltage. As U- is mainly put on one voltage level(not GND/VSS) i'd like to route it externally on one pin end internally on the negative input for all differential inputs of Analog Mux then.

Having said that I simpy worked it out and got fhe following message:

mpr.M0099: The digital input of pin "XXX" is occupied. This pin is connected to an AMuxHW component, which indicates its digital input is expected to be controlled by the only matching hradware control signal on the AMuxHW component.

Can somebody explain me what I'm doing wrong please?

 

Thanks in advance!

Joe

Looking for KEES_Library.cylib

creator 4 isue

$
0
0

i am using psoc creator 3.3 service pack 2.i want part cy8c4126axi-443 (44 pin tqfp) this part is showing on website but not showing in creator device selector page.

so i try to download creator 4.

i download PSoCCreatorSetup.exe of 684,705kb

when i run it it install all things and after that at end its display with run update manager checkbox and finish button with out any error.as soon as i click finish button another window open like installer and started download lots of thing from internet(i think its creator 4 update pack).this is also successfully installed.but when i check in start Manu or in cypress folder no creator 4 is installed only old 3.3 is showing......

i repeat this step 3 times but same issue its frustrating........please any one can help????


How do create a standalone application (so you don't need the programmer attached)?

$
0
0

Hi,

Just finished my first project. I feel confident with the software but I don't know how to create a standalone executable. ATM I have to attach the usb programmer for the uploaded program to boot and run. Have tried changing the project build options from debug to release but that didn't change anything. Simple question I know so I appreciate anyone who takes the time to reply. Have tried looking through the documentation and google but obviously not looking in the right place.

Thanks. 

Debugger stops on startup without breakpoint

$
0
0

Working on some changes and suddenly the debugger always stops here ->>>, but there are no breakpoints set:

void cyfitter_cfg(void)
{
    /* Disable interrupts by default. Let user enable if/when they want. */
    CyGlobalIntDisable;

    /* Enable the clock in the interrupt controller for the routed interrupts */
 ->>>   CY_SET_REG8((void *)CYREG_UDB_UDB_INT_CLK_CTL, 0x01u);

There are no warnings, so I have no idea what I changed to cause this. Are there other reasons the debugger would trap, and how can I isolate them?

PSoC Creator request

$
0
0

I have really enjoyed using the PSoC Creator schematic editor!  It makes setting up systems a lot easier.

I have a request, is this the place for them?

My request is that the CAN RX buffer configuration window provides the ability to set the Acceptance Mask Register (and maybe also the Acceptance Code Register).  If I am understanding correctly, the AMR register should allow a mailbox to receive messages for IDs within a range instead of a single ID.  At the moment it seems this can only be done in firmware.

Thanks!

Placer failure with many linked DMAs

$
0
0

The attached project can be built if the links between XxDMA and XxDMAB are removed.  But if the 3 chain links are added, it fails to place some of the USB DMA.  It will also build if many of the TxDMA_X is disabled. 

I'm not using all the DMAs - what is the problem? 

Error message:

Error: plm.M0046: E2806: Failed to place fixed-function blocks. See the report file for details.
Error: plm.M0046: "C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\bin/sjplacer.exe" failed (0xFFFFFFFF)

From the Report File:

<CYPRESSTAG name="Digital Placement">
Error: plm.M0046: E2806: Failed to place fixed-function blocks. See the report file for details.
"C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\bin/sjplacer.exe" --proj-name "Temp" --netlist-vh2 "Temp_p.vh2" --arch-file "C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\dev/arch/p4_udb2x4.ark" --rrg-file "C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\dev/psoc4/2/route_arch-rrg.cydata" --irq-file "C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\dev/psoc4/2/irqconn.cydata" --drq-file "C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\dev/psoc4/2/triggerconn.cydata" --dsi-conn-file "C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\dev/psoc4/2/dsiconn.cydata" --pins-file "pins_124-VFBGA.xml" --lib-file "Temp_p.lib" --sdc-file "Temp.sdc" --io-pcf "Temp.pci" --outdir .
<CYPRESSTAG name="Detailed placement messages">
I2807: The following instances could not be placed: \USBFS:ep3_dma\, \USBFS:ep4_dma\, \USBFS:ep6_dma\, USBOutDMA, USBInDMA
DMA placement:
DMA 0: <empty>
DMA 1: <empty>
DMA 2: TxDMAB_1
DMA 3: TxDMAB_0
DMA 4: <empty>
DMA 5: <empty>
DMA 6: <empty>
DMA 7: <empty>
DMA 8: RxDMAB_1
DMA 9: RxDMAB_0
DMA 10: TxDMA_1
DMA 11: TxDMA_0
DMA 12: RxDMA_1
DMA 13: RxDMA_0
DMA 14: \USBFS:ep1_dma\
DMA 15: \USBFS:ep2_dma\
DMA 16: <empty>
DMA 17: <empty>
DMA 18: <empty>
DMA 19: <empty>
DMA 20: <empty>
DMA 21: <empty>
DMA 22: <empty>
DMA 23: <empty>
DMA 24: <empty>
DMA 25: <empty>
DMA 26: <empty>
DMA 27: <empty>
DMA 28: <empty>
DMA 29: <empty>
DMA 30: <empty>
DMA 31: <empty>

E2806: Failed to place fixed-function blocks. See the report file for details.
</CYPRESSTAG>

 

 

Timer Counting Backwards?

$
0
0

Hi, todat I opened a new project, I wanted to have a timer running free on  my project so I can need to get delta time, the thing is that I start the timer and it it counting backwards?? , how can I fix this?, It can not be a software Error, because I am Only calling Timer_Start(); and Timer_ReadCounter();

Thanks =)

Viewing all 369 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>