PSoC™ Creator & Designer Forum Discussions
i want program cy8c27443 ,make a project , but i can not find it ,in the PSoCCreator4.4
I'm integrating class B library from Cypress/Inf and I come across a weird problem with PSoC Creator when I build with the flash self test included in the project. Note I'm not even calling any of the flash self test functions from anywhere, I'm just including it in the project.
When I build and debug code without the files SelfTest_Flash.c and SelfTest_CRC_calc.c in the workspace, the C source debugger correctly winds up at the Reset() label.
When I include those two files in the workspace and start debugging, the C source debugger points to middle of function SelfTests_CRC16(), even though nothing has called anything in SelfTest_Flash. These files should not even be built into the image, optimizer should discard them as no calls into either file are made. Yet C source debugger points to SelfTests_CRC16() whenever debugger starts or when Debug->Reset is done from the menu. No clean or build sequence on the project changes this outcome.
If you bring up a disassembly window, the address and code are correct: it is at <Reset>: label, address 0x00000010. So I think the debugger is actually working correctly, but C source is not synchronized. Placing breakpoints in the Reset() function such as at Start_c() no longer work at this point, though breakpoints in main() and other downstream functions seem to work correctly.
Does anyone have any idea what could be causing this? It is mostly an annoyance but just one in a long string of them with this tool.
Show LessI have a project that runs fine. I committed it to SVN. Then I added an RTC component and committed the project update to SVN, except I forgot to add the new PDL files to SVN.
When a colleague checks-out the project from SVN, these RTC PDL files are, of course, missing. But why can't I get PSoC Creator to recreate them, or copy from the selected PDL library directory in C:\Program Files (x86)\Cypress\PDL ? I can copy them manually, but why won't PSoC Creator do it?
I tried Clean And Rebuild. No effect.
I tried deleting the component and re-adding it. No effect.
Here's the error message.
Failed while attempting to update project 'ProjectName': Could not find a part of the path 'C:\Projects\CompanyName\PCBName\Firmware\branches\PinsForCY8CKIT-062-BLE\ProjectName.cydsn\Generated_Source\PSoC6\pdl\drivers\peripheral\rtc\cy_rtc.c'..
Thanks
-Will
Show LessI downloaded both the ISO and the basic install file from you site, they both error on install
on a cab file being corrupted.
psoc_creator_3.3_cp3_b9648.iso
PSoCCreatorSetup_3.3_cp3_b9648.exe
https://www.cypress.com/documentation/software-and-drivers/psoc-creator-software-archive
Regards, Dana.
Show LessHello to all,
I am using BLE v3.30 and am testing authentication fail situations. One of them is also to enter wrong pin code.
I also read Bluetooth Low Energy v3.30.pdf document.
I put some traces into the ble event handler just to see what is happening and I found out following:
- an event CYBLE_EVT_GAP_AUTH_FAILED is send
- structure passed with this event is of type CYBLE_GAP_AUTH_INFO_T.
- I checked the parameters and there is a parameter called "authErr" which should describe the error.
- When I print the value of the "authErr" after I entered invalid PIN code I see that the value is 0 ??? which means CYBLE_GAP_AUTH_ERROR_NONE.
- The parameter "bonding" is set to value 0x04 which is also strange
I double check everything and implementation is ok:
CYBLE_GAP_AUTH_INFO_T status = *(CYBLE_GAP_AUTH_INFO_T *)eventParam;
char* dummy = "CYBLE_EVT_GAP_AUTH_FAILED: bonding, authErr";
SW_Tx_UART_1_PutString(dummy);
SW_Tx_UART_1_PutCRLF();
SW_Tx_UART_1_PutHexByte(status.bonding);
SW_Tx_UART_1_PutCRLF();
SW_Tx_UART_1_PutHexByte(status.authErr);
SW_Tx_UART_1_PutCRLF();
So the question is, why do I get OK if for invalid PIN number I should get some error. And actually the device don't connect over the bluetooth, so this is working fine. To me it looks like this 2 parameters are inverted.
Another question is, what does the BLE send back if I enter invalid PIN code? So that the application on the other side could properly handle the error?
From the CySmart application and when using the source code with the Android studio I found out it get this information:
D/CySmart Android: PCF: pair: registering mPairOnConnectStatusReceiver
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@3b88ef84 time:520152927
D/CySmart Android: HPA: pair: BluetoothDevice.BOND_NONE
BondingProgressDialog: pair: dismissing dialog 582622311
D/BluetoothGatt: onClientConnectionState() - status=22 clientIf=7 device=00:A0:50:00:00:00
I/CySmart Android: onConnectionStateChange: status: 22, newState: 0
BluetoothLeService: action: com.example.bluetooth.le.ACTION_GATT_DISCONNECTED
status=22 was taken from the Android-BLE-Library/GattError.java at 5e0e2f08c309a6de2376d9b8705c83f9e9a80d56 · NordicSemiconductor/Android-BLE-Library… and it means GATT_CONN_TERMINATE_LOCAL_HOST. But I don't see an error describing that wrong PIN number.
Any further information on how BLE handles wrong PIN code and what does it actually returns back over the BLE would be really helpful. Or is it option that I can send something back?
Thanks for the answer, Frenk
Show LessHi,
I'm using PSoC Creator 4.3 with device PSOC4100S CY8C4125AXI-S433, in my design I'm using Flash to emulate EEprom and I'm following the relative code example, and here I have a problem, the variable "Em_EEPROM_em_EepromStorage" within the generated file Em_EEPROM.c, is declarated only if defined "CY_PSOC6", and it is not here the case.
#if ((CY_PSOC6) && (Em_EEPROM_1_STORAGE_EM_EEPROM))
CY_SECTION(".cy_em_eeprom") CY_ALIGN(CY_FLASH_SIZEOF_ROW)
const uint8 Em_EEPROM_1_em_EepromStorage[Em_EEPROM_1_ACTUAL_SIZE] = {0u};
#endif /* ((CY_PSOC6) && (Em_EEPROM_1_STORAGE_EM_EEPROM)) */
Probably I'm wrong ... Have you any suggestions?
Thanks
Renato
Show LessI'm using PSoC creator 4.3
In the Workspace Explorer window, when I create a folder in my source files folder, I would like that folder to also be created where those source files exist on my hard disk. It seems that PSoC creater only creates these folders "virtually" in the project file. Is there an option or method to have PSoC creator maintain these files on disk, as they appear in Workspace Explorer?
Thanks!
Show LessHi,
We installed Psoc Creator 4.4 on a brand new Windows 10 machine. We copied an existing old working PSoC3 project (using the same Keil version C51 compiler: DP8051 9.51).
When building the project we get ther error:
ERROR: C:\Program Files (x86)\Cypress\PSoC Creator\4.4\PSoC Creator\import\keil\pk51\9.51\C51\INC\intrins.h:19: missing ';' before 'extern'
We veriified the build settings between the 2 computer systems (the old one running PSoC Creator 4.2). They are equal.
What causes this error?
Thanks for your reply
Kris
Show LessHello Community,
I am currently evaluating RTC backup time after POR in PSoC6 BLE PIONEER KIT. As mentioned in the schematic there is a supercapacitor connected to VBACKUP for backing up the RTC time(Refer 'CY8CKIT-062-BLE_Kit_Guide' page 33).
I tried flashing the example project '002-16825_CE216825' and '002-18964_CE218964' .
In both the projects, the time is ticking when the kit in on condition. But after a POR the previous time is not retained by the RTC like mentioned in the TRM/datasheet.
Kindly, help to resolve this issue ASAP. As in our design the decision to add an additional IC to retain the time or not totally depend on this.
Show LessI have 7 calls to an external function within one source file. ONLY FOUR generate this error. I have tried copying one of the "good ones" over the bad ones.. no change.
I tried putting an extern.. line for the external function just above the function calls. No change.
I commented out these 4 lines to verify: I am not out of flash, and I am not out of RAM.
Help!
Show Less