DAVE™ Forum Discussions
Any Infineon resources that you can recommend me to start to work with XMC4000 uC?
In the training section of this community, there is only links to the new PSoC62 family.
Thank you in advanceShow Less
I'm using a XMC4700 / XMC 4800 Relax Kit Series-V1.
I've got the "FATFS Example for XMC47" from here (https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html) running without any problems in debug mode.
But I also have to use RTOS. So I open the FATFS_0.ui (FATFS_EXAMPLE_XMC47/DAVE/MODEL/APPS/FATFS/v4_0_14/Uimodel/FATFS_0.ui) and there I tick the box "Use RTOS".
Then in the DAVE CE perspective I click "Generate Code" and then "Debug".
This gives me several Error messages but uncommenting lines 72 to 82 in the file FATFS_EXAMPLE_XMC47/Dave/Generated/CMSIS_RTOS_RTX/INC/CMSIS_os.h will somehow solve these problems. (I found this solution here: https://community.infineon.com/t5/DAVE/Enabling-RTOS-in-DAVE-examples-breaks-them/td-p/309073)
After this I am able to start a debugging session. But the code does not run properly, it gets stuck somehow and when I press "pause" the FATFS_EXAPMLE_XMC47/Startup/startup_XMC4700.S file opens up marked at line 314. This is where the exception handlers are defined.
Using breakpoints, I found that line 136 in FATFS_EXAPMLE_XMC47/main.c is the last line in the main file that gets executed.
Debugger Console says:
```Program received signal SIGTRAP, Trace/breakpoint trap.
VADC0_G3_3_IRQHandler () at ../Startup/startup_XMC4700.S:314
314 b .```
I append a screenshot with most of the referenced information visible.
I would be happy to receive any help, thanks.
Please let me know if you need further information to help me solve this problem.
I'm trying to use the LWIP apps in DAve (4.4.2) with the RTOS option on the XMC4700 relax kit. It works well when I select RTX as OS and add the requires user threads but I can't make it works whit FREERTOS selected.
Any Idea of what I should do to use FREERTOS?
Regards, Show Less
You should see an update available notification next time you open DAVE4.
The update site updates DEVICE_PACK to v2.2.10, which as a major change includes new version of XMCLib v2.1.24 (solving issue https://www.infineonforums.com/threads/6804-XMC-Lib-I2C-error-in-v2.1.22) and CMSIS v5.6.0.
Additionally several device descriptions have been fixed and support for XMC1404_Q40 is added.
More details in attached release notes Show Less
Using the XMC4400, we have two separate programs:
A bootloader program that starts at 0x0800 0000
Our main App that starts at 0x0800 4000
I want DAVE to:
1. Erase the entire chip
2. Program the bootloader on chip
3. Program the app on chip
Right now, if I program the App, it erases the entire chip first (which I don't want, because this also erases the bootloader). Is there a way to get DAVE to program .hex files without erasing the chip first?Show Less
I am using the Micirum Microcontroller probe for real-time data monitoring for XMC Boot 1400 hardware board.
We developed a code in dave ide and generate the elf file and integrate it with Micirum Microcontroller probe software through USB.
But when we click on the run button, then it is showing that the system cannot find the path specified.
Please help how to solve this issue.Show Less
I need to connect external SDRAM IS42S16400F to XMC4700F144 via EBU. On PCB I've used the same XMC pins as are used on XMC4500 hexagon and on 4800 Automation boards.
For programming I'm using DAVE version 4.5.0 and DAVE APPs that came with it. I've also downloaded XMC_Peripheral_Library_v2.1.24.
Now I have to find a way to "incorporate" my SD RAM into existing Dave solution. I've read all 5 therads in Dave community that can be found using search phrase SDRAM, but I can't find the answers that I need.
I have a few questions:
1. EBU APP:
Please correct me if I'm wrong, but as far as I understand there was an "EBU001" app in previous version of Dave, but in version 4 it does not exisit any more. So, is there many other way to mark all pins used by SDRAM as "used" or "connected" in Pin Mapping pespective? I need to change some I2S pins in order to faccilitate RAM.
2. Include XMC_Peripheral_Library code into Dave
In library I've found code for using SDRAM with EBU. I've followed instructions in main_xmc4.txt on how to import example into Dave, but nothing noticable had happened. The only differnce is that I can not import it anymore, becouse Dave writes that "some projects canot be imported becouse they alread exist in the workspace".
I'm stucked at this point right now. I don't know where are these "projects", niether did I noticed any difference in git. I'm not sure what exactly happened.
3. accesing values in SDRAM
I was analyzing code in "main.c" from "examples\XMC4800_series\EBU\EBU_SDRAM" folder and I've noticed that memory is accessed only through pointers, as for examle "value = *(volatile uint32_t *)(mem_add);"
I sopose that an ordinary variable or array can be also declared somewhere in SDRAM? Or not?
Maybe these are some newbie questions, but I will still apreciate any answer.
Thanx and best regards, martinShow Less
I'm trying to run the sample "200 W Transmitter_Firmware" that comes with "Würth Elektronik 200W Development Kit",
but I get the following error.
What are the possible causes?
・Würth Elektronik 200W Development Kit
To begin programming my development board that has an XMC1302, I downloaded DAVE, SEGGER J-Link, and MemTools. I initially tried programming by configuring things in the DAVE debug settings, like changing the executable lines for the GDB J-Link. After, I tried going into the SEGGER J-Link files and attempting to dictate what device I am trying to program to. As of right now, I am working with MemTools, changing the BMI, and trying to switch it out of its default asc_bsl to the debug state. In Dave, the debugger is saying that I am still not in the right BMI, and when trying to compile and debug the code, I am running into the error that says "Could not determine GDB Version after sending," which I had set it as J-Link GDB ServerCL. Any advice on how to fix this?