DAVE™ Forum Discussions
I cannot find any options inside DAVE to create a SDK project. Any help is appreciated. Show Less
I am using Dave 4, J-Link v610i to program the XMC4500 - relax lite kit. I tried to run the demo easystart program but the debugger does not work properly.
Even if I set breakpoint in the main.c the debugger does not stop at the breakpoint and it gets terminated. Please help me to solve the issue.
Suraj Show Less
A XML file describing the folder structure of the generated code is all what MDK-ARM needs to be able to import the generated libraries.
The following procedure helps generate the XML file.
[#1] Modify DAVE CE Preferences
- Goto “Windows -> Preferences -> DAVE -> DAVE CE Preferences -> Resource Manager Settings”
- In the Resource Manager Settings grouping, select “Generate gpdsc file to import DAVE generated code in Keil MDK v5.10 or higher”
[#2] Generate the gpdsc file
- Click on the “Generate Code” icon to generate the code as well as the gpdsc file.
[#3] Launching the uVision Project
- All you have to do now is to double click on the gpdsc file. This launches uVision which creates a uVision project. Any change that you make now to the generated files in DAVE will automatically reflect in uVision project. Show Less
The Problem is that I can insert like in the screenshot.
the button "next" is schwitching from gray to a black text (the button is enabled)
I can press the button and nothing is Happening.
I don't get the next page "Microcontroller Selection Page"
I get this page only on my pc ouside of the virtual machine. I installed the same Dave Version on my normal pc.
I'm using all the time my virtual machine to develop my stuff
hopefully somebody can give me an Fastback.
Only in my virtual machine I'm using my svn system
thanks a lot Show Less
DAVE App "EVENT_GENERATOR" for ERU has only single "pattern" and no "tout" output.
According to the reference manual, OGU in ERU has 4 signals to detect pattern, and "ERU_TOUT" without gating.
Would you tell me the description of RM is correct and the DAVE App is not corret ?
Needed sample code for DAVE™ IDE to drive L9825 Driver IC with daisy chain connectivity, Outputs are not coming, unable to set register's bits of driver IC module. Anyone can help with sample code for DAVE IDE & XMC-4100 series MCU with L9825 Driver IC module.
Thanks in advanceShow Less
Thanks in advance. Show Less
I tried to set the MSB first setting in the DAVE App, but when I checked the signal with an oscilloscope the bits still came in LSB. The generated code shows this addition to UART_0_init() in uart_conf.c:
/* MSB first */
This function is in xmc_usic.h and seems correct:
__STATIC_INLINE void XMC_USIC_CH_SetShiftDirection(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_SHIFT_DIRECTION_t shift_direction)
channel->SCTR = (uint32_t)(channel->SCTR & (~USIC_CH_SCTR_SDIR_Msk)) | (uint32_t)shift_direction;
But the XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST setting is defined as:
XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST = 0x1UL << USIC_CH_SCTR_SDIR_Msk /**< Shift MSB first. The first data bit of a data word is located at the bit position given by the configured word length. */
when it should be defined as:
XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST = 0x1UL << USIC_CH_SCTR_SDIR_Pos /**< Shift MSB first. The first data bit of a data word is located at the bit position given by the configured word length. */
This is in the xmc_usic.h file. I'm a little wary of correcting the code in that file because I don't want to mess anything up (and it hurts the portability of the code when the standard include files are changed), and the Dave code gets regenerated automatically.
Any recommendations on the best way to set that bit without messing around with the include files? Show Less
I'm trying to follow the getting started instructions with distance2go and have got as far as trying to run debug on the example project in Dave. There are no build errors or problems reported, but when debugging is started a popup appears:
'Coloring source file' has encountered a problem.
An internal error has occurred
An internal error has occurred.
Clicking on OK leaves the program paused on the entry to main (as expected on starting debug), but the popup returns if I click on continue
This is my first time trying to get both Dave and distance2go working, so I may have got something simple wrong. I have repeated the installation with the same results, and updated both Dave and the APPs, again with the same results.
Any advice in fixing this would be great.
Thanks Show Less