DAVE™ Forum Discussions
DAVE™
Ctrl+Space does not work
Solved
Hello, Can you help why Ctrl+Space does not work after I am exiting DAVE ? It does not show APP proposals. It worked the first time I installed DAV...
Show More
Hello,
Can you help why Ctrl+Space does not work after I am exiting DAVE ? It does not show APP proposals. It worked the first time I installed DAVE but not after I exited.
Thanks
KB Show Less
Can you help why Ctrl+Space does not work after I am exiting DAVE ? It does not show APP proposals. It worked the first time I installed DAVE but not after I exited.
Thanks
KB Show Less
DAVE™
We want to use Dave4 to configure and program the Controller XMC4700. In our design we have a FPGA which will be connected with the demultiplexed or m...
Show More
We want to use Dave4 to configure and program the Controller XMC4700. In our design we have a FPGA which will be connected with the demultiplexed or multiplexed external bus. So we have to configure this external bus (CS, Timing, multiplexed/demutliplexed, ...), but I can not find an APP (-> EBU) in the DAVE4. How does Dave4 Support this Settings?
Show Less
DAVE™
Hi,If "Card Detection Signal" SDCD is unchecked on the UIEditor then the code seems to still look for a signal on P1.10.I have added: SET_BIT( SDMM...
Show More
Hi,
If "Card Detection Signal" SDCD is unchecked on the UIEditor then the code seems to still look for a signal on P1.10.
I have added:
SET_BIT( SDMMC->HOST_CTRL,SDMMC_HOST_CTRL_CARD_DET_SIGNAL_DETECT_Pos );
to SDMMC004_HostControllerInit(), I'm not sure if this is the correct/best place, and it now seems OK.
Kind regards
Andy Show Less
If "Card Detection Signal" SDCD is unchecked on the UIEditor then the code seems to still look for a signal on P1.10.
I have added:
SET_BIT( SDMMC->HOST_CTRL,SDMMC_HOST_CTRL_CARD_DET_SIGNAL_DETECT_Pos );
to SDMMC004_HostControllerInit(), I'm not sure if this is the correct/best place, and it now seems OK.
Kind regards
Andy Show Less
DAVE™
Hi Infineon,a new problem and a new idea.We have a pc board with many interfaces, e.g. ethernet and ethercat, but not all customers order all interfac...
Show More
Hi Infineon,
a new problem and a new idea.
We have a pc board with many interfaces, e.g. ethernet and ethercat, but not all customers order all interfaces. To minimize costs, the pick and place machine only places the components needed on the pc board. When no ethernet or no ethercat is ordered, then no phy is placed.
But then the original code doesn't run any more. When no eth phy is present, the code detects this, runs on ETH_LWIP_ERROR_PHY_DEVICE_ID and stops.
To solve the problem, we have to delete the app, run solver and generate code. But this approach has a big drawback: now we have to maintain as many code versions as hardware versions exist (at the moment 4 versions).
There should be a possibility to inactivate an app, which means: the app is still loaded, the solver processes the app as before and occupies the needed resources, but 'Generate Code' doesn't generate any code and the code works like if the app has not been added.
This problem appears only at interfaces which use external components the XMC checks as present.
At the moment, as workaround, we delete the generated files of ethcat or ethnet and deactivate the init call. This must be done again after each 'Generate Code'. Combined with deactivation of our own code parts accessing the apps by a compiler switch, this runs. But we would prefer an official solution like a checkbox or context menue function 'Inactivate App' and then the app is inactive and at the app tree greyed out or so. Please is there a chance for?
Best Regards
Wolfgang Show Less
a new problem and a new idea.
We have a pc board with many interfaces, e.g. ethernet and ethercat, but not all customers order all interfaces. To minimize costs, the pick and place machine only places the components needed on the pc board. When no ethernet or no ethercat is ordered, then no phy is placed.
But then the original code doesn't run any more. When no eth phy is present, the code detects this, runs on ETH_LWIP_ERROR_PHY_DEVICE_ID and stops.
To solve the problem, we have to delete the app, run solver and generate code. But this approach has a big drawback: now we have to maintain as many code versions as hardware versions exist (at the moment 4 versions).
There should be a possibility to inactivate an app, which means: the app is still loaded, the solver processes the app as before and occupies the needed resources, but 'Generate Code' doesn't generate any code and the code works like if the app has not been added.
This problem appears only at interfaces which use external components the XMC checks as present.
At the moment, as workaround, we delete the generated files of ethcat or ethnet and deactivate the init call. This must be done again after each 'Generate Code'. Combined with deactivation of our own code parts accessing the apps by a compiler switch, this runs. But we would prefer an official solution like a checkbox or context menue function 'Inactivate App' and then the app is inactive and at the app tree greyed out or so. Please is there a chance for?
Best Regards
Wolfgang Show Less
DAVE™
Dear all, I am very new to microcontroller programming. What I want to do is to enable CAN Bus communication on the xmc 4300:I have a flow measurement...
Show More
Dear all,
I am very new to microcontroller programming. What I want to do is to enable CAN Bus communication on the xmc 4300:
I have a flow measurement device which has a digital output . With a Serial cable with a Standard female D-Sub conncetor, I connected the device to the CAN Transceiver of the xmc4300.
Now my question is: How can I actually receive the Messages of the flow measurement device?
According to the guide of the measurement device, the data Transmission runs without any request from the host System and the Interface has to be initialized to the following Parameters:
- Baud rate 38400 Baud
- Bits 8 data bits
- Start bit 1
- Stop bit 1
- Parity no
- No Hardware (CTS/RTS) or Software (Xon/Xoff) handshake
Also, according to the guide, the digital Interface transmits every 100ms the following ASCII data string:
ee_ss_aaa_p.pp_fffffff_mmmmmmm_ssssssss_tttttt_,
where the different Bytes have meanings like error Messages, Status Information and flow Information (which is what I am particulary intersted in).
How can I implement this using DAVE (and probably the CAN app?)? Where can I find the message sent by the measuring device?
In the examples offered by Infineon, I could only find implementations where they used two CAN apps communicating with each other. However, in my case, I should only need one CAN bus app, because my second node should be my flow measuring device?
I am sorry if the questions are very stupid, I guess I simply have not properly understood how the CAN bus works yet..
Any help will be really appreciated. Thank you !
Show Less
I am very new to microcontroller programming. What I want to do is to enable CAN Bus communication on the xmc 4300:
I have a flow measurement device which has a digital output . With a Serial cable with a Standard female D-Sub conncetor, I connected the device to the CAN Transceiver of the xmc4300.
Now my question is: How can I actually receive the Messages of the flow measurement device?
According to the guide of the measurement device, the data Transmission runs without any request from the host System and the Interface has to be initialized to the following Parameters:
- Baud rate 38400 Baud
- Bits 8 data bits
- Start bit 1
- Stop bit 1
- Parity no
- No Hardware (CTS/RTS) or Software (Xon/Xoff) handshake
Also, according to the guide, the digital Interface transmits every 100ms the following ASCII data string:
ee_ss_aaa_p.pp_fffffff_mmmmmmm_ssssssss_tttttt_
where the different Bytes have meanings like error Messages, Status Information and flow Information (which is what I am particulary intersted in).
How can I implement this using DAVE (and probably the CAN app?)? Where can I find the message sent by the measuring device?
In the examples offered by Infineon, I could only find implementations where they used two CAN apps communicating with each other. However, in my case, I should only need one CAN bus app, because my second node should be my flow measuring device?
I am sorry if the questions are very stupid, I guess I simply have not properly understood how the CAN bus works yet..
Any help will be really appreciated. Thank you !
DAVE™
Hello,I generated a Dave Project for XMC 4700 and it works fine with the Controller.Now I want to test some functions without the Controller. Only wit...
Show More
Hello,
I generated a Dave Project for XMC 4700 and it works fine with the Controller.
Now I want to test some functions without the Controller. Only with the IDE. The target ist to write some test functions for the Code, to check it, before I flash the code on the controller.
How can I do this?
Thanks for your help
S.H. Show Less
I generated a Dave Project for XMC 4700 and it works fine with the Controller.
Now I want to test some functions without the Controller. Only with the IDE. The target ist to write some test functions for the Code, to check it, before I flash the code on the controller.
How can I do this?
Thanks for your help
S.H. Show Less
DAVE™
Hey people i have a problem im from ardiuno ide and moved to dave which is 100% better but my prpblem seem to be bit read set and modify a individual ...
Show More
Hey people i have a problem im from ardiuno ide and moved to dave which is 100% better but my prpblem seem to be bit read set and modify a individual bit how do i do that with dave?
Reading Bits and setting individual Bits is what i wanna do thats my question i see in ardiuno they have bitread() can i use that? bitRead(x, n) would the x beconsider the register i wanna access and n would be the specific bit right i wanna read ??? How can i apply this to dave. Also i notice dave has spi recieve is that the same as reading a byte? Show Less
Reading Bits and setting individual Bits is what i wanna do thats my question i see in ardiuno they have bitread() can i use that? bitRead(x, n) would the x beconsider the register i wanna access and n would be the specific bit right i wanna read ??? How can i apply this to dave. Also i notice dave has spi recieve is that the same as reading a byte? Show Less
DAVE™
Hello,After upgrading DFP Libary fom v2.11 to 2.12.1 I observe my project using I2C devices on an XMC4500was not working anymore.After some investigat...
Show More
Hello,
After upgrading DFP Libary fom v2.11 to 2.12.1 I observe my project using I2C devices on an XMC4500
was not working anymore.
After some investigation, I found that that code for XMC_I2C_CH_SetBaudrateEx is probably wrong
Left side : wrong original, right side ( corrected version)
This is really frightening!! I really wonder how you test your library updates! Aparently badly.
A simple code review would have catched this.
😞
Jorge Show Less
After upgrading DFP Libary fom v2.11 to 2.12.1 I observe my project using I2C devices on an XMC4500
was not working anymore.
After some investigation, I found that that code for XMC_I2C_CH_SetBaudrateEx is probably wrong
Left side : wrong original, right side ( corrected version)
This is really frightening!! I really wonder how you test your library updates! Aparently badly.
A simple code review would have catched this.
😞
Jorge Show Less
DAVE™
Hi Infineon,is it possible to start 3 instances of DAVE on the same PC at the same time, using 3 independent JLink servers connected via 3 USB ports t...
Show More
Hi Infineon,
is it possible to start 3 instances of DAVE on the same PC at the same time, using 3 independent JLink servers connected via 3 USB ports to 3 debuggers connected to 3 targets? These 3 targets are connected via data links and I want to switch fast between the debuggers of the 3 targets when testing/debugging the whole system.
Or are 3 PCs needed?
Best Regards
Wolfgang Show Less
is it possible to start 3 instances of DAVE on the same PC at the same time, using 3 independent JLink servers connected via 3 USB ports to 3 debuggers connected to 3 targets? These 3 targets are connected via data links and I want to switch fast between the debuggers of the 3 targets when testing/debugging the whole system.
Or are 3 PCs needed?
Best Regards
Wolfgang Show Less