Featured Discussions
I'm trying to install ModusToolbox on Linux (Ubuntu 22.04) but I fail to get past the login process.
I originally posted a reply to this thread as it looked similar to my issue but was asked to create a new thread instead.
I downloaded "ModusToolboxSetupInstaller_1.0.0.468_linux_x64.deb" from softwaretools.infineon.com and launched it.
I get the following log messages:
After clicking on "Login" nothing happens and I get the following log:
I don't know how to solve this issue as I don't even see a login prompt. I only get the error "Error: Failed to Login: 'process failed to start'"
Show LessHi,
I have designed a custom PCB with STM32H735 MCU and due to EoL and current unavailability of older HyperRAM S70KL1281 (that was originally used on ST-Micro's Discovery Kit) I decided to choose new HyperRAM S70KL1282. It's wired the same way as on discovery kit (including RWDS signal) and I was carefull about OSPI signal traces length matching.
I set up the MCU OSPI/HyperBus peripheral according to STM example and I use existing HyperRAM driver:
https://github.com/STMicroelectronics/stm32-s70kl1281
I fixed the initial latency from 6 to 7.
I can successfully read the device ID words and config reg 0,1.
The problem is that when I write some data at address 0 and read it back I found the data pattern writen with 8 bytes offset from the address 0 even I use always address 0 as argument to the R/W functions. I also tried enable memory mapped mode and access the RAM via pointer but I still got this strange offset. I also tried to lower the OSPI frequency by divider down to 33MHz but still any change. Contrary the users of old memory chip S70KL1281 doesn't report such problems. They shared the OSPI peripheral configuration that I tried to use so setting on MCU side (master) should be the same but I still have the 8B offset. I cannot get S70KL1281 to try. Any idea what's wrong? Do I need to set something in CR0/1 differently than POR values? Here are some of my code and debug terminal output to describe the issue:
{
uint8_t buff[64]={0};
int i;
buff[0]=0xab; buff[1]=0xcd; buff[2]=0xef; buff[3]=0xaa;
if (S70KL1281_Write(&XRAM, buff, 0, 16)!=S70KL1281_OK)
printf("Failed to write to HyperRAM\n");
for (i=0; i<32; i++)
printf("%02X ", buff[i]);
printf("\n");
if (S70KL1281_Read(&XRAM, buff, 0, 32)!=S70KL1281_OK)
printf("Failed to read from HyperRAM\n");
for (i=0; i<32; i++)
printf("%02X ", buff[i]);
printf("\n");
if (S70KL1281_Read(&XRAM, buff, 0, 32)!=S70KL1281_OK)
printf("Failed to read from HyperRAM\n");
for (i=0; i<32; i++)
printf("%02X ", buff[i]);
printf("\n");
}
The memory address is 0 but I get this:
Ext. OctoSPI HyperRAM ID: 0C81 0001
Manufacturer: Infineon, HyperRAM 2.0, rowbits: 13, colbits: 9
AB CD EF AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
57 47 57 5D D5 D7 8C 15 AB CD EF AA 00 00 00 00 00 00 00 00 00 00 00 00 D5 D5 57 5F D5 D5 5F 75
57 47 57 5D D5 D7 8C 15 AB CD EF AA 00 00 00 00 00 00 00 00 00 00 00 00 D5 D5 57 5F D5 D5 5F 75
There's some garbage in first 8 Bytes (57 47 57 5D D5 D7 CC 15 - uninitialized memory?) followed by correct pattern AB CD EF AA and trailing zeros from buffer
And the memory mapped mode:
{
__IO uint32_t *mem_addr = (__IO uint32_t *)(OCTOSPI2_BASE);
int i;
if (S70KL1281_EnableMemoryMappedMode(&XRAM)!=S70KL1281_OK)
printf("Failed to Enable Memory Mapped Mode\n");
else
printf("Memory Mapped Mode Enabled\n");
mem_addr[0]=0xABCDEFAA;
mem_addr[1]=0x12345678;
mem_addr[2]=0;
mem_addr[3]=0;
for (i=0; i<48; i++); // a shot delay, 46 read ok, 47 read garbage
printf("%08lX\n", mem_addr[0]);
printf("%08lX\n", mem_addr[0]);
printf("%08lX\n", mem_addr[0]); // 57 45 57 5D = "WEW]"
for (i=0; i<32/4; i++)
printf("%08lX ", mem_addr[i]);
printf("\n");
for (i=0; i<32; i++)
printf("%02X ", ((uint8_t *)mem_addr)[i]);
printf("\n");
}
Output is:
Ext. OctoSPI HyperRAM ID: 0C81 0001
Manufacturer: Infineon, HyperRAM 2.0, rowbits: 13, colbits: 9
Memory Mapped Mode Enabled
ABCDEFAA - this read changes according to for loop short delay, for shorter times it reads ABCDEFAA, for longer times it reads 5D574557
5D574557
5D574557
5D574557 158CD7D5 ABCDEFAA 12345678 00000000 00000000 5F57D5D5 755FF5D5
57 45 57 5D D5 D7 8C 15 AA EF CD AB 78 56 34 12 00 00 00 00 00 00 00 00 D5 D5 57 5F D5 F5 5F 75
Please let me know other users of this memory chip if it works for you properly or not and on what MCU/platform.
Dear Mr\Mrs,
I tried to create a project starting of Modustoolbox for IAR embedded. Compiling is failing with this issue:
"Error[Li005]: no definition for "__iar_Initlocks" [referenced from C:\Users\emanuelebelpanno\mtw\Empty_PSoC4_App\Debug\Obj\TOOLCHAIN_IAR_13573725619442129044.dir\cy_clib_support_iar.o]"
I've tried to look for this function and it isn't present in the project. How Cam I solve this issue?
I'm using Windows 10, IAR embedded ARM 9.50.2.
Kind Regards,
EB
Show LessI have installed ModusToolbox 3.2 and wanted to create my first application using the USB on a XMC4500.
But I did not get far as the USB (device or host) is not in the list of peripherials. Why does Infineon not support the USB?
Does anyone have a working USB example for the XMC4500? I have tried using the USB driver supplied in the ARM/Keil µVision pack, but that does not work correctly and after 6 months the Infineon support has given up and closed my support case.
Can anyone help?
Show Less
In the end, the target array is still all zeros
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/TRAVEO-T2G/cyt4fbb7-%E4%BD%BF%E7%94%A8mdma%E5%A4%8D%E5%88%B6%E6%95%B0%E7%BB%84%E6%B2%A1%E6%9C%89%E6%88%90%E5%8A%9F%E6%98%AF%E4%B8%BA%E4%BB%80%E4%B9%88/td-p/724114
Show LessDo I need to download special software to program the microcontroller XMC4400-F100K512 BA? Is DSP software programming code applicable?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/XMC/XMC4400-F100K512-BA/td-p/722645
Show LessIs there a Dave App function or XMC function available that enables the connection of two pins to each other?
1. When evaluating applications using SOA diagrams for MOSFETs, is the evaluation done using SOA curve diagrams for Tc &Rjc conditions or for Ta &Rja conditions.
2. Does this ID pulse value in the specification have anything to do with the pulse width time? Or does it mean that this value cannot be exceeded for all single pulse current peaks, regardless of the pulse width time?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOSFET-Si-SiC/MOSFET-SOA%E5%8C%BA%E8%AF%84%E4%BC%B0%E9%97%AE%E9%A2%98/td-p/723975
Show LessThis BTS7004-1EPP, the output is connected to the DC motor driver chip, and then to the motor, in that case, this RGND removed and directly grounded will work, right? Thank you!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E6%99%BA%E8%83%BD%E7%94%B5%E6%BA%90%E5%BC%80%E5%85%B3/7004%E6%8E%A5%E5%9C%B0/td-p/723932
Show Less