DAVE™ Forum Discussions
text.format{('custom.tabs.no.results')}
Sort by:
DAVE™
Modustoolbox vs. DAVE
Solved
I read that Modustoolbox now starts to support XMC devices also. What plan does Infineon have for the future of this tool?Do you intend continuing su...
Show More
I read that Modustoolbox now starts to support XMC devices also. What plan does Infineon have for the future of this tool?
Do you intend continuing support of DAVE for XMC controllers, or is it intended to abandon DAVE and push Modustoolbox
to become the main tool for all the Infineon/Cypress microcontrollers in the near future? Show Less
Do you intend continuing support of DAVE for XMC controllers, or is it intended to abandon DAVE and push Modustoolbox
to become the main tool for all the Infineon/Cypress microcontrollers in the near future? Show Less
DAVE™
Hi there,i try to implement a simple GPIO-Interrupt on a 1404 but I have so Idea how to configure ERU and SSC via XMClib.Any hints/examples?The 1403-e...
Show More
Hi there,
i try to implement a simple GPIO-Interrupt on a 1404 but I have so Idea how to configure ERU and SSC via XMClib.
Any hints/examples?
The 1403-example does not work because the 1404 ERU seems to be totally different...
Best
Lars Show Less
i try to implement a simple GPIO-Interrupt on a 1404 but I have so Idea how to configure ERU and SSC via XMClib.
Any hints/examples?
The 1403-example does not work because the 1404 ERU seems to be totally different...
Best
Lars Show Less
DAVE™
Hi,New to DAVE.using a XMC 2GO connected to windows computer via USB.Chose menu Debug As DAVE C/C++ ApplicationReceived window as shown here.The error...
Show More
Hi,
New to DAVE.
using a XMC 2GO connected to windows computer via USB.
Chose menu Debug As DAVE C/C++ Application
Received window as shown here.
The error message is
Problem Occurred
Launching LED Debug (1) has encountered a problem
J-Link GDB Server failed
Could not connect to j-Link. Please check if plugged into USB port or Ethernet switch.
For more details see the jLinkGDBServerCL.exe
The XMC 2GO board does not appear in the Device Manager when connected directly to a USB port.
Could it be the cable?
Are there USB cables which provide only power but do not allow for communication and therefore, these devices do not show up in the Device Manager?
That I do not know.
As far as I understand, there should be an emulator on the XMC 2GO board (OBD). Since this cannot be accessed, the error message appears.
I did some research and found out that I could use the JLink.exe to try to connect via USB.
I get the SEGGER J-Link Commander Window.
This allows me to use the J-Link commands.
Using any command the same window appears as shown below.
I used also the latest version of J-Link V7.52d got the same problem.
As I understand the problem at the moment I need to access the emulator on the XMC 2GO board.
What configuration or procedures do I need to do to be able to access this emulator?
I could also be mistaken and there is a different reason.
Looking forward to the solution. It should not be that hard.
Thank you. Show Less
New to DAVE.
using a XMC 2GO connected to windows computer via USB.
Chose menu Debug As DAVE C/C++ Application
Received window as shown here.
The error message is
Problem Occurred
Launching LED Debug (1) has encountered a problem
J-Link GDB Server failed
Could not connect to j-Link. Please check if plugged into USB port or Ethernet switch.
For more details see the jLinkGDBServerCL.exe
The XMC 2GO board does not appear in the Device Manager when connected directly to a USB port.
Could it be the cable?
Are there USB cables which provide only power but do not allow for communication and therefore, these devices do not show up in the Device Manager?
That I do not know.
As far as I understand, there should be an emulator on the XMC 2GO board (OBD). Since this cannot be accessed, the error message appears.
I did some research and found out that I could use the JLink.exe to try to connect via USB.
I get the SEGGER J-Link Commander Window.
This allows me to use the J-Link commands.
Using any command the same window appears as shown below.
I used also the latest version of J-Link V7.52d got the same problem.
As I understand the problem at the moment I need to access the emulator on the XMC 2GO board.
What configuration or procedures do I need to do to be able to access this emulator?
I could also be mistaken and there is a different reason.
Looking forward to the solution. It should not be that hard.
Thank you. Show Less
DAVE™
Hello everyone,My board is Infineon XMC4700 Relax Kit using XMC4700-F144k2048 microcontroller. I want to blink LED1 by using a PWM signal. The pin nu...
Show More
Hello everyone,
My board is Infineon XMC4700 Relax Kit using XMC4700-F144k2048 microcontroller. I want to blink LED1 by using a PWM signal. The pin number of LED1 is P5.9 according to the user manual.
However, as shown below, this pin number is not availible in the list.
Could you please tell me what I should do to solve this problem?
Thank you! Show Less
My board is Infineon XMC4700 Relax Kit using XMC4700-F144k2048 microcontroller. I want to blink LED1 by using a PWM signal. The pin number of LED1 is P5.9 according to the user manual.
However, as shown below, this pin number is not availible in the list.
Could you please tell me what I should do to solve this problem?
Thank you! Show Less
DAVE™
SPI2-Problem on XMC1404
Solved
Hi thereI have a problem with the SPI2 in the XMC1404:I used the original example and just changed it to SPI2, but only the first data telegram is sen...
Show More
Hi there
I have a problem with the SPI2 in the XMC1404:
I used the original example and just changed it to SPI2, but only the first data telegram is send.
Any ideas?
Best
Lars Show Less
I have a problem with the SPI2 in the XMC1404:
I used the original example and just changed it to SPI2, but only the first data telegram is send.
Any ideas?
Best
Lars Show Less
DAVE™
Hi,
I need a Example for the POSIF as Quadrature Encoder based on the XMClib.
Ari.
I need a Example for the POSIF as Quadrature Encoder based on the XMClib.
Ari.
DAVE™
In DAVE 3 and DAVE 4, when you compile your code, in the console window, you can find out the program and variable size. Here’s an example from the c...
Show More
In DAVE 3 and DAVE 4, when you compile your code, in the console window, you can find out the program and variable size.
Here’s an example from the console window:
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-size" --format=berkeley "XMC13_EXAMPLE.elf"
text data bss dec hex filename
9193 132 1116 10441 28c9 XMC13_EXAMPLE.elf
‘text’ is what ends up in FLASH memory
‘data’ is used for initialized data
‘bss’ contains all the uninitalized data
'dec' is the total program and data size in decimal value
'hex' is the total program and data size in hexadecimal value Show Less
Here’s an example from the console window:
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-size" --format=berkeley "XMC13_EXAMPLE.elf"
text data bss dec hex filename
9193 132 1116 10441 28c9 XMC13_EXAMPLE.elf
‘text’ is what ends up in FLASH memory
‘data’ is used for initialized data
‘bss’ contains all the uninitalized data
'dec' is the total program and data size in decimal value
'hex' is the total program and data size in hexadecimal value Show Less
DAVE™
Hello there,I am setting up continuous deployment for my xmc board development.Doing so I am using a Ubuntu build enviroment. For the build process, I...
Show More
Hello there,
I am setting up continuous deployment for my xmc board development.
Doing so I am using a Ubuntu build enviroment. For the build process, I use CMake to generate the makefiles.
I ran into problems considering the case sensitivity of linux. For example the
This will result into "File not found." .
To fix this I wrote a script that corrects the includes in terms of the case sensitivity.
Now I come to the question: Is there a way to integrate this script into the DAVE code generation step? Like a postgeneration trigger?
Or is there a totally different solution for this problem?
Greetings! Show Less
I am setting up continuous deployment for my xmc board development.
Doing so I am using a Ubuntu build enviroment. For the build process, I use CMake to generate the makefiles.
I ran into problems considering the case sensitivity of linux. For example the
DAVE_Common.his sometimes included with a capital c and sometimes with a small c.
This will result into "File not found." .
To fix this I wrote a script that corrects the includes in terms of the case sensitivity.
Now I come to the question: Is there a way to integrate this script into the DAVE code generation step? Like a postgeneration trigger?
Or is there a totally different solution for this problem?
Greetings! Show Less
DAVE™
Hi there,I am trying to create an application that uses CAN on the XMC1400 Boot Kit. I downloaded the example XMC1400_BlinkyMCAN_withApps and it works...
Show More
Hi there,
I am trying to create an application that uses CAN on the XMC1400 Boot Kit. I downloaded the example XMC1400_BlinkyMCAN_withApps and it works fine.
Then I tried to create my app, but it did not work, even though I configured the CAN_NODE APP exactly like the example.
APP version on my code is 4.1.24 and on the example is 4.1.10. DAVE version is 4.4.2.
After analyzing the generated DAVE code, the way to fix it was to copy the implementation of the function CAN_NODE_Init(const CAN_NODE_t* handle) from file can_node.c and
on file global_can.c changing the function XMC_CAN_InitEx to XMC_CAN_Init.
With those changes on the generated files, the project works as expected.
Is there a way to solve it without the need of modifiying the auto generated files?
Thanks for your response,
Alex Show Less
I am trying to create an application that uses CAN on the XMC1400 Boot Kit. I downloaded the example XMC1400_BlinkyMCAN_withApps and it works fine.
Then I tried to create my app, but it did not work, even though I configured the CAN_NODE APP exactly like the example.
APP version on my code is 4.1.24 and on the example is 4.1.10. DAVE version is 4.4.2.
After analyzing the generated DAVE code, the way to fix it was to copy the implementation of the function CAN_NODE_Init(const CAN_NODE_t* handle) from file can_node.c and
on file global_can.c changing the function XMC_CAN_InitEx to XMC_CAN_Init.
With those changes on the generated files, the project works as expected.
Is there a way to solve it without the need of modifiying the auto generated files?
Thanks for your response,
Alex Show Less
DAVE™
Hi.I would like to kwon if it is possible to add the dither functionality (which is included in CCU8) using the HRPWM.Can be performed using DAVE apps...
Show More
Hi.
I would like to kwon if it is possible to add the dither functionality (which is included in CCU8) using the HRPWM.
Can be performed using DAVE apps?
Must be included in the code without the help of the DAVE apps?
Is possible?
Is not recomendable due to the high frequency accuracy and / or dead times?
Any comments or suggestions shall be really appreciated.
My equipment will work at maximun 250kHz with phase shift full bridge and probably with Peak Current Mode Control.
Can be applied the Dither functionality for this Peak Current Mode Control?
Best regards.
Carlos. Show Less
I would like to kwon if it is possible to add the dither functionality (which is included in CCU8) using the HRPWM.
Can be performed using DAVE apps?
Must be included in the code without the help of the DAVE apps?
Is possible?
Is not recomendable due to the high frequency accuracy and / or dead times?
Any comments or suggestions shall be really appreciated.
My equipment will work at maximun 250kHz with phase shift full bridge and probably with Peak Current Mode Control.
Can be applied the Dither functionality for this Peak Current Mode Control?
Best regards.
Carlos. Show Less