DAVE™ Forum Discussions
DAVE™
Dear all,I use DAVE (v3 & v4) on one PC (Lab PC) with installed KAV 2012. This Kombination is working fine.I installed DAVE v3 and v4 (each only, and ...
Show More
Dear all,
I use DAVE (v3 & v4) on one PC (Lab PC) with installed KAV 2012. This Kombination is working fine.
I installed DAVE v3 and v4 (each only, and deinstalled the previous version) on my Development PC.
First I got the message that Access is denied during make process. (KAV 2013). I found in the Internet that KAV is the problem. I deactivated KAV and I could compile the code.
Then I updated to KAV 2014 and then to KAV 2015. In both cases when I start the App Tool and choose an apllication (e.g. BLDC) the solver starts and never end the task.
DAVE is hanging. The only way is to kill the App task via the Windows Task Manager.
I put DAVE execcutable to the tool exception list in KAV. But the same behaviour. DAVE is not working with KAV >2013. And I can not deactive KAV. The door to the PC is open.
Exist special instruction, or installation procedures mith Kaspersky? Maybe exist further known problems with other tools?
KAV is standard and I can not believe this should be an issue. But at this moment seems it KAV is the only issue. I couldn't test KAV2012 on office PC because the version 2012 is not available.
Thanks in advance
Helge Show Less
I use DAVE (v3 & v4) on one PC (Lab PC) with installed KAV 2012. This Kombination is working fine.
I installed DAVE v3 and v4 (each only, and deinstalled the previous version) on my Development PC.
First I got the message that Access is denied during make process. (KAV 2013). I found in the Internet that KAV is the problem. I deactivated KAV and I could compile the code.
Then I updated to KAV 2014 and then to KAV 2015. In both cases when I start the App Tool and choose an apllication (e.g. BLDC) the solver starts and never end the task.
DAVE is hanging. The only way is to kill the App task via the Windows Task Manager.
I put DAVE execcutable to the tool exception list in KAV. But the same behaviour. DAVE is not working with KAV >2013. And I can not deactive KAV. The door to the PC is open.
Exist special instruction, or installation procedures mith Kaspersky? Maybe exist further known problems with other tools?
KAV is standard and I can not believe this should be an issue. But at this moment seems it KAV is the only issue. I couldn't test KAV2012 on office PC because the version 2012 is not available.
Thanks in advance
Helge Show Less
DAVE™
Hi,I need urgently the examples listed below:POSIF in the quadrature encoder mode with index. showing how to get position, revolution and velocity.CCU...
Show More
Hi,
I need urgently the examples listed below:
POSIF in the quadrature encoder mode with index. showing how to get position, revolution and velocity.
CCU8 as full bridge phase shifted DC/DC PWM driver.
Two ADCs in parallel triggered by the CCU8 for a three phase inverter application, so the currents can be triggered simultaneously.
Someone would add more requests of examples for the next release of XMClib? Show Less
I need urgently the examples listed below:
POSIF in the quadrature encoder mode with index. showing how to get position, revolution and velocity.
CCU8 as full bridge phase shifted DC/DC PWM driver.
Two ADCs in parallel triggered by the CCU8 for a three phase inverter application, so the currents can be triggered simultaneously.
Someone would add more requests of examples for the next release of XMClib? Show Less
DAVE™
Whenever I try to update the DAVE APPs and even if I select the checkbox "Hide items that are already downloaded", I still get the option to download ...
Show More
Whenever I try to update the DAVE APPs and even if I select the checkbox "Hide items that are already downloaded", I still get the option to download several APPs that are already installed.
Some examples are the DAC, DAC_LUT and ADC_MEASUREMENT.
I'm using DAVE 4.1.4. Show Less
Some examples are the DAC, DAC_LUT and ADC_MEASUREMENT.
I'm using DAVE 4.1.4. Show Less
DAVE™
Hello all,I need to detect rising and falling edges on an XMC4500 pin, and I need to know whether the edge is rising or falling (the event will trigge...
Show More
Hello all,
I need to detect rising and falling edges on an XMC4500 pin, and I need to know whether the edge is rising or falling (the event will trigger an interrupt handling function).
Is it possible to do this using DAVE apps suitably connected? Show Less
I need to detect rising and falling edges on an XMC4500 pin, and I need to know whether the edge is rising or falling (the event will trigger an interrupt handling function).
Is it possible to do this using DAVE apps suitably connected? Show Less
DAVE™
Hi,I'm working whit a XMC4400-F100-K-512.In the XMC4400 datasheet, i can use CAN_N0_TXD on the 2.0 pin.With XMC Pin out tools 2.1.2, i can use CAN_N0_...
Show More
Hi,
I'm working whit a XMC4400-F100-K-512.
In the XMC4400 datasheet, i can use CAN_N0_TXD on the 2.0 pin.
With XMC Pin out tools 2.1.2, i can use CAN_N0_TXD on the 2.0 pin.
BUT with DAVE 4.1.4, I can't choose the pin 2.0 for the CAN_N0_TXD function.
Where is the bug, DAVE or Datasheet ?
Regards.
Olivier. Show Less
I'm working whit a XMC4400-F100-K-512.
In the XMC4400 datasheet, i can use CAN_N0_TXD on the 2.0 pin.
With XMC Pin out tools 2.1.2, i can use CAN_N0_TXD on the 2.0 pin.
BUT with DAVE 4.1.4, I can't choose the pin 2.0 for the CAN_N0_TXD function.
Where is the bug, DAVE or Datasheet ?
Regards.
Olivier. Show Less
DAVE™
Hi,i can't get my program run. It's an unchanged EasyMain example. Tried several things but it didn't work out...please help. Inserted some extra info...
Show More
Hi,
i can't get my program run. It's an unchanged EasyMain example. Tried several things but it didn't work out...please help.
Inserted some extra information via -v:
Some of the errors including the first refer to this line in subdir.mk:
Thanks Show Less
i can't get my program run. It's an unchanged EasyMain example. Tried several things but it didn't work out...please help.
Inserted some extra information via -v:
15:32:52 **** Build of configuration Debug for project Test1 ****
"\"C:\\DAVEv4\\DAVE-4.1.4\\eclipse\\ARM-GCC-49\\bin\\make\"" --output-sync -j4 all
'Building file: ../Startup/startup_XMC4500.S'
Using built-in specs.
'Invoking: ARM-GCC Assembler'
COLLECT_GCC=C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc
Target: arm-none-eabi
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -v -x assembler-with-cpp -DXMC4500_F100x1024 -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1" -Wall -Wa,-adhlns="Startup/startup_XMC4500.o.lst" -mfloat-abi=soft -c -fmessage-length=0 -MMD -MP -MF"Startup/startup_XMC4500.d" -MT"Startup/startup_XMC4500.d Startup/startup_XMC4500.o" -mcpu=cortex-m4 -mthumb -g -gdwarf-2 -o "Startup/startup_XMC4500.o" "../Startup/startup_XMC4500.S"
Configured with: /home/build/work/GCC-4-9-build/src/gcc/configure --build=i686-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/home/build/work/GCC-4-9-build/install-mingw --libexecdir=/home/build/work/GCC-4-9-build/install-mingw/lib --infodir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-4-9-build/install-mingw/arm-none-eabi --with-libiconv-prefix=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-gmp=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpfr=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpc=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-isl=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-cloog=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-libelf=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r
Startup/subdir.mk:25: recipe for target 'Startup/startup_XMC4500.o' failed
Thread model: single
gcc version 4.9.3 20141119 (release) [ARM/embedded-4_9-branch revision 218278] (GNU Tools for ARM Embedded Processors)
COLLECT_GCC_OPTIONS='-v' '-D' 'XMC4500_F100x1024' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1' '-Wall' '-mfloat-abi=soft' '-c' '-fmessage-length=0' '-MMD' '-MP' '-MF' 'Startup/startup_XMC4500.d' '-MT' 'Startup/startup_XMC4500.d Startup/startup_XMC4500.o' '-mcpu=cortex-m4' '-mthumb' '-g' '-gdwarf-2' '-o' 'Startup/startup_XMC4500.o'
cc1 -E -lang-asm -quiet -v -I C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc -I C:\Users\Nino\Documents\DAVE-Workspace\Test1 -imultilib armv7e-m -iprefix c:\progra~2\egcs\lib\gcc-lib\arm-none-eabi/4.9.3/ -isysroot c:\davev4\dave-4.1.4\eclipse\arm-gcc-49\bin\../arm-none-eabi -MMD Startup/startup_XMC4500.d -MF Startup/startup_XMC4500.d -MP -MT Startup/startup_XMC4500.d Startup/startup_XMC4500.o -D__USES_INITFINI__ -D XMC4500_F100x1024 ../Startup/startup_XMC4500.S -mfloat-abi=soft -mcpu=cortex-m4 -mthumb -Wall -fmessage-length=0 -g -gdwarf-2 -fworking-directory -fno-directives-only -o C:\Users\Nino\AppData\Local\Temp\ccoKMgfl.s
'Building file: ../Startup/system_XMC4500.c'
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
'Invoking: ARM-GCC C Compiler'
make: *** [Startup/startup_XMC4500.o] Error 1
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -v -DXMC4500_F100x1024 -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\src" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Include" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Infineon/XMC4500_series/Include" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=soft -Wa,-adhlns="Startup/system_XMC4500.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Startup/system_XMC4500.d" -MT"Startup/system_XMC4500.d Startup/system_XMC4500.o" -mcpu=cortex-m4 -mthumb -g -gdwarf-2 -o "Startup/system_XMC4500.o" "../Startup/system_XMC4500.c"
make: *** Waiting for unfinished jobs....
Startup/subdir.mk:31: recipe for target 'Startup/system_XMC4500.o' failed
Using built-in specs.
COLLECT_GCC=C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc
Target: arm-none-eabi
Thread model: single
gcc version 4.9.3 20141119 (release) [ARM/embedded-4_9-branch revision 218278] (GNU Tools for ARM Embedded Processors)
COLLECT_GCC_OPTIONS='-v' '-D' 'XMC4500_F100x1024' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\src' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Include' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Infineon/XMC4500_series/Include' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1' '-I' 'C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries' '-O0' '-ffunction-sections' '-fdata-sections' '-Wall' '-std=gnu99' '-mfloat-abi=soft' '-pipe' '-c' '-fmessage-length=0' '-MMD' '-MP' '-MF' 'Startup/system_XMC4500.d' '-MT' 'Startup/system_XMC4500.d Startup/system_XMC4500.o' '-mcpu=cortex-m4' '-mthumb' '-g' '-gdwarf-2' '-o' 'Startup/system_XMC4500.o'
cc1 -quiet -v -I C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc -I C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\src -I C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Include -I C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Infineon/XMC4500_series/Include -I C:\Users\Nino\Documents\DAVE-Workspace\Test1 -I C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries -imultilib armv7e-m -iprefix c:\progra~2\egcs\lib\gcc-lib\arm-none-eabi/4.9.3/ -isysroot c:\davev4\dave-4.1.4\eclipse\arm-gcc-49\bin\../arm-none-eabi -MMD Startup/system_XMC4500.d -MF Startup/system_XMC4500.d -MP -MT Startup/system_XMC4500.d Startup/system_XMC4500.o -D__USES_INITFINI__ -D XMC4500_F100x1024 ../Startup/system_XMC4500.c -quiet -dumpbase system_XMC4500.c -mfloat-abi=soft -mcpu=cortex-m4 -mthumb -auxbase-strip Startup/system_XMC4500.o -g -gdwarf-2 -O0 -Wall -std=gnu99 -version -ffunction-sections -fdata-sections -fmessage-length=0 -o - |
as -v -I C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc -I C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\src -I C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Include -I C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Infineon/XMC4500_series/Include -I C:\Users\Nino\Documents\DAVE-Workspace\Test1 -I C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries -mcpu=cortex-m4 -mfloat-abi=soft -meabi=5 -adhlns=Startup/system_XMC4500.o.lst -o Startup/system_XMC4500.o
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: *** [Startup/system_XMC4500.o] Error 1
'Building file: ../Libraries/XMCLib/src/xmc4_eru.c'
Using built-in specs.
'Invoking: ARM-GCC C Compiler'
COLLECT_GCC=C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -v -DXMC4500_F100x1024 -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\inc" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries\XMCLib\src" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Include" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1/Libraries/CMSIS/Infineon/XMC4500_series/Include" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1" -I"C:\Users\Nino\Documents\DAVE-Workspace\Test1\Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=soft -Wa,-adhlns="Libraries/XMCLib/src/xmc4_eru.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Libraries/XMCLib/src/xmc4_eru.d" -MT"Libraries/XMCLib/src/xmc4_eru.d Libraries/XMCLib/src/xmc4_eru.o" -mcpu=cortex-m4 -mthumb -g -gdwarf-2 -o "Libraries/XMCLib/src/xmc4_eru.o" "../Libraries/XMCLib/src/xmc4_eru.c"
Target: arm-none-eabi
Libraries/XMCLib/src/subdir.mk:105: recipe for target 'Libraries/XMCLib/src/xmc4_eru.o' failed
Thread model: single
Libraries/XMCLib/src/xmc4_eru.o
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: *** [Libraries/XMCLib/src/xmc4_eru.o] Error 1
15:32:54 Build Finished (took 1s.335ms)
Some of the errors including the first refer to this line in subdir.mk:
@echo 'Building file: $<'
Thanks Show Less
DAVE™
Using the DAVE4 Timer app, I configured a CCU4 slice to have a period of 50 microseconds in the App GUI:Its event is connected to an interrupt in whic...
Show More
Using the DAVE4 Timer app, I configured a CCU4 slice to have a period of 50 microseconds in the App GUI:
Its event is connected to an interrupt in which I toggle a GPIO line high and low. When I execute the code I can
see with an oscilloscope that the interrupt arrives with a period of 50 us, just as I requested. This much works nicely.
However, If I then examine that timer's TIMER struct instance at runtime, I find that the .time_interval_value_us field
of the structure has been set to 5000. The trailing '_us' in the field name leads me to believe that the value stored in this
field has units of microseconds, but it actually has a unit value of 10ns.
A text search through the project finds the following line in timer_confc.tmpl:
Here it appears that the GUI code is deliberately multiplying the user entered value in microseconds by 100.
There appears to be an inconsistency here. Either the units label on the form is incorrect, or the suffix of the TIMER struct
field name is incorrect. Other code that I wrote that assumes units of this field to be in microseconds becomes incorrect in this case.
Which is meant to be right? Or, are they both meant to have units of microseconds, and the factor of 100 in the GUI code is wrong.
Please advise regarding the intended behavior, and please add it to the bug fix list if it is a bug. I will code around this for now.
Best Regards,
Kurt J. Show Less
Its event is connected to an interrupt in which I toggle a GPIO line high and low. When I execute the code I can
see with an oscilloscope that the interrupt arrives with a period of 50 us, just as I requested. This much works nicely.
However, If I then examine that timer's TIMER struct instance at runtime, I find that the .time_interval_value_us field
of the structure has been set to 5000. The trailing '_us' in the field name leads me to believe that the value stored in this
field has units of microseconds, but it actually has a unit value of 10ns.
A text search through the project finds the following line in timer_confc.tmpl:
.time_interval_value_us = ${((appIns.gfloat_time_interval.value * 100)).toLong()}U,
Here it appears that the GUI code is deliberately multiplying the user entered value in microseconds by 100.
There appears to be an inconsistency here. Either the units label on the form is incorrect, or the suffix of the TIMER struct
field name is incorrect. Other code that I wrote that assumes units of this field to be in microseconds becomes incorrect in this case.
Which is meant to be right? Or, are they both meant to have units of microseconds, and the factor of 100 in the GUI code is wrong.
Please advise regarding the intended behavior, and please add it to the bug fix list if it is a bug. I will code around this for now.
Best Regards,
Kurt J. Show Less
DAVE™
Hello,Starting form project "xmc4500_relaxkit_lwip_httpserver_netconn" I want to remove CMSIS RTOS and replace it with FreeRTOS. I have written cmsis ...
Show More
Hello,
Starting form project "xmc4500_relaxkit_lwip_httpserver_netconn" I want to remove CMSIS RTOS and replace it with FreeRTOS. I have written cmsis wrapper which is included in the project. However the application is not working yet {probably failing on some memory allocation}. Is there someone that is willing to help to develop this example with me? If it will work I will post it here.
rum Show Less
Starting form project "xmc4500_relaxkit_lwip_httpserver_netconn" I want to remove CMSIS RTOS and replace it with FreeRTOS. I have written cmsis wrapper which is included in the project. However the application is not working yet {probably failing on some memory allocation}. Is there someone that is willing to help to develop this example with me? If it will work I will post it here.
rum Show Less
DAVE™
I need to perform maths functions like sqrt, pow, etc as fast as possible on the xmc4500.Do I need to use an App to enable and utilise the Floating Po...
Show More
I need to perform maths functions like sqrt, pow, etc as fast as possible on the xmc4500.
Do I need to use an App to enable and utilise the Floating Point Unit (FPU) ?
Do I need to include an FPU specific maths library ?
Any help and advise would be greatly appreciated.
Aaron Show Less
Do I need to use an App to enable and utilise the Floating Point Unit (FPU) ?
Do I need to include an FPU specific maths library ?
Any help and advise would be greatly appreciated.
Aaron Show Less
DAVE™
Hello,with every other Eclipse-based IDE I used before, when I close it and restart it all the previously opened tabs of source/header files get resto...
Show More
Hello,
with every other Eclipse-based IDE I used before, when I close it and restart it all the previously opened tabs of source/header files get restored.
On DAVE however this is not happening properly.
When I start it, I can see the restored session right after the splash-screen but then a Window pops up "Progress Information" which loads the Project (it does things like "Updating Graph Views..."
and immediatly closes all the restored tabs so I have to start every time with a blank workspace without any open tabs.
I'm sure this should be possible to change somehow or is this a bug of DAVE?
Thanks! Show Less
with every other Eclipse-based IDE I used before, when I close it and restart it all the previously opened tabs of source/header files get restored.
On DAVE however this is not happening properly.
When I start it, I can see the restored session right after the splash-screen but then a Window pops up "Progress Information" which loads the Project (it does things like "Updating Graph Views..."
and immediatly closes all the restored tabs so I have to start every time with a blank workspace without any open tabs.
I'm sure this should be possible to change somehow or is this a bug of DAVE?
Thanks! Show Less