DAVE™ Forum Discussions
DAVE™
Hello!There are "Templates" in DAVE editor. If you select something and goes in the local menu, you can find there "Surround With (Alt+Shift+Z) >". On...
Show More
Hello!
There are "Templates" in DAVE editor. If you select something and goes in the local menu, you can find there "Surround With (Alt+Shift+Z) >". One can click there and choose the desired Template. It works just fine. But... is it possible to use the keyboad instead of the mouse? I'd tryed (Alt+Shift+Z) or (Alt+Shift+1) and so on... - nothing happens!
Thanks Show Less
There are "Templates" in DAVE editor. If you select something and goes in the local menu, you can find there "Surround With (Alt+Shift+Z) >". One can click there and choose the desired Template. It works just fine. But... is it possible to use the keyboad instead of the mouse? I'd tryed (Alt+Shift+Z) or (Alt+Shift+1) and so on... - nothing happens!
Thanks Show Less
DAVE™
Hi,I was trying to create a new project in a workspace. I have done this million times before. But today I am having a trouble now. I am doing File->N...
Show More
Hi,
I was trying to create a new project in a workspace. I have done this million times before.
But today I am having a trouble now. I am doing File->New->DAVE Project. I wrote the Project Name and select a Project Type and Tool Chain. But neither the button Next, not Finish becomes available.
I cannot click on them.
Then I look a little more. I checked the Properties of a project in this workspace. I saw that Microcontroller Info in Properties -> C/C++ Build is missing.
When I click to that line I get this error: Could Not Accept Changes: The currently displayed page contains invalid values.
In another workspace that everything is fine, I checked the same property and Microcontroller Info was there.
How can I restore this information in that corrupted workspace?
Bests,
İpek Show Less
I was trying to create a new project in a workspace. I have done this million times before.
But today I am having a trouble now. I am doing File->New->DAVE Project. I wrote the Project Name and select a Project Type and Tool Chain. But neither the button Next, not Finish becomes available.
I cannot click on them.
Then I look a little more. I checked the Properties of a project in this workspace. I saw that Microcontroller Info in Properties -> C/C++ Build is missing.
When I click to that line I get this error: Could Not Accept Changes: The currently displayed page contains invalid values.
In another workspace that everything is fine, I checked the same property and Microcontroller Info was there.
How can I restore this information in that corrupted workspace?
Bests,
İpek Show Less
DAVE™
Hello,after some trouble I was able to build up an Echo Server with RTOS and LWIP from scratch. I added the project. In the second step I wanted to e...
Show More
Hello,
after some trouble I was able to build up an Echo Server with RTOS and LWIP from scratch. I added the project. In the second step I wanted to exchange the Keil-RTX RTOS by Free-RTOS. But the server is not running anymore. What I am doing wrong Show Less
after some trouble I was able to build up an Echo Server with RTOS and LWIP from scratch. I added the project. In the second step I wanted to exchange the Keil-RTX RTOS by Free-RTOS. But the server is not running anymore. What I am doing wrong Show Less
DAVE™
Static Analysis
Solved
Hi,I'd like do static analysis for my DAVE projects. I have a PRQA license and I know that PRQA and eclipse can work together(by importing PRQA as plu...
Show More
Hi,
I'd like do static analysis for my DAVE projects.
I have a PRQA license and I know that PRQA and eclipse can work together(by importing PRQA as plugin)
Since DAVE is also eclipse based, I thought I could follow the same procedure when I used adding PRQA to eclipse but I couldnt..
Is there anyone who ever tried any static analysis method with this DAVE ide Show Less
I'd like do static analysis for my DAVE projects.
I have a PRQA license and I know that PRQA and eclipse can work together(by importing PRQA as plugin)
Since DAVE is also eclipse based, I thought I could follow the same procedure when I used adding PRQA to eclipse but I couldnt..
Is there anyone who ever tried any static analysis method with this DAVE ide Show Less
DAVE™
Hi.Is there a way to compile a project conditional?I set up a new Build Configuration : TEST. Only in this configuration, i want to compile the Uart m...
Show More
Hi.
Is there a way to compile a project conditional?
I set up a new Build Configuration : TEST.
Only in this configuration, i want to compile the Uart modules to serve the XMC_ASSERT() to a uart output.
To implement this solution, i add a new Build Variables "TEST_ACTIVE" Type:String Val:"0" to the TEST configuration.
( -> Properties for My Project, -> C/C++ Build -> Build Variables; Configuration: TEST )
In the source code i place a : #ifdef TEST_ACTIVE (Code between) #endif
I set Configuration TEST active, but the compiler doesn't know the Variable "TEST_ACTIVE".
How can i solve this, or isn't it possible to set up a Configuration for this?
And how to implement and activate the XMC_AssertHandler?
If i define a XMC_AssertHandler() over Uart, the problem will be: during init from the Uart, XMC_AssertHandler is called, but uart is not working at this time.
Then the cat bites into the tail.
What is there before: the egg or the chicken?
And how can i enable XMC_AssertHandler() for my user-output?
I define XMC_ASSERT_ENABLE in xmc_common.h, but this doesn't work.....
My Handler looks like this:
Is there a way to compile a project conditional?
I set up a new Build Configuration : TEST.
Only in this configuration, i want to compile the Uart modules to serve the XMC_ASSERT() to a uart output.
To implement this solution, i add a new Build Variables "TEST_ACTIVE" Type:String Val:"0" to the TEST configuration.
( -> Properties for My Project, -> C/C++ Build -> Build Variables; Configuration: TEST )
In the source code i place a : #ifdef TEST_ACTIVE (Code between) #endif
I set Configuration TEST active, but the compiler doesn't know the Variable "TEST_ACTIVE".
How can i solve this, or isn't it possible to set up a Configuration for this?
And how to implement and activate the XMC_AssertHandler?
If i define a XMC_AssertHandler() over Uart, the problem will be: during init from the Uart, XMC_AssertHandler is called, but uart is not working at this time.
Then the cat bites into the tail.
What is there before: the egg or the chicken?
And how can i enable XMC_AssertHandler() for my user-output?
I define XMC_ASSERT_ENABLE in xmc_common.h, but this doesn't work.....
My Handler looks like this:
void XMC_AssertHandler(const char *const msg, const char *const file, uint32_t line)Show Less
{
uint8_t cBuffer[256];
uint16_t iLen=0;
iLen = sprintf( cBuffer, "%s %s %d",msg, file, line );
UART_Transmit(&UART_1 , cBuffer, iLen );
}
DAVE™
I would like to relocate the start-adress of an application program by modifying the linker-script in DAVE4.For testing this I use the XMC2go board.It...
Show More
I would like to relocate the start-adress of an application program by modifying the linker-script in DAVE4.
For testing this I use the XMC2go board.
It is originally
MEMORY
{
FLASH(RX) : ORIGIN = 0x10001000, LENGTH = 0x10000
SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000
}
and afterwards:
MEMORY
{
FLASH(RX) : ORIGIN = 0x10005000, LENGTH = 0x5000
SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000
}
I now change the Debug-Configuration in the tab "Startup" and set the field "Set program counter at (hex)" to 10005000 as in the linker script.
After an flash-erase I'm not able to load, run and debug the Project any more. The flash seems to be programmed,
but debugging fails.
How can I run and debug an application from another Flash-Start adress than 10001000 ? Show Less
For testing this I use the XMC2go board.
It is originally
MEMORY
{
FLASH(RX) : ORIGIN = 0x10001000, LENGTH = 0x10000
SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000
}
and afterwards:
MEMORY
{
FLASH(RX) : ORIGIN = 0x10005000, LENGTH = 0x5000
SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000
}
I now change the Debug-Configuration in the tab "Startup" and set the field "Set program counter at (hex)" to 10005000 as in the linker script.
After an flash-erase I'm not able to load, run and debug the Project any more. The flash seems to be programmed,
but debugging fails.
How can I run and debug an application from another Flash-Start adress than 10001000 ? Show Less
DAVE™
Hi,I have encountered a problem with debug. I launched Debug As DAVE C/C++ ApplicationThe error message was very cryptic and did not help in finding t...
Show More
Hi,
I have encountered a problem with debug.
I launched Debug As
DAVE C/C++ Application
The error message was very cryptic and did not help in finding the solution.
The error message is as follows:
After looking into the problem I realised that the missing file is not mentioned in the Debug Configurations window in the field of C/C++ Application.
See in the attachment below:
The solution is to add the file in the field see bellow:
I hope this helps if you have the same problem.
Greetings Show Less
I have encountered a problem with debug.
I launched Debug As
DAVE C/C++ Application
The error message was very cryptic and did not help in finding the solution.
The error message is as follows:
After looking into the problem I realised that the missing file is not mentioned in the Debug Configurations window in the field of C/C++ Application.
See in the attachment below:
The solution is to add the file in the field see bellow:
I hope this helps if you have the same problem.
Greetings Show Less
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