DAVE™ Forum Discussions
DAVE™
I have downloaded DAVE_4-4-2_64bit_2018-02-23.zip twice but each time both 7-zip and winzip report a crc error
DAVE™
I read in the forum that among the various apps of Dave is not present to configure the POSIF device.Why??Of course it is configurable using XMC_Lib, ...
Show More
I read in the forum that among the various apps of Dave is not present to configure the POSIF device.
Why??
Of course it is configurable using XMC_Lib, but it is certainly more convenient to use Dave App.
Also if I make a configuration of all my devices using Dave App, then I can also create a report, print the graphic configuration (very nice). Too bad that it is not possible to do this even for POSIF.
Why is there this lack? POSIF is an important device in motor control, why did you make this choice?
Regards
Andrea Show Less
Why??
Of course it is configurable using XMC_Lib, but it is certainly more convenient to use Dave App.
Also if I make a configuration of all my devices using Dave App, then I can also create a report, print the graphic configuration (very nice). Too bad that it is not possible to do this even for POSIF.
Why is there this lack? POSIF is an important device in motor control, why did you make this choice?
Regards
Andrea Show Less
DAVE™
I have a DAVE project with about forty DAVE apps and perhaps a hundred or so C source files.Suddenly, whenever I would launch DAVE, it would error "Pr...
Show More
I have a DAVE project with about forty DAVE apps and perhaps a hundred or so C source files.
Suddenly, whenever I would launch DAVE, it would error "Problem occurred while restoring the project data. The project 'MYPROJECTNAME' is not usable any more.
After launch, there are about 12 errors in the "Problems" tab of the form: "Groovy object not found for (MY NAME FOR A DAVE APP)". I can still work with the source of my project (thank goodness). I can still compile, but all DAPP side things are broken.
Is there a way to fix this project? Show Less
Suddenly, whenever I would launch DAVE, it would error "Problem occurred while restoring the project data. The project 'MYPROJECTNAME' is not usable any more.
After launch, there are about 12 errors in the "Problems" tab of the form: "Groovy object not found for (MY NAME FOR A DAVE APP)". I can still work with the source of my project (thank goodness). I can still compile, but all DAPP side things are broken.
Is there a way to fix this project? Show Less
DAVE™
Hello,an IoT Task based on the XMC4500 Relax Kit should be implemented using the unique component support in DAVE4. Currently, I try to find out what ...
Show More
Hello,
an IoT Task based on the XMC4500 Relax Kit should be implemented using the unique component support in DAVE4. Currently, I try to find out what was wrong with my approach since it did not succeed after a couple of days.
A longer time ago the 'lwip' project was used as a basis for implementing an IoT client with PWM and ADC using a leightweight proprietary communication protocol. The entry point to own code was established after analyzing a web request for the GET Keyword and then branching to either a usual web Server behaviour or to controlling/monitoring the IoT part. This works fine for a longer time already.
The additional Task was to save measurement data on an SD card with a common exFAT file system. The 'XMC4500 webserver' has been used as a template for the task.
The following results have been accomplished so far:
1) the SD mode used in the webserver project did not work on the XMC4500 Relax Kit hardware that was purchased 2018
2) the SPI mode for the SDMMC provided access to the SD card however the exFAT file system was not acknowledged
3) the exFAT and the LFN support could not be added in the DAVE4 components but had to be adjusted every time after a source generation in the appropriate .c file
4) the FATFS module could not be added to the existing project derived from the 'lwip' project, possibly because of RTOS configuration problems
5) the chosen approach was to use the DAVE4 LWIP and FATFS components as a basis
6) the FATFS component succeeded after above mentioned modifications for the exFAT file System.
7) the application specific code from the 'loT' Project does not work with the LWIP component (Network functionality is not working)
😎 some initial problems could be solved by adjusting the RTOS thread settings (what was not obvious and difficult to find)
Now I am looking for a way to get the IoT application working with SDMMC support finally.
Thanks for any suggestions how to proceed.
Eckhard Show Less
an IoT Task based on the XMC4500 Relax Kit should be implemented using the unique component support in DAVE4. Currently, I try to find out what was wrong with my approach since it did not succeed after a couple of days.
A longer time ago the 'lwip' project was used as a basis for implementing an IoT client with PWM and ADC using a leightweight proprietary communication protocol. The entry point to own code was established after analyzing a web request for the GET Keyword and then branching to either a usual web Server behaviour or to controlling/monitoring the IoT part. This works fine for a longer time already.
The additional Task was to save measurement data on an SD card with a common exFAT file system. The 'XMC4500 webserver' has been used as a template for the task.
The following results have been accomplished so far:
1) the SD mode used in the webserver project did not work on the XMC4500 Relax Kit hardware that was purchased 2018
2) the SPI mode for the SDMMC provided access to the SD card however the exFAT file system was not acknowledged
3) the exFAT and the LFN support could not be added in the DAVE4 components but had to be adjusted every time after a source generation in the appropriate .c file
4) the FATFS module could not be added to the existing project derived from the 'lwip' project, possibly because of RTOS configuration problems
5) the chosen approach was to use the DAVE4 LWIP and FATFS components as a basis
6) the FATFS component succeeded after above mentioned modifications for the exFAT file System.
7) the application specific code from the 'loT' Project does not work with the LWIP component (Network functionality is not working)
😎 some initial problems could be solved by adjusting the RTOS thread settings (what was not obvious and difficult to find)
Now I am looking for a way to get the IoT application working with SDMMC support finally.
Thanks for any suggestions how to proceed.
Eckhard Show Less
DAVE™
Hello.Is it possible to import a existing project in Dave???It seems to be a easy question with the answer: Yesbut i canot compile a project after imp...
Show More
Hello.
Is it possible to import a existing project in Dave???
It seems to be a easy question with the answer: Yes
but i canot compile a project after import.
What happend:
I copied a complete working project-folder (from a other user) to a neu folder (including .cproject, folder .settings, .metadata...)
I import the project a) as existing project
I import the project b) as dave project
I correct the path of the D_LibraryStore_4.1 in the properties (after import a wrong path is set).
In both cases, i get many errormesages at building:
d:/dave4/eclipse/arm-gcc-49/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: MyProject.elf uses VFP register arguments, d:/dave4/eclipse/arm-gcc-49/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7e-m/softfp\libg_nano.a(lib_a-nano-svfprintf.o) does not
I canot choose a microcontroller at properties - c/C++ Builder - Microcontroller Info, because Error: Could Not Accept Changes; The currently displayed page contains invalid values. is shown
I canot choose a memory Settings at properties - c/C++ Builder - Memory Settings, because Error: Cannot launch this page in multi configuration mode.; Re-launch the dialog and navigate to this page after selecting single configuration.
-> i have only one (1) procject. Even if i close the project, the error appears.
Any Idea???
: Show Less
Is it possible to import a existing project in Dave???
It seems to be a easy question with the answer: Yes
but i canot compile a project after import.
What happend:
I copied a complete working project-folder (from a other user) to a neu folder (including .cproject, folder .settings, .metadata...)
I import the project a) as existing project
I import the project b) as dave project
I correct the path of the D_LibraryStore_4.1 in the properties (after import a wrong path is set).
In both cases, i get many errormesages at building:
d:/dave4/eclipse/arm-gcc-49/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: MyProject.elf uses VFP register arguments, d:/dave4/eclipse/arm-gcc-49/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7e-m/softfp\libg_nano.a(lib_a-nano-svfprintf.o) does not
I canot choose a microcontroller at properties - c/C++ Builder - Microcontroller Info, because Error: Could Not Accept Changes; The currently displayed page contains invalid values. is shown
I canot choose a memory Settings at properties - c/C++ Builder - Memory Settings, because Error: Cannot launch this page in multi configuration mode.; Re-launch the dialog and navigate to this page after selecting single configuration.
-> i have only one (1) procject. Even if i close the project, the error appears.
Any Idea???
: Show Less
DAVE™
Hello,I use a USIC in ASC mode (UART). Now I want to improve performance using a GPDMA.What I want to do is: Software only writes to a memory buffer a...
Show More
Hello,
I use a USIC in ASC mode (UART). Now I want to improve performance using a GPDMA.
What I want to do is: Software only writes to a memory buffer and starts sending. GPDMA sends data continously to USIC until everything is sent. How do I achieve this?
The manual mentions a lot of things. There are the terms flow control and handshaking. What configuration do I need? The DMA003 seems not very helpful. In my mind I would need the DMA Line Router to make the USIC the DMA inform whether he can accept data. But which thing is the flow controller? A sample code would be quite helpful. Or at least a description how to do this.
// EDIT: The next thing is that the UART uses FIFO (32 byte for receive, same for transmit). So if UART is the trigger, I need to map a SRx from USIC. But which "event" should go to the SR.
Kind regards,
Christian Show Less
I use a USIC in ASC mode (UART). Now I want to improve performance using a GPDMA.
What I want to do is: Software only writes to a memory buffer and starts sending. GPDMA sends data continously to USIC until everything is sent. How do I achieve this?
The manual mentions a lot of things. There are the terms flow control and handshaking. What configuration do I need? The DMA003 seems not very helpful. In my mind I would need the DMA Line Router to make the USIC the DMA inform whether he can accept data. But which thing is the flow controller? A sample code would be quite helpful. Or at least a description how to do this.
// EDIT: The next thing is that the UART uses FIFO (32 byte for receive, same for transmit). So if UART is the trigger, I need to map a SRx from USIC. But which "event" should go to the SR.
Kind regards,
Christian Show Less
DAVE™
I'm using DAVE Version: 4.4.2 on an XMC4800 project. I can't get the memory monitor to show the variable/address I need. DAVE seems to remember some a...
Show More
I'm using DAVE Version: 4.4.2 on an XMC4800 project. I can't get the memory monitor to show the variable/address I need. DAVE seems to remember some address I looked at a few sessions ago & only display that address.
What am I doing wrong? I've used Eclipse for years on various Android & firmware projects, usually I click the + sign, type in my hex address and there's the data. DAVE doesn't show any data until
I double click on Hex in a rendering window and it displays some random address I looked at many sessions ago. Show Less
What am I doing wrong? I've used Eclipse for years on various Android & firmware projects, usually I click the + sign, type in my hex address and there's the data. DAVE doesn't show any data until
I double click on Hex in a rendering window and it displays some random address I looked at many sessions ago. Show Less
DAVE™
Hi All,"restore editor state" is checked, but DAVE 4 closes all my open files briefly after startup.Does anybody else observe the same error behaviour...
Show More
Hi All,
"restore editor state" is checked, but DAVE 4 closes all my open files briefly after startup.
Does anybody else observe the same error behaviour?
Any solutions / workarounds?
Oliver Show Less
"restore editor state" is checked, but DAVE 4 closes all my open files briefly after startup.
Does anybody else observe the same error behaviour?
Any solutions / workarounds?
Oliver Show Less
DAVE™
See snip. The DAVE encryption library asks for a key and IV in ASCII only. Now, please correct me if I'm wrong here, but how is this not a massive fai...
Show More
See snip.
The DAVE encryption library asks for a key and IV in ASCII only. Now, please correct me if I'm wrong here, but how is this not a massive failure in understanding encryption? This is a major warning to me that the rest of the Infineon encryption implementation is not to be trusted. I hope someone from Inf can point me to a security audit of the XMC / DAVE encryption libs.
If the program requires your key and IV to be in ASCII, that's only 94 characters you can use to make the key/iv. Reducing each byte to 94 options from 255 whole-byte options if it was correctly entered in hex.
3e+31 vs 3e+38 about 10 million times weaker / fewer options
Am I missing something here? Because I'm hoping I'm just wrong and not that an intern wrote this. I don't know if the XMC4xxx is different than this XMC1xxx application.
And I did check, in code it's a const uint8_t array[] = "abcdefghijklmnop" ... which is at least fixable by not declaring it like a string. Show Less
The DAVE encryption library asks for a key and IV in ASCII only. Now, please correct me if I'm wrong here, but how is this not a massive failure in understanding encryption? This is a major warning to me that the rest of the Infineon encryption implementation is not to be trusted. I hope someone from Inf can point me to a security audit of the XMC / DAVE encryption libs.
If the program requires your key and IV to be in ASCII, that's only 94 characters you can use to make the key/iv. Reducing each byte to 94 options from 255 whole-byte options if it was correctly entered in hex.
3e+31 vs 3e+38 about 10 million times weaker / fewer options
Am I missing something here? Because I'm hoping I'm just wrong and not that an intern wrote this. I don't know if the XMC4xxx is different than this XMC1xxx application.
And I did check, in code it's a const uint8_t array[] = "abcdefghijklmnop" ... which is at least fixable by not declaring it like a string. Show Less
DAVE™
Wenn I try to open a Dave project created on a different PC I get a "Groovy object not found" error for every App used in the project. The project is ...
Show More
Wenn I try to open a Dave project created on a different PC I get a "Groovy object not found" error for every App used in the project. The project is not usable.
What is going wrong?
What is the correct way to transfer a Dave project from one PC to another? (Both PCs are using the same version of Dave and all the Apps are upto date)
How can I get the project to work again? Show Less
What is going wrong?
What is the correct way to transfer a Dave project from one PC to another? (Both PCs are using the same version of Dave and all the Apps are upto date)
How can I get the project to work again? Show Less