New to Modus and stepping thru training. Working on the PWM to GPIO lab.
I get an error othat it cannot find the Cy_TCPWM_MyPwm_Init funtion.
Where did the DeviceC onfigurator (Ver 3.10)create this function?
I have a design that needs to support USB audio class and an HID generic class simultaneously, are there any examples on USB descriptor design? especially using the USB Configuration tool.Show Less
USB_Audio_Device_FreeRTOS sample project of CY8CKIT_062S2_43012 is targeted for AK4954 codec. How to modify the project for WM8960 codec if the mezzanine card is CY8CKIT-028-SENSE?Show Less
Dear Sirs and Madams,
We are using the LIN sample project on Github as a reference.
mtb-example-psoc4-lin-slave project URL
Using the "make getlibs" command and "make eclipse" command, We successfully built and confirmed the operation.
However, there is an unknown point in this project.
When We confirm for "Device configurator", it is not checked under "Peripherals" and "Pins".
If it is written in the "resource_ map.h" as shown below, is it possible not to check the corresponding "Peripherals" and "Pins" checkboxes in the device configurator?
For example, if you check the check boxes for pins P3, P3, P3, P3 and P2, it will not work properly.
Also, when We would like to use LIN communication in Modus Toolbox , is it possible to use it only if it is described by such a "resource_map.h"?
Please tell us about the relationship between "Device Configurator" and "resource_map.h" in the this "mtb-example-psoc4-lin-slave project".
I opened two USB_Audio_Device_FreeRTOS projects for two eval boards: CY8KIT-062S2-43012 and CY8CKIT-062-WIFI-BT.
CY8CKIT-062-WIFI-BT board works well. But Windows has "USB device not recognized" error for CY8KIT-062S2-43012. How to fix this error?Show Less
Previous projects have been developed with V2.2, and future projects are ready to be developed with V2.4.
Now these two versions of modus are installed on the same PC, but when opening the previous project build with Modus V2.2,it is found that Modus is compiled with V2.4 GCC. How can we solve the problem of the coexistence of the two versions?
I have a posc6 cm4 app that when I allocate just a few hundred more bytes of static variables, the linker fails.
The error is:
COMPONENT_CM4/TOOLCHAIN_GCC_ARM/cy8c6xx7_cm4_dual.ld:318 cannot move location counter backwards (from 08046878 to 08046800)
collect2.exe: error: ld returned 1 exit status
Ironically, the PROGBITS feature doesn't run if the linker fails, so you can't see unless you go back to the smaller size. When you do it prints:
| .data | 0x0800228c | 7820 |
| PROGBITS | 0x08004118 | 1 |
| .cy_sharedmem | 0x0800411c | 12 |
| .noinit | 0x08004128 | 15572 |
| .bss | 0x08007e00 | 255208 |
| .heap | 0x080462e8 | 1304 |
| .cy_app_signature | 0x100fff00 | 4 |
The variable I am trying to grow in an uninitialized struct with an member array, so it should be in the .bss section which is huge, so I suspect that general understanding is wrong. I can't figure out why the linker is failing or how to change it. All the advice on this forum does not appear relevant for Modus Toolbox 2. 4
I am using the DFU linker script (dfu_cm4_app1.ld) from the BLE DFU example.
Please suggest where to look and what to change.Show Less
I am trying to create a new application using the "Porcupine wake word demo". The demo will not create with the following error:
ERROR: Commit/tag/branch "v2.1.1" does not exist.
: Check that the commit/tag/branch in the .mtb/.lib file is valid.
: If working offline, check that your offline content is up-to-date
: Script : C:/Users/mypath/ModusToolbox/tools_2.4/make/getlibs.bash
: Bash path : /usr/bin/bash
: Bash version: 4.4.12(3)-release
: Exit code : 1
: Call stack : trap_exit error perform_git process_mtb extract_data find_mtbs main
make: *** [C:/Users/mypath/ModusToolbox/tools_2.4/make/getlibs.mk:121: getlibs] Error 1
Project "Picovoice_Porcupine_Wake_Word_Demo_1" failed to create.
"make getlibs" failed.
Failed to create and export "Picovoice_Porcupine_Wake_Word_Demo_1" application.
Any ideas on how to fix this?