This mostly works:
A. MPLABX *Multiple Instances* (Possibly Max 5 instances according to some notes)
1. Create shortcuts with "--userdir" for each instance
2. Shortcut InstanceA Target:
"C:\Program Files (x86)\Microchip\MPLABX\v3.15\mplab_ide\bin\mplab_ide.exe" --userdir "D:\MPLABX\IDEs\mplab_ide_A
3. Shortcut InstanceB Target:
"C:\Program Files (x86)\Microchip\MPLABX\v3.15\mplab_ide\bin\mplab_ide.exe" --userdir "D:\MPLABX\IDEs\mplab_ide_B
B. Instance label and instance compile options
1. Rename master project folder (App16.X to App16a) so cleanly see instance (a,b,c...).
2. Copy master project folder to duplicates: App16a to App16b, App16c (these share same source code).
3. Open each project duplicate in a different MPLABX instance, the project folder name becomes the Instance identifier
4. Create a define for optional instance specific compiling (i.e. identifirer in a printf or packet):
4a. Project - Properties - xc32-gcc - Preprocessor and messaging - Preprocessor Macros - *D_RemA* (or D_RemB...)
C. Source code changes carry between instances, but project & harmony settings don't (compile options, add/remove files, ...)
** To resync the projects exit all MPLABX, delete the duplicate folders, and repeat from step B2.
D. When running multiple targets it seems to fail programming sometimes. I'm going to get a better hub as it seems more reliable for ports directly on the PC, possibly poor hub even though powered, TBD.
post edited by Paul PortSol - 2015/11/06 12:27:07