Searching \ for '[PIC] two ICD-2 ON ONE COMPUTER?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=icd
Search entire site for: 'two ICD-2 ON ONE COMPUTER?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] two ICD-2 ON ONE COMPUTER?'
2007\04\22@180654 by Ray Newman

picon
Is it possible to run two ICD-2 on one computer?
Single install of mplab but two different instances?
Can specify which usb port for which instance?

I need to debug communications between two pic16F913's
I have used two different computers before but would like to use just one.

Thanks in advance,
Ray



2007\04\22@211438 by Gerhard Fiedler

picon face
Ray Newman wrote:

> Is it possible to run two ICD-2 on one computer?
> Single install of mplab but two different instances?
> Can specify which usb port for which instance?
>
> I need to debug communications between two pic16F913's
> I have used two different computers before but would like to use just one.

I also would like to know how that goes -- if it goes :)

I don't think so, though. I think this would require two instances of MPLAB
(since MPLAB doesn't seem to have built-in support for two ICD2 devices),
and I don't think you can run two instances of MPLAB.

You may be able to use a virtual system (VirtualPC or so) and run one MPLAB
(with a serial ICD2 -- I don't think two USB ICD2 is possible at all) on
the virtual system.

Gerhard

2007\04\22@234851 by Xiaofan Chen

face picon face
On 4/23/07, Gerhard Fiedler <spam_OUTlistsTakeThisOuTspamconnectionbrazil.com> wrote:
> Ray Newman wrote:
>
> > Is it possible to run two ICD-2 on one computer?
> > Single install of mplab but two different instances?
> > Can specify which usb port for which instance?

No you can not use 2 USB ICD2 together. However it is possible
to run one USB and one serial or two serial ICD2 in one PC as reported
in the following two Microchip Forum threads.
http://forum.microchip.com/tm.aspx?m=226657
http://forum.microchip.com/tm.aspx?m=195112

> I also would like to know how that goes -- if it goes :)
>
> I don't think so, though. I think this would require two instances of MPLAB
> (since MPLAB doesn't seem to have built-in support for two ICD2 devices),
> and I don't think you can run two instances of MPLAB.

You can.

The trick: to use different workspace for MPLAB.
http://forum.microchip.com/tm.aspx?m=195112

2007\04\23@073943 by Gerhard Fiedler

picon face
Xiaofan Chen wrote:

>> I don't think so, though. I think this would require two instances of
>> MPLAB (since MPLAB doesn't seem to have built-in support for two ICD2
>> devices), and I don't think you can run two instances of MPLAB.
>
> You can.
>
> The trick: to use different workspace for MPLAB.
> http://forum.microchip.com/tm.aspx?m=195112

Ah, makes sense. Just keep in mind that probably any settings that are
MPLAB application settings (like whether the programmer powers the target)
will get saved in the state of the instance you close last.

I always find it strange that the programmer/debugger settings are
application settings and not workspace settings. When I have different
requirements for different projects, I expect that to be stored with the
project workspace -- but nooo. Not sure how the guys at Microchip work with
this :)

Gerhard

2007\04\23@080655 by Ray Newman

picon
part 1 1422 bytes content-type:text/plain; charset="us-ascii" (decoded quoted-printable)

Thanks Gerhard, that explains when
I ran two instances of MPLAB with ICE2000 and ICD-2 (PIC16F57 & PIC16F913)
talking to each other. Mostly worked but save on exit made for some problem.

Guess I'll have to run two computers and KVM switch between the two.
Oh' well.
Thanks,
Ray




On Mon, 23 Apr 2007 08:35:50 -0300, Gerhard Fiedler wrote:
{Quote hidden}


part 2 35 bytes content-type:text/plain; charset="us-ascii"
(decoded 7bit)

2007\04\23@082956 by Mike Harrison

flavicon
face
On Mon, 23 Apr 2007 08:06:55 -0400, you wrote:

{Quote hidden}

Yes - I ran into this when I was running two MPLAB-ICE2000's, one parallel & one USB.
It would frequenctly find the wrong one, and then you got the cascade of error messages about being
the wrong processor type ( but it still ploughed on regardless, resulting in more errors, and
sometimes complete crashes.).

The main fix was to only have one ICE2000 switched on when starting the first instance, so it either
found it, or failed, and in the latter case you could change the IO setting without having to wait
for all the errors to happen. .

The one thing that can be a real killer is if you have the 'automatically reopen last workspace'
option set, the last WS used ICE2000 and ICE2000 is either no longer connected or has a differnt PCM
plugged in. It can get into the situation where it will always crash on startup and the only way to
recover is to manually edit the config file.


2007\04\23@083213 by Per Linne

flavicon
face
I do this regulary (ICE 2000 + ICD-2 at the same time).
Have never had a problem.
The first thing I learned was to load the first project in
the first instance of MPLAB, before starting the second.
I don't know if this still applies, but I'll check next time
I do multi PIC development.

PerL


----- Original Message -----
From: "Ray Newman" <.....listKILLspamspam@spam@microdesigns.biz>
To: "Microcontroller discussion list - Public." <piclistspamKILLspammit.edu>
Sent: Monday, April 23, 2007 2:06 PM
Subject: Re: [PIC] two ICD-2 ON ONE COMPUTER?


> Thanks Gerhard, that explains when
> I ran two instances of MPLAB with ICE2000 and ICD-2 (PIC16F57 & PIC16F913)
> talking to each other. Mostly worked but save on exit made for some problem.
>

2007\04\23@131605 by Robert Rolf

picon face
Yes, this is what you have to do (Open desired project BEFORE opening second instance)
since the default workspace is "Untitled" and you can't open it twice.

Per Linne wrote:

> I do this regulary (ICE 2000 + ICD-2 at the same time).
> Have never had a problem.
> The first thing I learned was to load the first project in
> the first instance of MPLAB, before starting the second.
> I don't know if this still applies, but I'll check next time
> I do multi PIC development.
>
> PerL
>
>
> {Original Message removed}

2007\04\23@154141 by Mauricio Giovagnini

flavicon
face
Gerhard Fiedler escribió:
> I always find it strange that the programmer/debugger settings are
> application settings and not workspace settings. When I have different
> requirements for different projects, I expect that to be stored with the
> project workspace -- but nooo. Not sure how the guys at Microchip work with
> this :)
>
> Gerhard
>  
I have many MPLAB Projects .  In some I use ICD2 and in some I don't.

