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
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.
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
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.
Quote:
Also MPLAB gives a warning that this is not recommended
It IS easy to get it confused. I prefer to use different machines.
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
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.
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
Re: Dual instance with MPLAB 8 ?
Quote:
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)
Re: Dual instance with MPLAB 8 ?
Quote:
Originally Posted by
tumbleweed
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
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.
Re: Dual instance with MPLAB 8 ?
Quote:
Originally Posted by
tumbleweed
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 ? :D
MikeBZH