Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

DAVE™ Forum Discussions

Chandavi
Employee
Employee
I would like to ask if it is possible to develop the XMC4500 Relax Kit under linux enviroment ? I know about DAVE - but it doesnt work under Linux. I just wanted to know if it is possible to use DAVE or something on Linux (ubuntu) platform. Becouse the target board have to communicate with Linux program and it is very difficult to always reboot to Windows, compile and load the program and then reboot to Ubuntu and check if the communication work etc.

Thank you
0 Likes
6 Replies
oreste
Employee
Employee
Hi Chandavi,
have you evaluated the usage of virtualbox ?
You can run Linux hosted in a Windows.
Regards
Oreste

Chandavi wrote:
I would like to ask if it is possible to develop the XMC4500 Relax Kit under linux enviroment ? I know about DAVE - but it doesnt work under Linux. I just wanted to know if it is possible to use DAVE or something on Linux (ubuntu) platform. Becouse the target board have to communicate with Linux program and it is very difficult to always reboot to Windows, compile and load the program and then reboot to Ubuntu and check if the communication work etc.

Thank you
0 Likes
Not applicable
The application doesnt run well under virtual-box (it need realtime kerner for fast response)
but I will try to have virtual windows with Dave under linux host - hope it will work. But I am right now away so I will try it next week and post if I success.
Thanks for the idea of virtualbox PC (I didn-t know that it is possible to redirect the USB device to virtual PC.) Hope it will work with the debugger.
0 Likes
Not applicable
Hi I have finally tryed using Virtual Box after longer time (I had broken arm) but it does not work (either way linux or windows hosted). So I still need to reboot after flashing.
I would ask, if it is possible and how to just configure gcc (arm-none-eabi-gcc) and gdb with some libraries on a pure Eclipse in linux. I have already succesfully install segger driver on linux and can send commands to the board from GDB server.
I would appreciate any help.
Thanks.
0 Likes
User10958
Level 1
Level 1
In my case I successfully use the following setup:

* Host: Xubuntu Linux 15.10 (64 bit)
* Virtualbox 5.0.8 (64 bit)
* Guest: Windows 7 (64 bit)
* DAVE 4.1.4

Testcase: Changing LED blinking patterns of the XMC1100 via USB 2.0.
https://www.youtube.com/watch?v=s9qgiaxKZrM


Installation:

1. Install Virtualbox Guest Additions in Windows and enable USB support
http://www.howtogeek.com/howto/31726/mount-usb-devices-in-virtualbox-with-ubuntu/

2. Optional: Ensure that the Windows installation has enough free space
As DAVE requires many GBs of installation space, I added a second (virtual) 10GB large dynamic HDD in Virtualbox for my Windows Guest System.

3. Optional: Format the new virtual HDD in Windows
similar to this tutorial: http://www.wikihow.com/Partition-Your-Hard-Drive-in-Windows-7

1712.attach

4. Download and install DAVE
(install as much as possible data on the new drive)

5. Connect the XMC to the USB port and enbale the USB device in Virtualbox
check the checkbox in the dropdown menu e.g. called "SEGGER J-Link"
0 Likes
thomas_
Employee
Employee
Hi,

there is now a tutorial and source code available how to develop code, debug and flash a binary to XMC controllers:
https://github.com/furtnerthomas/Linux-XMC-Development
0 Likes
User16735
Level 1
Level 1
Following this tutorial and installation on Ubuntu, is the resultant functionality equal to DAvE on Windows?
0 Likes