DAVE™ Forum Discussions
DAVE™
I have experienced many problems with the DAVE 3 over the last few years and discovered many "ToDo" comments in source code of the libraries. This ma...
Show More
I have experienced many problems with the DAVE 3 over the last few years and discovered many "ToDo" comments in source code of the libraries. This makes me very nervous.
So I am considering moving to DAVE 4 but the libraries still contain "ToDo" comments, not as many but still worrying.
Are DAVE 4 libraries better quality than DAVE 3 libraries ?
Is DAVE 4 a big improvement over DAVE 3 ?
Thanks very much for any thoughts
Best regards
Aaron Show Less
So I am considering moving to DAVE 4 but the libraries still contain "ToDo" comments, not as many but still worrying.
Are DAVE 4 libraries better quality than DAVE 3 libraries ?
Is DAVE 4 a big improvement over DAVE 3 ?
Thanks very much for any thoughts
Best regards
Aaron Show Less
DAVE™
Please if somebody can help me I'm stuck and can’t program or run debugger on Dave3.A year ago I download Dave 3.1.10 and got Relax kit with XMC4500. ...
Show More
Please if somebody can help me I'm stuck and can’t program or run debugger on Dave3.
A year ago I download Dave 3.1.10 and got Relax kit with XMC4500. I start to made my project based on relax kit application. I increase all needed functions and on relax kit all run ok (I can use debugger and programmer). Now I made my
hardware with exact XMC4500 processor. As Relax kit has built in debugger and programmer I also buy new KIT_XMC_LINK_SEGGER_V1 which can be used for programming and debugging. With Dave 3 and KIT_XMC_LINK_SEGGER_V1
I should be able to program and debug any hardware with XMC4500 processor. My hardware is in cpu exact copy of Relax kit.
When I connect KIT_XMC_LINK_SEGGER_V1 thru 10-pin Cortex debug connector to my hardware I got message:
"Error Creating Session:
The debug instrument IO could not be initialized.
The GDI debug instrument provided the following error message.
An error occurred while connecting to the target. The exact cause is unknown, but possibly, the J-Link is not connected to the target properly."
If I connect the KIT_XMC_LINK_SEGGER_V1 thru 10-pin Cortex debug connector to Relax kit it works normally. My hardware I tested and I can program it with other programmer but my project now I have on Dave 3.1.10 and it is also
running and tested on Relax kit.
What should I do to use my project out of Relax kit and with KIT_XMC_LINK_SEGGER_V1?
Thank you
Damjan Show Less
A year ago I download Dave 3.1.10 and got Relax kit with XMC4500. I start to made my project based on relax kit application. I increase all needed functions and on relax kit all run ok (I can use debugger and programmer). Now I made my
hardware with exact XMC4500 processor. As Relax kit has built in debugger and programmer I also buy new KIT_XMC_LINK_SEGGER_V1 which can be used for programming and debugging. With Dave 3 and KIT_XMC_LINK_SEGGER_V1
I should be able to program and debug any hardware with XMC4500 processor. My hardware is in cpu exact copy of Relax kit.
When I connect KIT_XMC_LINK_SEGGER_V1 thru 10-pin Cortex debug connector to my hardware I got message:
"Error Creating Session:
The debug instrument IO could not be initialized.
The GDI debug instrument provided the following error message.
An error occurred while connecting to the target. The exact cause is unknown, but possibly, the J-Link is not connected to the target properly."
If I connect the KIT_XMC_LINK_SEGGER_V1 thru 10-pin Cortex debug connector to Relax kit it works normally. My hardware I tested and I can program it with other programmer but my project now I have on Dave 3.1.10 and it is also
running and tested on Relax kit.
What should I do to use my project out of Relax kit and with KIT_XMC_LINK_SEGGER_V1?
Thank you
Damjan Show Less
DAVE™
Hello,I use Dave 3.1.10 to configure my XMC4500F144 controller. I use a thrid party RTOS with IP-Stack, so I dont want the App with IP-Stack. I added ...
Show More
Hello,
I use Dave 3.1.10 to configure my XMC4500F144 controller. I use a thrid party RTOS with IP-Stack, so I dont want the App with IP-Stack.
I added the ETH001 app, which includes also the ETH002 app.
Then I select the MII Interface in the Mac Interface Selection in app ETH001.
The I start the solver.
So far so good.
When I want to manually assign the pins (by right click on the ETH001 app and manual pin assignment) I can only assign two RX and two TX pins. But for the MII Interface I do need 4 connections in each direction.
Am I missing something?
Thanks for your help! Show Less
I use Dave 3.1.10 to configure my XMC4500F144 controller. I use a thrid party RTOS with IP-Stack, so I dont want the App with IP-Stack.
I added the ETH001 app, which includes also the ETH002 app.
Then I select the MII Interface in the Mac Interface Selection in app ETH001.
The I start the solver.
So far so good.
When I want to manually assign the pins (by right click on the ETH001 app and manual pin assignment) I can only assign two RX and two TX pins. But for the MII Interface I do need 4 connections in each direction.
Am I missing something?
Thanks for your help! Show Less
DAVE™
Hi Guys,i have two problems with UART and the XMC2Go.I use the on-board XMC4200 as UART-to-USB-Bridge and HTerm as serial terminal on PC.First Problem...
Show More
Hi Guys,
i have two problems with UART and the XMC2Go.
I use the on-board XMC4200 as UART-to-USB-Bridge and HTerm as serial terminal on PC.
First Problem is that i cant set the UART Baud Rate to 1000 Baud. There is no error or exception, but the serial
terminal receives no messages from the µC, and the µC receives nothing from the serial terminal.
I tried using the general UART app settings and the UART_SetBaudrate() function to set the baudrate to 1000, but
none of it worked. The return value from UART_SetBaudrate() is UART_STATUS_SUCCESS, but there is no communication.
Based on the App description and Datasheet, it should be possible to set the baudrate down to 200 baud, but i cant find the
way to dot that. How can i do this, or is this not possible with the XMC2Go?
Second problem is, that (if i set the baudrate to 19200, where communication is possible) i don't get an UART receive interrupt (EndofReceive)
if i delete the UART_StartReceiveIRQ(&UART_0, rec_data, sizeof(rec_data)) function in the main function. Unfortunately i cant find a useful
description of this function, so i don't really know what happens in there. Problem is, that a global variable is necessary to use
the receive interrupt, what i want to avoid. So can anybody tell my, why i have to use the UART_StartReceiveIRQ() function, or if there's
another way to get an UART receive interrupt.
This is my Code:
And this are my UART Settings:
Thank you in advance for your help,
Timo Show Less
i have two problems with UART and the XMC2Go.
I use the on-board XMC4200 as UART-to-USB-Bridge and HTerm as serial terminal on PC.
First Problem is that i cant set the UART Baud Rate to 1000 Baud. There is no error or exception, but the serial
terminal receives no messages from the µC, and the µC receives nothing from the serial terminal.
I tried using the general UART app settings and the UART_SetBaudrate() function to set the baudrate to 1000, but
none of it worked. The return value from UART_SetBaudrate() is UART_STATUS_SUCCESS, but there is no communication.
Based on the App description and Datasheet, it should be possible to set the baudrate down to 200 baud, but i cant find the
way to dot that. How can i do this, or is this not possible with the XMC2Go?
Second problem is, that (if i set the baudrate to 19200, where communication is possible) i don't get an UART receive interrupt (EndofReceive)
if i delete the UART_StartReceiveIRQ(&UART_0, rec_data, sizeof(rec_data)) function in the main function. Unfortunately i cant find a useful
description of this function, so i don't really know what happens in there. Problem is, that a global variable is necessary to use
the receive interrupt, what i want to avoid. So can anybody tell my, why i have to use the UART_StartReceiveIRQ() function, or if there's
another way to get an UART receive interrupt.
This is my Code:
#include
#include
#include
uint8_t rec_data[1];
int main(void)
{
long int i;
DAVE_Init(); //Initialization of DAVE APPs
UART_STATUS_t x = UART_SetBaudrate(&UART_0, 1000, 16);
UART_SetBaudrate(&UART_0, 1000, 16);
UART_StartReceiveIRQ(&UART_0, rec_data, sizeof(rec_data));
while(1U)
{
}
return 1;
}
void EndofReceive()//Callback function for "End of receive" event.
{
int Test;
UART_StartReceiveIRQ(&UART_0, rec_data, sizeof(rec_data));
Test = (int) rec_data[0];
rec_data[0] = (uint8_t) tolower(Test);
UART_Transmit(&UART_0, rec_data, sizeof(rec_data));
}
And this are my UART Settings:
Thank you in advance for your help,
Timo Show Less
DAVE™
Hallo there,I have some problems with the Dave Software.If I create a Dave-Project with Dave v4.2.8, I can't finish the prozess because there is no re...
Show More
Hallo there,
I have some problems with the Dave Software.
If I create a Dave-Project with Dave v4.2.8, I can't finish the prozess because there is no reaction if I click on the "next" -button.
If I import a Dave-Project, I can't see the for example the memory settings at project properties. There displayed following message: "This page can be displayed only when single configuration is selected. Re-launch the dialog and avigate to this page after selecting single configuration."
And if I build and debug the imported project, there isn't the "start" button to start the program.
But what is single configuration? How can I fix the problems? Can somebody help me?
Best Regards
Hendrik Thiele
P.S.: I'm using the XMC4500 100 - 1024 Show Less
I have some problems with the Dave Software.
If I create a Dave-Project with Dave v4.2.8, I can't finish the prozess because there is no reaction if I click on the "next" -button.
If I import a Dave-Project, I can't see the for example the memory settings at project properties. There displayed following message: "This page can be displayed only when single configuration is selected. Re-launch the dialog and avigate to this page after selecting single configuration."
And if I build and debug the imported project, there isn't the "start" button to start the program.
But what is single configuration? How can I fix the problems? Can somebody help me?
Best Regards
Hendrik Thiele
P.S.: I'm using the XMC4500 100 - 1024 Show Less
DAVE™
Dear all,I have just installed DAVE4.2.6 and got some problems of importing library & example.I followed the instruction to import the file but failed...
Show More
Dear all,
I have just installed DAVE4.2.6 and got some problems of importing library & example.
I followed the instruction to import the file but failed.
Procedure:
Help>Install DAVE APP/Example/Device Library...
The captures are as shown below:
Project Import has the same problem:
Would you please help me to solve the problem?
Thank you very much~ Show Less
I have just installed DAVE4.2.6 and got some problems of importing library & example.
I followed the instruction to import the file but failed.
Procedure:
Help>Install DAVE APP/Example/Device Library...
The captures are as shown below:
Project Import has the same problem:
Would you please help me to solve the problem?
Thank you very much~ Show Less
DAVE™
Dear support engineer, in a DAVE project, i want to use the Compiler command options as a parameter for a prebuild command batch script. This should ...
Show More
Dear support engineer,
in a DAVE project, i want to use the Compiler command options as a parameter for a prebuild command batch script.
This should look like:
...\buildsteps.bat ${FLAGS}
Unfortunately the ${FLAGS} variable is always empty.
Is there a way to access the compiler options at the the pre-builkd step stage?
Or am i doing something wrong?
The attached pictures further emphazise the problem.
Thanks and best regards
Felix
Show Less
in a DAVE project, i want to use the Compiler command options as a parameter for a prebuild command batch script.
This should look like:
...\buildsteps.bat ${FLAGS}
Unfortunately the ${FLAGS} variable is always empty.
Is there a way to access the compiler options at the the pre-builkd step stage?
Or am i doing something wrong?
The attached pictures further emphazise the problem.
Thanks and best regards
Felix
Show Less
DAVE™
Hi friends, I had a LWIP server in Dave 4.2.4 which was working well. I performed Dave Apps Updates and the ETH_LWIP app upgraded itself from 4.0.4 to...
Show More
Hi friends,
I had a LWIP server in Dave 4.2.4 which was working well. I performed Dave Apps Updates and the ETH_LWIP app upgraded itself from 4.0.4 to 4.0.6. Now - using the same code - i can only connect a client to my server.
When I want to send a message, I receive a RST & ACK flags (not PSH & ACK as in the older version) and the connection is interrupted.
Some explanations for RST return flag that i found are that the port and the IP address are not binded, or the socket is closed. The error status of these two cases is ERR_OK, so this should not be the problem.
The generated files are almost identical. The app configuration is identical. I don't know where could be the problem. I attached 2 print screens of the Ethernet traffic.
A quick and dirty solution was to replace the entire ETH_LWIP generated folder with the one from the older version. This way it works. But why?
I would really appreciate some ideas if not a solution.
Thank you,
Petru S. Show Less
I had a LWIP server in Dave 4.2.4 which was working well. I performed Dave Apps Updates and the ETH_LWIP app upgraded itself from 4.0.4 to 4.0.6. Now - using the same code - i can only connect a client to my server.
When I want to send a message, I receive a RST & ACK flags (not PSH & ACK as in the older version) and the connection is interrupted.
Some explanations for RST return flag that i found are that the port and the IP address are not binded, or the socket is closed. The error status of these two cases is ERR_OK, so this should not be the problem.
The generated files are almost identical. The app configuration is identical. I don't know where could be the problem. I attached 2 print screens of the Ethernet traffic.
A quick and dirty solution was to replace the entire ETH_LWIP generated folder with the one from the older version. This way it works. But why?
I would really appreciate some ideas if not a solution.
Thank you,
Petru S. Show Less
DAVE™
Hello, everyone:Purpose: The XMC4700 Start Kits as a client sends the information to another MCU.Method: 1. using the DAVE APP ETH_LWIP enabling the...
Show More
Hello, everyone:
Purpose: The XMC4700 Start Kits as a client sends the information to another MCU.
Method: 1. using the DAVE APP ETH_LWIP enabling the RTOS
2. setting up the pin number according to the Board User's Board (Page 15)
3. create the source code and then try to build the socket
Problem: There is no problem with compiling, but during the debugging the program is running into the
socket_fd = socket(PF_INET, SOCK_STREAM, 0); and then the program can not find HAL_CM4.S.
I locate the directory of HAL_CM4.S. Debug stops again at line 266 of the file HAL_CM4.S.
BLX R4 /* Call SVC Function */
Can anyone tell me the reason and how to fix it?
I have already attached the file.
Thanks at first.
Zibo Show Less
Purpose: The XMC4700 Start Kits as a client sends the information to another MCU.
Method: 1. using the DAVE APP ETH_LWIP enabling the RTOS
2. setting up the pin number according to the Board User's Board (Page 15)
3. create the source code and then try to build the socket
Problem: There is no problem with compiling, but during the debugging the program is running into the
socket_fd = socket(PF_INET, SOCK_STREAM, 0); and then the program can not find HAL_CM4.S.
I locate the directory of HAL_CM4.S. Debug stops again at line 266 of the file HAL_CM4.S.
BLX R4 /* Call SVC Function */
Can anyone tell me the reason and how to fix it?
I have already attached the file.
Thanks at first.
Zibo Show Less
DAVE™
Hi,if static Libraries are used, Thex can be added in "Libraries" and the paths can be added in "Library Paths" in Dave 3. But in Dave 4 (4.2.8) I can...
Show More
Hi,
if static Libraries are used, Thex can be added in "Libraries" and the paths can be added in "Library Paths" in Dave 3. But in Dave 4 (4.2.8) I cannot find the option "Library Paths". Without Paths the Projekt cannot be linked.
Is it a Bug? Or have I forget something?
Best Regards,
XC Show Less
if static Libraries are used, Thex can be added in "Libraries" and the paths can be added in "Library Paths" in Dave 3. But in Dave 4 (4.2.8) I cannot find the option "Library Paths". Without Paths the Projekt cannot be linked.
Is it a Bug? Or have I forget something?
Best Regards,
XC Show Less