Dual instance with MPLAB 8 ?


Closed Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    80

    Default Dual instance with MPLAB 8 ?

    Hi everybody,

    I think I already know the answer but does anybody know if it possible to run simultaneously two instances of MPLAB 8 on the same PC (under Windows 7) ?
    I get an error message when i try to launch a second copy of MPLAB 8 if a first one is already running.

    Any ideas ?

    Thank your for help.
    MikeBZH

  2. #2
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    Do you get an error message or a warning?

    I've done it in the past. I think you need to have different workspaces and different debugger tools (ie PK3 and ICD3) from what I remember.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    No, you cannot because of share violation errors. Also MPLAB gives a warning that this is not recommended.

    Ioannis

  4. #4
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    Yes, you can. I have three instances running right now.
    Just launch it from an mplab project (.mcp file) and not a generic shortcut.

    Also MPLAB gives a warning that this is not recommended
    It IS easy to get it confused. I prefer to use different machines.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    Oh, I see. The MPLAB sees the first workspace so gives a violation error message.

    By your suggestion, you've already defined a new workspace, so MPLAB is happy!

    Good one,

    Ioannis

  6. #6
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    For this to work I think you need to have one-to-one project-workspace enabled (MPLAB main menu Configure | Settings... | Projects | Use one-to-one project-workspace model).

    It's of limited use since you have to use different debug/programming tools in each project (ie Pickit3 in one, ICD3 in another). You can't use two of the same type. For that you'd need to use MPLABX.

  7. #7
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    80


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    Thank you for your answers. I am going to try this.
    I have two screens on my computer so I think I will not be confused. One instance on each.
    My purpose is only to copy and paste some source code from one program to the other so this is quite simple.

    MikeBZH

  8. #8
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    My purpose is only to copy and paste some source code from one program to the other
    If that's all you want to do then any text editor would work (ie Notepad)

  9. #9
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    80


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    Quote Originally Posted by tumbleweed View Post
    If that's all you want to do then any text editor would work (ie Notepad)
    Hi Tumbleweed,

    Not exactly. The tabs are not the same as with the MPLAB editor and you spend some time to realign everything.

    MikeBZH

  10. #10
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    There are lots of better text editors out there, like notepad++ https://notepad-plus-plus.org/ and it's free.

    For that matter, the MPLAB editor can open multiple source files (ie multiple windows) at the same time without having to run multiple copies. That way your editor settings would stay the same without having to setup anything.

  11. #11
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    80


    Did you find this post helpful? Yes | No

    Default Re: Dual instance with MPLAB 8 ?

    Quote Originally Posted by tumbleweed View Post
    There are lots of better text editors out there, like notepad++ https://notepad-plus-plus.org/ and it's free.

    For that matter, the MPLAB editor can open multiple source files (ie multiple windows) at the same time without having to run multiple copies. That way your editor settings would stay the same without having to setup anything.
    Thank you Tumbleweed.
    Simple but very interesting solutions.

    In France we have a cartoon called "the Shadoks". They always say : "Why to do you want to make it simple when you can make it complicated ?" Am I a Shadok ?

    MikeBZH

Similar Threads

  1. Dual power source
    By Demon in forum Off Topic
    Replies: 11
    Last Post: - 12th January 2014, 15:16
  2. How to support two (dual) USB ports?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 19th January 2012, 01:36
  3. Clock and Dual Termometer
    By fratello in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 3rd February 2011, 18:17
  4. Dual clock speeds on a PIC
    By BrianT in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th January 2008, 02:34
  5. MCP4922 Dual DAC
    By J_Brittian in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 25th October 2005, 19:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts