infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 7 of 7

Thread: Use DAVE on Linux (ubuntu) platform

  1. #1

    Infineon Employee
    Infineon Employee
    Chandavi is on a distinguished road
    Join Date
    Nov 2011
    Location
    Munich
    Posts
    4
    Points
    95

    Use DAVE on Linux (ubuntu) platform

    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
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  2. #2

    Infineon Employee
    Infineon Employee
    Expert
    oreste is on a distinguished road
    Join Date
    Jun 2012
    Location
    Campeon
    Posts
    96
    Hi Chandavi,
    have you evaluated the usage of virtualbox ?
    You can run Linux hosted in a Windows.
    Regards
    Oreste

    Quote Originally Posted by Chandavi View Post
    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
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    eagle is on a distinguished road
    Join Date
    Nov 2012
    Posts
    3
    Points
    30

    virtual-Box Linux

    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.

  4. #4
    eagle is on a distinguished road
    Join Date
    Nov 2012
    Posts
    3
    Points
    30

    virtual-Box Linux

    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.

  5. #5
    New Member New Member
    Infineon Employee
    Infineon Employee
    Rafael Gattringer is on a distinguished road
    Join Date
    Dec 2015
    Location
    Vienna
    Posts
    13
    Points
    108.75
    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...x-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-You...e-in-Windows-7

    Click image for larger version

Name:	format.png
Views:	2
Size:	91.5 KB
ID:	1939

    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"
    Last edited by Rafael Gattringer; Dec 30th, 2015 at 07:19 AM.

  6. #6
    New Member New Member
    Infineon Employee
    Infineon Employee
    thomas_ is on a distinguished road
    Join Date
    Mar 2018
    Posts
    2
    Points
    30

    Using Eclipse instead of DAVE on Linux

    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
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  7. #7
    New Member New Member SRD is on a distinguished road
    Join Date
    Mar 2019
    Posts
    1
    Points
    20
    Following this tutorial and installation on Ubuntu, is the resultant functionality equal to DAvE on Windows?

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.