infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: Many Instances of DAVE on 1 PC

  1. #1
    Intermediate Intermediate Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    76
    Points
    360.546875

    Many Instances of DAVE on 1 PC

    Hi Infineon,

    is it possible to start 3 instances of DAVE on the same PC at the same time, using 3 independent JLink servers connected via 3 USB ports to 3 debuggers connected to 3 targets? These 3 targets are connected via data links and I want to switch fast between the debuggers of the 3 targets when testing/debugging the whole system.
    Or are 3 PCs needed?

    Best Regards
    Wolfgang

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    586
    Hi,


    Starting 3 instances of DAVE4 is not a problems as long as each uses a different workspace.
    The JLink GDBServer allows changing the port on which to listen, therefore I think it should be possible but I never try it.
    You can change the port in the debug configuration.


    Regards,
    Jesus
    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
    Intermediate Intermediate Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    76
    Points
    360.546875
    Hi Jesus,

    thanks for your answer,
    then I'll buy a third debugger, test it and report here, what happened.

    Regards
    Wolfgang

  4. #4
    Intermediate Intermediate Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    76
    Points
    360.546875
    Now I have 3 debuggers to test it and the result is: it runs.

    The steps are:

    1) Mark the 3 debuggers with a number (1,2,3)

    2) Start the freeware USBDeview, connect each debugger to the pc at the usb port you intend to use for this debugger (but only 1 at the same time) and note the displayed serial number of the device 'J-Link' (e.g. 551001948)

    3) Place each target code in a separate workspace (if still in same directory, copy each project directory and file .metadata into a separate directory)

    4) Open DAVE-IDE Help / Preferences / General / Startup and Shutdown / Workspaces and check 'Prompt for workspace on startup' and close IDE

    5) Now start 3 instances of the DAVE-IDE and select one of the 3 workspaces (the pc must have enough ram, each instance needs about 1 gig)

    6) Connect all 3 debuggers to the pc and the targets (use same usb ports as at step 2)

    7) At all 3 DAVE instances open 'Debug Configurations' (down arrow near the bug on main menue), select tab debugger and at line 'Connection' enter the usb serial number of the debugger connected to the target of this IDE instance

    8) And at same tab: All debuggers need different port numbers, thus at debugger 2 and 3 lines 'GDB port', 'SWO port' and 'Telnet port' increment the port numbers of debugger 2 by 10 and of debugger 3 by 20.

    That's all.

    Best Regards
    Wolfgang

+ 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.