DAVE™ Forum Discussions
DAVE™
We are trying to get the CAN001_Example2 project working with two XMC4500 Hexagon boards and are having some trouble seeing CAN traffic on the bus.We ...
Show More
We are trying to get the CAN001_Example2 project working with two XMC4500 Hexagon boards and are having some trouble seeing CAN traffic on the bus.
We have created two copies of the CAN001_Example2, CAN_A (requester) and CAN_B (responder) where CAN_A is set to send a transfer request for LMO1 and CAN_B is set to respond with LMO1.
We have reconfigured both CAN001_Example2 projects to turn off loopback mode, and to assign pins for the CAN Rx (P1.4) and CAN Tx (P1.5) per the XMC4500 Hexagon board.
We have a modified RS-232 cable to connect the CAN_A and CAN_B ports together to ensure that CAN-hi and CAN-lo are connected.
We have CAN_A set to issue the LMO1 request every second, but we do not see any activity at all on either CAN-hi/CAN-lo or CAN TxD/CAN RxD
on either board. CAN_B obviously does not register any interrupts from CAN activity from CAN_A. Both the CAN-hi and CAN-lo pins are stuck high for the duration of things being on.
Is there anything else we might be missing getting the CAN001 example apps up and running for real on an XMC4500 Hexagon board?
Thanks in advance,
Joe Shidle Show Less
We have created two copies of the CAN001_Example2, CAN_A (requester) and CAN_B (responder) where CAN_A is set to send a transfer request for LMO1 and CAN_B is set to respond with LMO1.
We have reconfigured both CAN001_Example2 projects to turn off loopback mode, and to assign pins for the CAN Rx (P1.4) and CAN Tx (P1.5) per the XMC4500 Hexagon board.
We have a modified RS-232 cable to connect the CAN_A and CAN_B ports together to ensure that CAN-hi and CAN-lo are connected.
We have CAN_A set to issue the LMO1 request every second, but we do not see any activity at all on either CAN-hi/CAN-lo or CAN TxD/CAN RxD
on either board. CAN_B obviously does not register any interrupts from CAN activity from CAN_A. Both the CAN-hi and CAN-lo pins are stuck high for the duration of things being on.
Is there anything else we might be missing getting the CAN001 example apps up and running for real on an XMC4500 Hexagon board?
Thanks in advance,
Joe Shidle Show Less
DAVE™
HI all,Is there any application sample to run un this configuration (USBVC001 with RTOS)?If switched to RTOS (USBLD001 check box), Dave change the App...
Show More
HI all,
Is there any application sample to run un this configuration (USBVC001 with RTOS)?
If switched to RTOS (USBLD001 check box), Dave change the App Connectivity view and loads some additional apps (RTOS001 for example).
Main.c:
....
int main(void)
{
// status_t status; // Declaration of return variable for DAVE3 APIs (toggle comment if required)
/* Initialization of DAVE Apps */
DAVE_Init();
/* Initialization of the USBVC001 App */
USBVC001_Init();
// start RTOS
osKernelStart();
osDelay(osWaitForever);
for (;;);
return 0;
}
in USBVC001_Init(); we get the MemManager exception.
HW: XMC4500 Relax Lite Kit V1
Dave 3.18 build 2013-09-12
USBLD001 - 1.0.12 Show Less
Is there any application sample to run un this configuration (USBVC001 with RTOS)?
If switched to RTOS (USBLD001 check box), Dave change the App Connectivity view and loads some additional apps (RTOS001 for example).
Main.c:
....
int main(void)
{
// status_t status; // Declaration of return variable for DAVE3 APIs (toggle comment if required)
/* Initialization of DAVE Apps */
DAVE_Init();
/* Initialization of the USBVC001 App */
USBVC001_Init();
// start RTOS
osKernelStart();
osDelay(osWaitForever);
for (;;);
return 0;
}
in USBVC001_Init(); we get the MemManager exception.
HW: XMC4500 Relax Lite Kit V1
Dave 3.18 build 2013-09-12
USBLD001 - 1.0.12 Show Less
DAVE™
I am using DAVE-3.1.8 with all updates installed.I am debugging 'PWMSP001_CNT001_Example1_RelaxKit' on a RelaxKit board, and I am stepping through the...
Show More
I am using DAVE-3.1.8 with all updates installed.
I am debugging 'PWMSP001_CNT001_Example1_RelaxKit' on a RelaxKit board, and I am stepping through the code. I am entering the DAVE_Init function (using F5) then executing each function (using F6), then when I get to the end of the function, F5 does not return to main. Interrupting the program indicates that it is spending time in 'BusFault_Handler'.
How did it get there?
If I start the debug session then let it run, the program runs as expected. Show Less
I am debugging 'PWMSP001_CNT001_Example1_RelaxKit' on a RelaxKit board, and I am stepping through the code. I am entering the DAVE_Init function (using F5) then executing each function (using F6), then when I get to the end of the function, F5 does not return to main. Interrupting the program indicates that it is spending time in 'BusFault_Handler'.
How did it get there?
If I start the debug session then let it run, the program runs as expected. Show Less
DAVE™
I have installed the DAvE environment for XMC products, I saw that also Doxigen has been installed. How can I trigger the Doxigen generation from teh ...
Show More
I have installed the DAvE environment for XMC products, I saw that also Doxigen has been installed. How can I trigger the Doxigen generation from teh Eclipse environment?
Show Less
DAVE™
In DAVE, you can use Doxygen to generate software reference documentation @ project level in a defined format.However, you can customize the format by...
Show More
In DAVE, you can use Doxygen to generate software reference documentation @ project level in a defined format.
However, you can customize the format by providing the custom doxyconfig file.
Go to: >Window>Preferences>Dave>DAVE CE Preferences>Input the path of doxyconfig file
Show Less
However, you can customize the format by providing the custom doxyconfig file.
Go to: >Window>Preferences>Dave>DAVE CE Preferences>Input the path of doxyconfig file
Show Less
DAVE™
Hello,Basically my title is the question, what is the difference between IO002 and IO004 both seems to use the same staff inside there defines... (bas...
Show More
Hello,
Basically my title is the question, what is the difference between IO002 and IO004 both seems to use the same staff inside there defines... (based on the Help)
best regards,
Michael Show Less
Basically my title is the question, what is the difference between IO002 and IO004 both seems to use the same staff inside there defines... (based on the Help)
best regards,
Michael Show Less
DAVE™
..............................................
DAVE™
Hello,at a project I have to send data over Ethernet continously using UDP.While trying to do this I observed that there are only 6 UDP packets sent i...
Show More
Hello,
at a project I have to send data over Ethernet continously using UDP.
While trying to do this I observed that there are only 6 UDP packets sent in a row by lwIP/ETH004 using XMC4500 Relax Kit V1.
So I am not sure if this thread should be moved to the XMC section.
I have made a simple test project in DAVE to demonstrate the problem:
This is attached as ETH6packets.zip
It uses DHCP and is listening on port 1234. So I am connecting (with netcat) to it and send *IDN? . Instead of 10 times "testdevice" I only receive 6 (also in Wireshark there are only 6).
But I can send *IDN? on and on and I will always receive 6 packets. So there is no "total crash".
I will try to figure out what causes this by using different settings and older versions of ETH004 and by going deeper into lwIP.
But maybe someone experienced the same problem yet, or someone may look into my demo to help me figuring out what the problem is in the meantime?
It might be the same problem as here: http://e2e.ti.com/support/embedded/starterware/f/790/t/171893.aspx
Thank you in advance! Show Less
at a project I have to send data over Ethernet continously using UDP.
While trying to do this I observed that there are only 6 UDP packets sent in a row by lwIP/ETH004 using XMC4500 Relax Kit V1.
So I am not sure if this thread should be moved to the XMC section.
I have made a simple test project in DAVE to demonstrate the problem:
This is attached as ETH6packets.zip
It uses DHCP and is listening on port 1234. So I am connecting (with netcat) to it and send *IDN? . Instead of 10 times "testdevice" I only receive 6 (also in Wireshark there are only 6).
But I can send *IDN? on and on and I will always receive 6 packets. So there is no "total crash".
I will try to figure out what causes this by using different settings and older versions of ETH004 and by going deeper into lwIP.
But maybe someone experienced the same problem yet, or someone may look into my demo to help me figuring out what the problem is in the meantime?
It might be the same problem as here: http://e2e.ti.com/support/embedded/starterware/f/790/t/171893.aspx
Thank you in advance! Show Less
DAVE™
Dear All,hope you all will be doing great.I am new here and also new in this field.1) I have tried APP IO003_Example1 to blink the LED but it compiled...
Show More
Dear All,
hope you all will be doing great.
I am new here and also new in this field.
1) I have tried APP IO003_Example1 to blink the LED but it compiled and run successfully but there is no blinking of LED. And i tried to add IO003/1 object to control the LED with push button and it denied as there is some kind of restriction.
2) I tried to make my own DAVE CE project but in Main.c file it is showing "Unresolved Inclusion
Please reply me asap.
Thanks and Regards Show Less
hope you all will be doing great.
I am new here and also new in this field.
1) I have tried APP IO003_Example1 to blink the LED but it compiled and run successfully but there is no blinking of LED. And i tried to add IO003/1 object to control the LED with push button and it denied as there is some kind of restriction.
2) I tried to make my own DAVE CE project but in Main.c file it is showing "Unresolved Inclusion
Please reply me asap.
Thanks and Regards Show Less
DAVE™
ERU001 is named as "Event_Request_ERS_ETL" which provides External Request_Triger configuration functionality.The ERU001 App provides virtual signals ...
Show More
ERU001 is named as "Event_Request_ERS_ETL" which provides External Request_Triger configuration functionality.
The ERU001 App provides virtual signals for Inputs A, B. The signals can be connected to any Event Source Signals. The Event combination can be done from the App UI.
The "Event Request Select Configuration" configures:
1) Input channel selection
2) Logical combination of input sources (Ax, Bx)
It is equivalent to configure registers "ERUx_EXISEL" & "ERUx_EXICONx.SS".
Details can be found in DAVE Apps help documentation:
Help>Help Contents>DAVE Apps>ERU001[1.0.8]>Overview Show Less
The ERU001 App provides virtual signals for Inputs A, B. The signals can be connected to any Event Source Signals. The Event combination can be done from the App UI.
The "Event Request Select Configuration" configures:
1) Input channel selection
2) Logical combination of input sources (Ax, Bx)
It is equivalent to configure registers "ERUx_EXISEL" & "ERUx_EXICONx.SS".
Details can be found in DAVE Apps help documentation:
Help>Help Contents>DAVE Apps>ERU001[1.0.8]>Overview Show Less