a)When I load a project where I used the ICD2, it opens itself, it
connects , it shows the ICD2 toolbard and so on.
b) When I load a project where I didn't needed the ICD2, the project
opens itself without loading the ICD2 , the MPLAB doesn't load anything
of the ICD2.

I think then , those settings are "workspace" or project settings,
rather than application settings.

I use MPLAB 7.52

2007\04\23@154800 by Gerhard Fiedler

picon face
Ray Newman wrote:

> Thanks Gerhard, that explains when I ran two instances of MPLAB with
> ICE2000 and ICD-2 (PIC16F57 & PIC16F913) talking to each other. Mostly
> worked but save on exit made for some problem.
>
> Guess I'll have to run two computers and KVM switch between the two.

If you have two monitors, Synergy may work for you (keyboard & mouse
server/client).

http://synergy2.sourceforge.net/

Gerhard

2007\04\23@154826 by Gerhard Fiedler

picon face
Robert Rolf wrote:

> Yes, this is what you have to do (Open desired project BEFORE opening
> second instance) since the default workspace is "Untitled" and you can't
> open it twice.

I don't know how you guys do this, but I have project menus with all the
application and document shortcuts I need frequently for a project. The
MPLAB shortcut in such a project menu contains the workspace file as
argument, so that it always gets loaded (when opened through this project
menu shortcut, of course).

FWIW, I use PowerPro to run the menus, but there are many other
possibilities (including normal Windows Start|Programs menus, or simple
folders filled with shortcuts).

The very nice thing about this is that when you get back to a project after
one year away, you have the full set of project shortcuts still there, and
it's all working -- almost, of course, because the MPLAB application
settings are not stored in the workspace file :)

Gerhard

2007\04\23@165644 by Mauricio Giovagnini

flavicon
face

Gerhard Fiedler escribió:
> Robert Rolf wrote:
>
>  
>> Yes, this is what you have to do (Open desired project BEFORE opening
>> second instance) since the default workspace is "Untitled" and you can't
>> open it twice.
>>    
>
> I don't know how you guys do this, but I have project menus with all the
> application and document shortcuts I need frequently for a project. The
> MPLAB shortcut in such a project menu contains the workspace file as
> argument, so that it always gets loaded (when opened through this project
> menu shortcut, of course).

I use both ways.  Sometimes i double click on the .MCP file (with
windows explorer), and someother times
I execute one MPLAB, load a project (#1), then I execute another MPLAB
and load another project (#2) and so on.

I had used 4 MPLABs at the same time, when having to coordinate slightly
changes in a communication protocol that affected 4 firmwares.

2007\04\23@193720 by Gerhard Fiedler

picon face
Mauricio Giovagnini wrote:

> Gerhard Fiedler escribió:
>> I always find it strange that the programmer/debugger settings are
>> application settings and not workspace settings. When I have different
>> requirements for different projects, I expect that to be stored with the
>> project workspace -- but nooo. Not sure how the guys at Microchip work with
>> this :)
>  
> I have many MPLAB Projects .  In some I use ICD2 and in some I don't.
>
> a)When I load a project where I used the ICD2, it opens itself, it
> connects , it shows the ICD2 toolbard and so on.
> b) When I load a project where I didn't needed the ICD2, the project
> opens itself without loading the ICD2 , the MPLAB doesn't load anything
> of the ICD2.
>
> I think then , those settings are "workspace" or project settings,
> rather than application settings.
>
> I use MPLAB 7.52

Load workspace A, enable ICD2 as programmer, then set its power settings to
power the target. Save and close workspace A.

Load workspace B, enable ICD2 as programmer, then set its power settings to
/not/ power the target. Save and close workspace B.

Close (or not) MPLAB.

Load workspace A. ICD2's power settings will be as you left them last (with
workspace B in this case), not as you had set them before saving workspace
A.

This is what makes me think that this is not a workspace setting.

(Maybe the setting whether or not ICD2 is enabled at all is a workspace
setting, but I wouldn't know, because that's the only thing I use MPLAB
for, so it's enabled in all my MPLAB workspaces :)

Gerhard

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...