PSoC™ Creator & Designer Forum Discussions
I have looked through several documents and videos regarding the workspace explorer but cannot find the answer.
What does the asterisk at start of source file name mean ?
Thanks
Show LessI have been working with BLE Pioneer Kit and PRoC module.
I have a low power project that has been working for a while. I ran debug mode a few times successfully in the beginning of its development.
Then my debugging methods shifted to battery mode with my oscilloscope so many changes have been made since it was debugged over USB.
Now I get the error # mentioned in Subject, which comes up just as the first line in main loop is highlighted yellow and the debug mode disappears and error appears.
Attached is image at that point.
Any ideas?
Show LessHi,
First you can see the figure.
Source Port variable data type is unsigned short so the next destport variable address is 0x20000D84.
destport variable datatype is also unsigned short but next seqNo variable address is not 0x20000D86 but 0x20000D88.
It is Psoc creator bug or my fault.
Show LessHi all,
need your help, may be wrong thread...
I ve just unpacked an unused but dusted PSoC1 evaluation kit because I need to adjust an old source code made in 2010 with the equal kit.
After installing the PSoC Designer 4.4 from the original CD and opening an old project, the designer does not allow to compile the source code due to an invalid compiler license. Is this compiler license not part of the small evaluation kit? Where can I get (buy, if required) such compiler license?
rgds Thomas
Show Lesseven though i don't have any layout constraints (that i know of), the fitter complains:
Error: plm.M0005: Fixed location constraints could not be satisfied during macrocell to LAB packing. See report file for more information. (App=cydsfit)
ERROR: Fixed location constraints could not be satisfied during macrocell->PLD packing.
is this a common problem? my circuit is pretty trivial.
the complete error message is included here:
<CYPRESSTAG name="PLD Packing">
Error: plm.M0005: Fixed location constraints could not be satisfied during macrocell to LAB packing. See report file for more information. (App=cydsfit)
ERROR: Fixed location constraints could not be satisfied during macrocell->PLD packing.
Constraint failure occurred when trying to place the following macrocell
into the PLD at location [UDB=(3,0)][LB=1][MC=1]:
MacroCell: Name=COMM_STATE_0, Mode=(T-Register) @ [UDB=(3,0)][LB=1][MC=1]
Total # of inputs : 0
Total # of product terms : 0
List of special equations:
Clock = (COMM_CLK_IN)
Reset = (Net_1015)
Clock Enable: True
Main Equation : 0 pterms
!(
0
);
Output = COMM_STATE_0 (fanout=11)
Properties :
{
}
Destination PLD had the following contents:
LAB@[UDB=(3,0)][LB=1] #macrocells=1, #inputs=0, #pterms=0
{
[McSlotId=0]: (empty)
[McSlotId=1]: (empty)
[McSlotId=2]: (empty)
[McSlotId=3]: MacroCell: Name=COMMAND_MODE, Mode=(D-Register) @ [UDB=(3,0)][LB=1][MC=3]
Total # of inputs : 0
Total # of product terms : 0
List of special equations:
Preset = (Net_619_3)
Clock Enable: True
Main Equation : 0 pterms
(
0
);
Output = COMMAND_MODE (fanout=11)
Properties :
{
}
}
Hi,
I used different sheets for different functions and due to limited space of the sheet. Now I would like to connect two input pins with two output pins which are placed on an other sheet. Is this possible?
The knowledgebase shows a function when creating a project to specify the size of the sheet. This wasn't available in PSoC Creator 3.2; is this correct?
Best regards.
Show LessHi everyone!
I am intending to share data between two functions on a different .c files. On all examples I have seen on PSoC Creator, all of them uses variables declared as a "extern", so it os possible share data between functions on different .c files .
I am trying to use pointers as a function arguments, but it seems I am doing something wrong. Here is a portion of my code:
- Sensors.c file :
uint8 *ReadByteData;
uint8 MPU9250_alive_request(void){
I2CMaster_ReadByte(MPU9250_ADDRESS, wrData, ReadByteData);
UART_UartPutString("data is : 0x");
sprintf(UARTbufferASCII,"%x", *ReadByteData); //convert hex to ASCII
UART_UartPutString(UARTbufferASCII);
UART_UartPutString("\n\r");
}
- I2CMaster.c file:
uint8 I2CMaster_ReadByte (uint32 address, uint8 *subAddress, uint8 *data){
I2C_I2CMasterReadBuf(address, data, 1, I2C_I2C_MODE_COMPLETE_XFER);
}
The issue is that the code above is not working, but if I declare uint8 *ReadByteData inside of the MPU9250_alive_request() function all is working good, but that variable wouldn't be visible on all variables of Sensors.c file. Why if I declare the variable inside the function works? As I know about pointer usage, the code above should work if I do that:
- Sensors.c file :
uint8 *ReadByteData;
uint8 MPU9250_alive_request(void){
I2CMaster_ReadByte(MPU9250_ADDRESS, wrData, &ReadByteData);
UART_UartPutString("data is : 0x");
sprintf(UARTbufferASCII,"%x", *ReadByteData); //convert hex to ASCII
UART_UartPutString(UARTbufferASCII);
UART_UartPutString("\n\r");
}
- I2CMaster.c file:
uint8 I2CMaster_ReadByte (uint32 address, uint8 *subAddress, uint8 *data){
I2C_I2CMasterReadBuf(address, data, 1, I2C_I2C_MODE_COMPLETE_XFER);
}
But the outcome is that is not working. On another projects using different IDE it has worked good, but I don't know why not here
It seems like PSoC creator is not behaving good with pointers. Could anyone help me?
Thank you so much in advance!
Josué
pd:Attached is the complete files code I'm speaking about
I ran out of SRAM in my application and so I have 4000 bytes of data that I'd like to store in Flash as an array.
I tried 'const int8 pgm[4000] = {0x4c, ....};'
However when I build the project the Output window shows that it was stored as SRAM.
Thanks.
Show Less