Hi,
I'm trying to add a filesystem using emfile or littlefs on my cyw43907 firmware using mtb.
It seems it's not currently supported. It fails at the first include: for example #include "lfs.h" for littlefs
What's the best way to integrate a filesystem on cyw43907 with modustoolbox?
Thanks,
Cédric
Show LessHello,
when I add svd file to see the peripheral register,every port (port0 to port14) has the same address.
※modus version is 2.2
But in another version(2.3),GPIO shows a correct address .
Was it a bug in version 2.2 Or I did a wrong config?.
Show LessHi all,
I have to read the frequency of a square wave around 500kHz (50%).
What's the best way?
Can it be done with the Timer (HAL) by reading the width of the positive part of the wave?
https://infineon.github.io/psoc6hal/html/group__group__hal__timer.html#subsection_timer_snippet_1
Thank you
Show LessI use eeprom middleware on an PMG1-S3. When putting code and include inside main I just have to define my include like this
#include "cy_em_eeprom.h"
When making an c and a h file to collect my eeprom related methods I have to include like this
#include "..\mtb_shared\emeeprom\release-v2.10.0/cy_em_eeprom.h"
or I have to set include path in file property to ..\mtb_shared\emeeprom\release-v2.10.0/ in the file I do the #include.
main.c does not have include path set in properties. Why is this different ? Did I miss something ?
Show LessHi,
I'm trying to make a very low power firmware for a cyw43907 board based on the dev kit design. I have some issues finding example and implementing the low power techniques.
The few example I found were only for wiced. And the templates in modustoolbox unfortunately do no use powersave.
Are there examples or doc somewhere for cyw43907 and powersave?
Thanks,
Cédric
Show LessI would really like to migrate my PSoC Creator 4.4 projects to ModusToolbox, but it still does not support the PSoC 4200 family because of the PSoC 4's UDB blocks, as far as I can tell. PSoC Creator is really showing its age and has not been updated since October of 2020.
Is full PSoC 4200 support planned for ModusToolbox, and if so, when can we expect it?
Show LessHi,
"CapSense Configulator" and "CapSense tuner" have been released for debugging touch sensitivity.
On the other hand, what are the monitoring and tuning tools in ModusToolbox for general-purpose ?
Best regards,
Kazunari Hayashi
Show Less
Hello,
the retarget_io redirection suddenly no longer works on my laptop. I have a simple program LED blinking with text output. The flashing of the leds works, but the texts are not displayed on the terminal. I've compared many settings, but I can't find the problem.
Can someone help
Board: CY8CKIT-062-WiFi-BT
ModusToolbox 2.4
....
[ 76%] [######################## ] [ Programming ]
[ 81%] [######################### ] [ Programming ]
[ 88%] [############################ ] [ Programming ]
[ 97%] [############################### ] [ Programming ]
[100%] [################################] [ Programming ]
wrote 45568 bytes from file D:/ModusToolbox/Workspace/Blinking_LED/build/CY8CKIT-062-WIFI-BT/Debug/mtb-example-psoc6-empty-app.hex in 1.614849s (27.557 KiB/s)
** Programming Finished **
** Program operation completed successfully **
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Info : SWD DPIDR 0x6ba02477
shutdown command invoked
Info : psoc6.dap: powering down debug domain...
Hello,
I am converting my project to C++ and I don't want to use exceptions. I added the compiler flag "-fno-exceptions" (which is actually already used by default) and I wanted to verify that I can check for a nullptr instead of having an exception thrown. I implemented the following:
while (true) {
void *p = operator new(100000000ul, std::nothrow);
// int32_t* p = new (std::nothrow) int[100000000ul]; // also tried
if (p == nullptr) {
break;
}
}
Unfortunately `p` never ends up being a nullptr. After the first loop, the application jumps to Cy_SysLib_ProcessingFault while(true){} in cy_syslib.c.
So there is no way for me to manually handle this type of memory allocation error. The same code works fine when I compile with gcc for my computer. I attempted different C++ version flags too.
My setup:
Micro: CY8C6245LQI-S3D02
Tools: ModusToolbox v2.4 using both gcc 10.3.1.81 and 11.2.1
DevEnv: Ubuntu 20.04, command-line build
Any help would be much appreciated!
Show LessHi ~ Receiver,
In the past, we used PSoC Creator to design MCU peripheral. By using PSoC Creator GUI, we can easily initial MCU peripherals.
Now, if we are forced to use MTB to develop PSoC 6 we will meet many difficulties.
For example, in the attached file we can see a TopDesign picture.
It has a I2S block, filp-flop, DMA and inverter blocks, etc.
If I want to use MTB to achieve this TopDesign,,,
How should I start ?! Please kindly guide me.
Thank you so so much.
Show Less