I have imported a project that was written for another kit. I changed the target= in the makefile and changed the
Library Manager to my kit which is CY8CKIT-062S2-43012
it was CY8CPROTO-062-4343W
I try to build and I get 6 Errors as follows:
Description Resource Path Location Type
#error "MBEDTLS_PSA_ITS_FILE_C defined, but not all prerequisites" check_config.h /mtb_shared_2/mbedtls/mbedtls-2.22.0/include/mbedtls line 580 C/C++ Problem
make: *** [../mtb_shared/core-make/release-v1.9.0/make/core/main.mk:434: secondstage_build] Error 2 Nanodrone_II C/C++ Problem
make: *** [../mtb_shared/core-make/release-v1.9.0/make/core/build.mk:387: C:/PSoC6/Nanodrone-II_PSoC6-main/build/CY8CKIT-062S2-43012/Custom/ext/mtb_shared/mbedtls/mbedtls-2.22.0/library/aes.o] Error 1 Nanodrone_II C/C++ Problem
make: *** [../mtb_shared/core-make/release-v1.9.0/make/core/build.mk:387: C:/PSoC6/Nanodrone-II_PSoC6-main/build/CY8CKIT-062S2-43012/Custom/ext/mtb_shared/mbedtls/mbedtls-2.22.0/library/aesni.o] Error 1 Nanodrone_II C/C++ Problem
make: *** [../mtb_shared/core-make/release-v1.9.0/make/core/build.mk:387: C:/PSoC6/Nanodrone-II_PSoC6-main/build/CY8CKIT-062S2-43012/Custom/ext/mtb_shared/mbedtls/mbedtls-2.22.0/library/arc4.o] Error 1 Nanodrone_II C/C++ Problem
make: *** Waiting for unfinished jobs.... Nanodrone_II C/C++ Problem
not sure what the errors mean?
can anyone point me in the right direction so I can build this project.
makefile is attached
Steve KShow Less
ModusToolbox™ 2.4 is available now on Windows, macOS and Linux. The new software is packed with new features and improvements to the user experience. Here is a summary of the release but more details are available in the Release Notes.
We hope you like the sound of the changes we have made in this release. Please download and install it right away - it only takes a few minutes - because we are confident you'll enjoy it and it will help you make some great new products.Show Less
I am unable to install ModusToolbox. I get the bellow mentioned error.
I tried to install by Run as administrator but still received the error. I tried booth option Install for all users and Install for me only but in both cases I receive the same error.
I re-downloaded the setup also still receiving the same error.
I am a bit concerned to the amount of bugs modus toolbox / IDE has. I am working with version 2.3 and pdl 3.15.
starting a new project from the new application window right from the initial stage the code is compiling with zero error . This sounds great but if you you look at warnings you will see the is a red cross in the CMSIS on the cm4 header file where it actual cant find reference to SHP and IP in the __STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn) code segment
in main.C it has "cy_retarget_io.h" as a include , yet the IDE also cannot find where this is referenced this and list it as a unresolved inclusion .
Library paths is as it gets setup from the new application platform creation , i believe this is causing a lot of issues in code compilation
how do we resolve these default code errors?
I presently have thread aware debugging working the Modus 2.3 EClipse IDE on M4.
I have moved my app to M0 core, and trying to get thread aware debugging working. To keep things simple, I am not even starting the M4 core.
But it looks like the openocd target debug configuration has a number of settings that are still targeting M4.
I have been trying to change the debug configuration settings to make this work, no luck so far. Can you provide the right configuration for this debugging?
from looking at debugger output etc, I can see by default the debugger config is listening to port 3333 for M4, and port 3332 for M0. I have made that change (to port 3332) , as well as modifying this config setting from:
-c "psoc6.cpu.cm4 configure -rtos auto -rtos-wipe-on-reset-halt 1"
-c "psoc6.cpu.cm0 configure -rtos auto -rtos-wipe-on-reset-halt 1"
ZMOD4510 Air Quality sensor ( US082-ZMOD4510EVZ ) provides a standard Pmod™ Type 6A (Extended I2C) connection. This new standard was introduced last year. I can't find examples of how to connect the Extended I2C to the CY8CKIT-062S2-43012 board or any other similar PSoC6 boards.
Is Pmod Extended I2C the same as a standard I2C or is there some specifics to I2C Extended?
It looks like I have no influence on the optimization level when i change the:
"CFLAGS=" -Og,-O0 ,... and so on. in the make file. What i have to do exactly?
Change the Make file, save, recompile all ? Or i do missing something?
Do you have a step by step manuel to change optimization level?
for example: the "test" var is always optimized out: --> for my understanding this must not happen with -O0
uint8_t test = 0;
/* Initialize the device and board peripherals */
result = cybsp_init() ;
if (result != CY_RSLT_SUCCESS)
/* Enable global interrupts */
We completed the first, early-access release at the end of 2020. It features support for the XMC1400 (48MHz ARM Cortex-M0) and XMC4700 (144MHz Cortex-M4) devices, and includes a small set of Code Examples, kit BSPs and XMClib software plus support for programming/debugging via Segger J-Link and J-Link LITE (on-board debugger).
The production-ready release, which is expected in February, will add more Code Examples and extend the set of peripherals supported by the Device Configurator. Look out for more updates throughout 2021 as we add new features, device families and kit BSPs.
Want to try it out? It’s easy! The first set of devices are enabled by the ModusToolbox 2.2.1 Patch Release. Follow the instructions to install the patch on top of the 2.2 software. Then just launch the Project Creator, pick one of the following BSPs, choose a Code Example on the next page, and create your first XMC project.
We'd love you to give this software a try and send us some feedback. So if you have any questions or problems and (best of all) great ideas, please post here and I'll try to help. If you just want to read about the new libraries here are some links to the GitHub pages and documentation.
I develop a firmware with CYW920819EVB-02 demo board.
I would like to send the elf file by email to one person and he program the board.
I do not want to send the source code, just Elf or Hex file.
How can we program CYW920819EVB-02 demo board without complete ModusToolBox ?
Is there a simple program on Windows or Linux to program CYW920819EVB-02 with HCI COM port ?