PSoC™ 6 Forum Discussions
1、I am using CY8C6244LQI-S4D82 now
2、I want to encrypt the program to prevent theft
你好 我现在用的 CY8C6244LQI-S4D82 ,如果 其他人 盗取 芯片程序,然后 反编译,有什么措施来防止这些吗 ?
不胜感激
Show LessHello,
I have installed the latest version of the ModusToolbox and try to create a "New Application".
Usually I should get a list of kits for selecting the one I want to use. But unfortunately the process stops with the following error message:
Loading the manifest data
Found environment variable CyManifestLocOverride=C:/Users/unitj001/.modustoolbox/manifest.loc
Loading super manfiest files from all sources
Getting manifests from remote and/or local sources
Processing system manifest 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
Downloading super manifest file 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
Finished loading super manifest files from all sources
Finished download of file 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
Starting to parse super manifest with URL 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
Finished parsing super manifest with URL 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
Downloading manifest file 'https://github.com/Infineon/mtb-ce-manifest/raw/v2.X/mtb-ce-manifest.xml'
Downloading manifest file 'https://github.com/Infineon/mtb-ce-manifest/raw/v2.X/mtb-ce-manifest-fv2.xml'
...
Finished download of file 'https://github.com/memfault/mtb-memfault-mw-manifest/raw/main/mtb-memfault-mw-manifest-fv2.xml'
Finished download of file 'https://github.com/sensiml/sensiml-mw-manifest/raw/main/sensiml-mw-manifest-fv2.xml'
Finished loading the manifest data (2133 ms)
Loading the device db
fatal: unable to access 'https://github.com/Infineon/device-db/': error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none
INFO:Using the executable path for the tools directory.
ERROR:there was an error retreiving the asset 'https://github.com/Infineon/device-db' commit 'release-v4.3.0' - fatal: unable to access 'https://github.com/Infineon/device-db/': error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none
ERROR:Global asset download of device-db loading completed with error.
ERROR:The asyncStepComplete failed for LoadFlag DEVICE_DB.
3 error(s), 0 warning(s)
I think that I followed the installation guide correctly.
I've set the environment variables like this:
The different directories do exist, but the manifest.loc file does not.
The problem occurs with and without VPN connection on my company notebook (Windows 10).
I don't have any problems on my private notebook (Windows 11).
Is there anything else I should check?
Show Less
Hello,
just wanted to let cypress/infineon and the community know that there is an linker/makefile-config mismatch of the CY_CORTEX_M4_APPL_ADDR which leads to a crash / not starting of the CM4 core.
In contrast to definitions of the other boards, the following directory lacks a COMPONENT_CM4/*/linker.ld file, so that the default of FLASH_CM0P_SIZE of 0x20000 is used:
The Makefile in proj_cm0p/Makefile states:
DEFINES+=CY_CORTEX_M4_APPL_ADDR=CY_FLASH_BASE+0x4400U
so the CORTEX_M4_APPL_ADDR is calculated wrong ( it should be 0x20000U).
https://github.com/Infineon/mtb-example-psoc6-dual-cpu-empty-app/blob/master/proj_cm0p/Makefile
It took me some time to find this bug. I hope it will be corrected soon by adding a COMPONENT_CM4/*/linker.ld file to the git.
Greetings,
Matthias
Show Less
Hello,
I'm using a CY8C6247FDI-D32 interfacing with an external NAND flash over QSPI. After running our application which does writes and reads for several hours, the call to the cyhal_qspi_write() fails with this error: CYHAL_QSPI_RSLT_ERR_TIMEOUT. Looking through the driver, it is failing here. I increased the timeout from 10ms to 30ms, but it still fails. Can you suggest any ideas to investigate further:
Hi ,
How to enable wifi direct function based on Modus3.0? I could not find API.
Best regards!
Jenny
Hi. I'm trying to compile a project for the PSoC6. I use mtb concpetion and modustoolbox version 3. I listed the external repo that I need in my project using the mtb files. For example, CoreHTTP library.
After using make getlibs command all the dependency are ready for me to be compiled. When I issue make build command it starts to compile the project. It seems it generates compile_commands.json and then proceed it to compile. CoreHTTP library contains the directory test that is unit tests actually for this library and I don't need to compile these source files in this test directory.
So my question is how to avoid this behaviour and point somehow to the compilation process that I don't need to proceed this files in the test directory?
Show LessHello,
I'm developing SPI slave today. The hardware is no CS pin, only MOSI and CLK. And the function only send data from the SPI master to the SPI slave, one single slave. May I ask how to configure the driver in this case, or whether such a function can be realized?
Best regards,
Forward.
Show LessDear all,
the PSoC6 has a 5.6 kOhm pull-down resistor. I was wondering if this one can be used as the R2 in a voltage divider to enable a 5V analog input. Calculating a proper R1 value leads to 2.8 kOhm.
Why I would like to use the pull-down resistor? because I would like to use 16 input channels and saving resistors would be great.
The real question is. Would it work? If I programm the pins as analog inputs with pull-down resistors, are they set to this setting from power up? Anything else might destroy the pins right?
Any help is welcome.
Show Less
Am trying to write and read through UART, but while reading from UART the length automatically becomes 0. So the cyhal_uart_read() function is failing to read the data. Here is the code am using for reading the data.
len=7;
result=cyhal_uart_writable(&obj);
result = cyhal_uart_write(&obj, buff, &len);
vTaskDelay(100);
result=cyhal_uart_readable(&obj);
result = cyhal_uart_read(&obj, readbuff1, &len);
vTaskDelay(500);
vTaskDelay(100);
I try to add OTA to my app ,I have board CYSBSYSKIT-DEV-01.
The OTA AWS exmple ask to use mcuboot basic exmple.
The mcuboot exmple not compailed , the error i got:
source/main.c:50:10: fatal error: cycfg_clocks.h: No such file or directory
50 | #include "cycfg_clocks.h"
Then I tried to copy the code to the "Dual-CPU_Empty_PSoC6_App" example code . but I still didn't manage to run this OTA example .
There is exmple code for OTA that support my board and I can run without touching the code?
Show Less