PSoC™ Creator & Designer Forum Discussions
Hello all and merry Christmas,
I am building a proprietary tool to flash PSOC semiconductors of different interfaces using the bootloader and bootloadable components. I've successfully remotely flashed using the bootloader and a github tool cyflash that allows me to easily flash from my computer's command line. However, there is an annoying step in this process:
To generate the cyacd file, I have to go in to PSOC, copy my original project, build, add the bootloadable component, find hex and elf file, build again to generate the .cyacd file. In terms of a long term project I kind of want to do this automatically. Therefore, I was wondering if PSOC creator had a command line tool I can learn so that I can write a script that does this to generate the cyacd for me more quickly. Thanks!
Show LessHello,
I am facing a serious problem in installing PSoC Programmer to Windows10.
Installation stops with the message "The wizard was interrupted before PSoC Programmer could be completely installed.".
It was actually hard to notice that installation was failed because the title says "InstallShield Wizard Complete".
Failed installation leaves program files in c:windows/program files(x86)/cypress and shortcuts in start menu although the PSoC Programmer can not run.
Nothing comes up on screen when clicking the PSoC Programmer from shortcut nor directly choosing the exe file.
I have tried installing v3.22.2 from CD and v3.29.0 from cypress web site but both fail in same way.
I also tried uninstalling and reinstalling but they do not show up in the installed application list.
I used Microsoft Installtion Troubleshooter. It showed them in the list but uninstalling them could not help the interruption.
I followed the information about uninstallation of Cypress Update Manager but the interruption still remianed.
I tried changing the Windows security though it does not help either.
Please help me installing it.
Best Regards,
Andy
Show LessI have some of the early cheap TFT displays, 240 x 320. I have been able to get them up
and running on Arduino, but vastly prefer doing it on a PSOC 4 because of other project
goals. I found the attached project. It used a bootloader, which I deleted off the project
as I am using pioneer type boards, both PSOC 4 and 4M.
In all cases I see a blank display. Tried on both 4 and 4M boards
SCK levels, configed in PSOC project as R Pullup, do not look good at all. Same
true for MOSI coming out of the PSOC. So I set MOSI out of the PSOC as strong
drive, that cleaned it up. There are no other chips sharing MOSI. But of course I cannot do that
to SCK.
So wondering if anyone has gotten this to run on PSOC ? As evidenced by the project
I found on web.
Display controller is ILI9341. See attached pinout.
Regards, Dana.
Show Lessi 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 Less