DAVE™ Forum Discussions
DAVE™
Hi Infineon,
there is a bug at Dave4.4.2, at CAN app, the mask is truncated (Windows7/64):
there is a bug at Dave4.4.2, at CAN app, the mask is truncated (Windows7/64):
DAVE™
I have Dave 4.4.2. I need to build the DALI code for XMC 1400. i downloaded the sample code and would like to import to a project. but it says the cod...
Show More
I have Dave 4.4.2. I need to build the DALI code for XMC 1400. i downloaded the sample code and would like to import to a project. but it says the code is old.
What should I do?
Tanks for help
regards
sriram Show Less
What should I do?
Tanks for help
regards
sriram Show Less
DAVE™
Hello everybody,i recently upgraded to GCC8 according to this thread: https://www.infineonforums.com/threads/4645-Upgrading-GCC-in-DAVE4? Compiling wo...
Show More
Hello everybody,
i recently upgraded to GCC8 according to this thread: https://www.infineonforums.com/threads/4645-Upgrading-GCC-in-DAVE4?
Compiling works fine and during debugging the microcontroller stops at breakpoints that were defined before launching the debugging configuration (see attached screenshot). So far, so good.
What doesn't work anymore with GCC8 is launching the exact same debugging configuration without breakpoints and hitting the "suspend" button while the microcontroller is running. If i do this nothing happens, except for the "suspend" button to become grey and unclickable. The only option then is to terminate everything (see second attached screenshot).
From another example program with a blinking LED i know that hitting the suspend button doesn't stop the microcontroller. The LED keeps blinking. Surprisingly when i use the Segger JLink GDB console directly, suspending the microcontroller works fine.
Is this a known issue? Is there a workaround?
With GCC49 (comes as standard with DAVE) everything worked perfectly fine. I also tried other GCC versions. With GCC6 and newer the problem occurs. Until GCC54 everything works perfectly fine.
used software:
- Windows 10 64bit
- DAVE 4.4.2
- GCC8 2019 q3 (https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/8-2019q3-update)
- Segger JLink 6.50a
used hardware:
- XMC Link Isolated Debug Probe
- XMC4800-E196x2048
Thanks! Show Less
i recently upgraded to GCC8 according to this thread: https://www.infineonforums.com/threads/4645-Upgrading-GCC-in-DAVE4?
Compiling works fine and during debugging the microcontroller stops at breakpoints that were defined before launching the debugging configuration (see attached screenshot). So far, so good.
What doesn't work anymore with GCC8 is launching the exact same debugging configuration without breakpoints and hitting the "suspend" button while the microcontroller is running. If i do this nothing happens, except for the "suspend" button to become grey and unclickable. The only option then is to terminate everything (see second attached screenshot).
From another example program with a blinking LED i know that hitting the suspend button doesn't stop the microcontroller. The LED keeps blinking. Surprisingly when i use the Segger JLink GDB console directly, suspending the microcontroller works fine.
Is this a known issue? Is there a workaround?
With GCC49 (comes as standard with DAVE) everything worked perfectly fine. I also tried other GCC versions. With GCC6 and newer the problem occurs. Until GCC54 everything works perfectly fine.
used software:
- Windows 10 64bit
- DAVE 4.4.2
- GCC8 2019 q3 (https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/8-2019q3-update)
- Segger JLink 6.50a
used hardware:
- XMC Link Isolated Debug Probe
- XMC4800-E196x2048
Thanks! Show Less
DAVE™
Hi, I want to have 4 Groups of 3 Phase PWM (not SVM, without deadtime). Which App schould I choose? Timer? CCU4? (examples) How can I make Synchronisa...
Show More
Hi, I want to have 4 Groups of 3 Phase PWM (not SVM, without deadtime). Which App schould I choose? Timer? CCU4? (examples) How can I make Synchronisation?
Show Less
DAVE™
After a small break I'm beating my head against the wall again trying to get the HTTP_SERVER_RTOS_XMC47 example to work with FATFS. I've tried the FAT...
Show More
After a small break I'm beating my head against the wall again trying to get the HTTP_SERVER_RTOS_XMC47 example to work with FATFS.
I've tried the FATFS_EXAMPLE_XMC47 and that works, so the hardware is all good. The trouble is that if I add the FATFS to the HTTP project and get it to compile then it doesn't serve up anything, not even a 404.
Is there a better example or some more documentation on how to get this working? Show Less
I've tried the FATFS_EXAMPLE_XMC47 and that works, so the hardware is all good. The trouble is that if I add the FATFS to the HTTP project and get it to compile then it doesn't serve up anything, not even a 404.
Is there a better example or some more documentation on how to get this working? Show Less
DAVE™
Is it possible to customize interrupt callbacks ? For example when an interrupt occurs I want my_func to be called instead of IRQx_Handler.
DAVE™
Hello everybody,I have analyzed a little and found that PSRAM is used by the flash code (so called RAM code) and by the CMSIS RTOS it loads and execut...
Show More
Hello everybody,
I have analyzed a little and found that PSRAM is used by the flash code (so called RAM code) and by the CMSIS RTOS it loads and executes own code from the PSRAM therefore there is only 16-20 kb left.
Is there any way to allocate more stack? e.g. load RTOS to the RAM (even better to ROM)
Thanks,
madmat Show Less
I have analyzed a little and found that PSRAM is used by the flash code (so called RAM code) and by the CMSIS RTOS it loads and executes own code from the PSRAM therefore there is only 16-20 kb left.
Is there any way to allocate more stack? e.g. load RTOS to the RAM (even better to ROM)
Thanks,
madmat Show Less
DAVE™
I am using a the Relax XMC4800 Relax Ethercat kit. I have an example project with Ethercat and some stuff added. Tried to remove as much as possible. ...
Show More
I am using a the Relax XMC4800 Relax Ethercat kit. I have an example project with Ethercat and some stuff added. Tried to remove as much as possible. Had a PWM App to a LED that I removed since I want PWM to the PWM_BC and thought that might be the problem but did not help.
I try to add PWM_BC but all I get is "DAVE is not able to grant your last hardware resources request".
This is my first experience with XMC and Dave.
Can I get more information somehow? As to why it can´t.Or is there some kind of cleanup I need to do?
I tried doing a fresh project. Same kit. Just added PWM_BC and the newly released HALL_POSIF App. Then it works fine so there most be something blocking it in my other project but I don´t know what.
Picture overview of the project where I can't add the App
Picture of the fresh project where I managed to add it.
Any ideas why I can't add it? Show Less
I try to add PWM_BC but all I get is "DAVE is not able to grant your last hardware resources request".
This is my first experience with XMC and Dave.
Can I get more information somehow? As to why it can´t.Or is there some kind of cleanup I need to do?
I tried doing a fresh project. Same kit. Just added PWM_BC and the newly released HALL_POSIF App. Then it works fine so there most be something blocking it in my other project but I don´t know what.
Picture overview of the project where I can't add the App
Picture of the fresh project where I managed to add it.
Any ideas why I can't add it? Show Less
DAVE™
Hello,could you help me, I'm trying to write a program that's sending data with UART. With basic function Transmit (XMC4800 DAVE 4), everything works ...
Show More
Hello,
could you help me, I'm trying to write a program that's sending data with UART. With basic function Transmit (XMC4800 DAVE 4), everything works but I need to use function "printf". How can I set it up? I need a function or library.
P.S. I've looked at the rest of the topics, they don't have any working solution. Show Less
could you help me, I'm trying to write a program that's sending data with UART. With basic function Transmit (XMC4800 DAVE 4), everything works but I need to use function "printf". How can I set it up? I need a function or library.
P.S. I've looked at the rest of the topics, they don't have any working solution. Show Less
DAVE™
Hi,
I have made class c++ file. I want to use the c++ functions in main.c file but it is showing unknown type name error.
I have made class c++ file. I want to use the c++ functions in main.c file but it is showing unknown type name error.