Software Forum Discussions
Browse the Community
ModusToolbox™
The ModusToolbox™ forum includes discussions regarding multi-platform development tools and a comprehensive suite of GitHub-hosted firmware libraries accompanied by thoroughly tested code example applications.
DAVE™
PSoC™ Creator & Designer
Discussion forum regarding PSoC Creator & Designer Software topics.
Wi-Fi Bluetooth for Linux
AURIX™ Development Studio
The AURIX™ Development Studio is a free of charge Integrated Development Environment (IDE) for the TriCore™-based AURIX™ microcontroller family. It is a comprehensive development environment, including Eclipse IDE, C-Compiler, Multi-core Debugger, Infineon low-level driver (iLLD), with no time and code-size limitations that enables editing, compiling, and debugging of application code. Combined with numerous code example projects, the IDE can be used to evaluate the powerful architecture of the AURIX™ microcontroller family. It supports Microsoft Windows 10 as a host operating system (OS).
Featured Discussions
Hello, ModusToolbox can't network to download information, using ModusToolbox_URL_Modifier_v1.7(IFX-TEST) didn't solve the problem, and following the PDF's procedure resulted in the following result.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/ModusToolbox/ModusToolbox-URL%E8%A7%A3%E5%86%B3modus%E8%81%94%E7%BD%91%E9%97%AE%E9%A2%98/td-p/487037
Show LessHi Team,
We are finding a way to backport Cypress 4373 wireless chip on hardware with USB interface on linux kernel 4.9, after compiling the drivers we get: compat.ko, cfg80211.ko, brcmutil.ko, brcmfmac.ko.
Then, we inserted all modules in sequence (compat.ko, cfg80211.ko,brcmutil.ko and brcmfmac.ko)and got the error "
brcmfmac: brcmf_fw_alloc_request: Unknown chip BCM57005/42"
Then we checked the source code and found out that it jumped to the timeout error here:
if (!brcmf_usb_ioctl_resp_wait(devinfo)) {
usb_kill_urb(devinfo->ctl_urb);
ret = -ETIMEDOUT;
} else {
memcpy(buffer, tmpbuf, buflen);
}
Here is the dmesg log:
[ 2.111084] usb 1-2.2.1: new high-speed USB device number 5 using tegra-xusb
[ 2.131786] usb 1-2.2.1: New USB device found, idVendor=04b4, idProduct=bd29
[ 2.131792] usb 1-2.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.131796] usb 1-2.2.1: Product: Remote Download Wireless Adapter
[ 2.131799] usb 1-2.2.1: Manufacturer: Cypress Semiconductor Corp.
[ 2.131802] usb 1-2.2.1: SerialNumber: 000000000001
...
[ 271.579551] compat: loading out-of-tree module taints kernel.
[ 271.588325] Loading modules backported from Linux version v5.15.58-2023_1128-0-g4dfc3616ef88
[ 271.588331] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[ 297.827391] brcmfmac: brcmf_usb_probe: Enter 0x04b4:0xbd29
[ 297.832904] brcmfmac: brcmf_usb_probe: devinfo->ifnum=0
[ 297.838151] brcmfmac: brcmf_usb_probe: Broadcom high speed USB WLAN interface detected
[ 297.846076] brcmfmac: brcmf_usb_probe_cb: Enter brcmf_usb_probe_cb
[ 297.852296] brcmfmac: brcmf_usb_dlneeded: Enter brcmf_usb_dlneeded
[ 297.858482] brcmfmac: brcmf_usb_dlneeded: 814: id.chip=0xdead
[ 299.892668] brcmfmac: brcmf_usb_dl_cmd: brcmf_usb_dl_cmd:797: ret=-110
[ 299.899643] brcmfmac: brcmf_usb_dlneeded: 816: id.chip=0xdead, id.chiprev=0xffffff80
[ 299.907596] brcmfmac: brcmf_usb_dlneeded: 819: chipid=0xdead, chiprev=0xffffff80
[ 299.915104] brcmfmac: brcmf_usb_dlneeded: chip 57005 rev 0xffffff80
[ 299.921710] brcmfmac: brcmf_usb_dlneeded: brcmf_usb_dlneeded: return true
[ 299.928821] brcmfmac: brcmf_usb_probe_cb: brcmf_usb_probe_cb: bus->chip=57005, bus->chiprev=-128
[ 299.937957] brcmfmac: brcmf_usb_prepare_fw_request: brcmf_usb_prepare_fw_request: devinfo->bus_pub.devid=57005, devinfo->bus_pub.chiprev=-128
[ 299.950973] brcmfmac: brcmf_fw_alloc_request: brcmf_fw_alloc_request: chip=57005, chiprev=-128
[ 299.960190] brcmfmac: brcmf_chip_name: brcmf_chip_name: id=57005, rev=-128
[ 299.967423] brcmfmac: brcmf_fw_alloc_request: Unknown chip BCM57005/42
[ 299.974578] brcmfmac: probe of 1-2.2.1:1.0 failed with error -12
[ 299.980862] usbcore: registered new interface driver brcmfmac
Please help
Thank you
Best
Phong
Show LessHello,
I see the build warning as below in the latest MTB 3.2 version. Is this an issue that can be fixed by Infineon or else it is upto the ARM?
-I../mtb_shared/wifi-host-driver/release-v3.1.0/WiFi_Host_Driver/src/include -I../mtb_shared/wpa3-external-supplicant/release-v1.1.0/include -I../mtb_shared/wpa3-external-supplicant/release-v1.1.0
../mtb_shared/mbedtls/mbedtls-2.25.0/library/ssl_tls.c: In function 'ssl_calc_finished_tls_sha384':
../mtb_shared/mbedtls/mbedtls-2.25.0/library/ssl_tls.c:3267:5: warning: 'mbedtls_sha512_finish_ret' accessing 64 bytes in a region of size 48 [-Wstringop-overflow=]
3267 | finish( &sha512, padbuf );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Regards,
Karthik
Show LessHi guys,
It would be great if you could update PSoC Creator to be DPI-aware. It's actually really close already, so it shouldn't be too much work! Currently it's not declared as DPI-aware to Windows, so the whole thing appears blurry - not very professional! Forcing DPI-awareness, though, shows that most of your GUI sizing is already done with relative font sizes, so it's actually very close to a polished application. There are a couple of issues (e.g. icons seem to have hard-coded pixel sizes, listviews seem to have hard-coded pixel item heights) but I really don't think that fixing these up would take too much of your developers' time.
Laptops and tablets, particularly high-end ones (Microsoft's Surface Pro line and almost all of Apple's current models) are rapidly moving to high DPI displays, so this is only going to affect more and more users as time goes on.
Cheers
Jarrad
Show LessI would like to use Modustoolbox to develop rt thread project and was trying to follow the guide https://community.infineon.com/t5/Knowledge-Base-Articles/Porting-RT-Thread-to-ModusToolbox/ta-p/664401
While the guide is awesome demonstrating rt thread works, It does not have enough details of steps and setup for me.
I tried creating a capsense project, import rt thread into the project, removed all unnecessary srcs. But I got stuck with many weird libc & toolchain errors with the default gcc-arm compiler on Linux, like time_t is unknown typename and false/true/bool is undefined.
This first error is kinda "fixed" by explicitly telling eclipse to include the newlib header dir. The second is not. It is really weird and the IDE can successful locate those headers.
Could anyone help me out with this?
Show LessHello,
I want to read the 1YN Bluetooth transmit power and write to it. How can I do this with the `hcitool`?
I'm using CYW4343A2_001.003.016.0031.0000.1YN.hcd firmware.
As far as I know CYW43439 has a maximum TX power of 8dB. If so is the following output wrong?
# hcitool -i hci0 cmd 0x08 0x004b
LE Read Transmit Power (0x08|0x004b) ncmd 1
Status: Success (0x00)
Min Tx power: -16 dBm
Max Tx power: 12 dBm
Thanks for all the help,
Mesih
Show LessLast few days when I zip my project and sent it to my friend, he found it error to build the project. It reported "No AURIX device is configured". Then I tried to re-sent the project for several times but the error still exist.
We also sent the project to others, but they all failed to build it. It seems that the project can only be built successfully in my computer. I read a discussion report the same question earlier and I agreed that it is a very 'early' compiling error because it seems like it is raised in the preprocessor phase of the compiler.
We both use ADS version 1.9.20 and i am sure that the project files are totally same. The error happens only because we use different computers.
Update:
I created a new project and send it to my friend again, but he still fails to build it. I will attach this project below and I wonder if someone could build it successful.
This problem has been bothering us for a few days now. Any help is appreciated!
Show LessStill getting used to the newer ModusToolbox apps, as we had used PSoC Creator for years. I created a new project based on the MPN using the BSP Assistant app. This project uses the CapSense library to create a touchpad. Using the CapSense Configurator app, I successfully assigned each of the Rows/Columns to a specific GPIO. This assignment was reflected in the Device Configurator app. However, now I would like to add a few more rows/columns to my touchpad. I labelled these GPIO in the "Pins" tab of the Device Configurator. However, these new GPIO don't appear in either the Device Configurator under the Peripherals>System>CapSense>MSC 0 Parameters window, nor do they appear in the CapSense Configurator under Scan Configuration> Pin. It almost seems like I am missing a step of either importing the Device Config to the CapSense Configurator or vice versa.
Here you can see I have configured the pin at Port 5, Pin 6 same way as the others and named it E45:
But when I then go to the Peripherals tab and try to assign Row 7 to it, it does not appear in the drop-down list:
If I check the CapSense Configurator, it also does not appear in the drop-down list:
None of the rest of the GPIO that I added show up either. What am I doing wrong?
Show Less
How to configure 1MW in DTM mode without using CMW500 tester?
Thanks,
Sowmya
Hi all,
Would anyone know the purpose of the 't_offset' parameter in the following function please ? It is not documented the v4.0.6 App help.
ENCODER_POSIF_GetRotorAngle ( ENCODER_POSIF_t *const HandlePtr, uint32_t t_offset )
Thanks very much
Show Less