Concurrent Codewarrior 1.2 HCS12 Development

Started by John Pititto August 13, 2003
Hi All,

I want to be able to run two instances of Codewarrior concurrently.
At the same time able to re-flash separate development projects
through separate parallel ports. Currently Codewarrior will run all of
the instances through the one instance of True-Time Simulator. I
need to find a way around this, has anyone a solution to my
concurrent development requirements??

Kind Regards,

John Pititto B.E (Mech&Comp)
Anatoc Specialist
Research & Development
SGE International Pty Ltd
7 Argent Place, Ringwood,
Victoria, 3134, AUSTRALIA
Tel: +61(0)3 9837 4200,
Fax: +61(0)3 9874 5672

www.sge.com IMPORTANT
Whilst every attempt has been made to ensure that material
contained in
this email is free from computer viruses or other defects, the attached
files (if any) are provided, and may only be used, on the basis that
the user assumes all par responsibility for the use of the material
transmitted. Any opinions expressed in this E-Mail are those of the
individual and not necessarily the Company. This E-Mail and any files
transmitted with it, is confidential and privileged and is for the
exclusive use of the intended recipient's. If you are not the intended
recipient's please note that any form of distribution, falsifying,
copying or use of this communication or the information in it, is
strictly prohibited and may be unlawful. If you have received this E-
Mail in error please return it to the sender then delete and destroy
any copies.

Thank you.



John,
check out the project settings/Preference panel for it:
- menu Edit > <projectName> Settings (or ALT + F7)
- Target > Build Extras > Arguments
in the arguments to the debugger, you will find something like
-instance=%currentTargetName

CodeWarrior checks if there is already a debugger running with the
given instance, and if such a debugger instance exists, this instance
will be used.
%currentTargetName is the name of the CodeWarrior target name,
e.g. if your build target is 'My Debug build' then this is resolved to
this string.

Change it to a different value for your project, e.g.
-instance=MyLPT1
and
-instance=MyLPT2
for the according projects, and you will have two instances.

More information is in the installed online documentation.
Check out CodeWarrior Manuals\HC12\Manual Engine HC12.pdf, page 32 (for Mot
V1.2).

Erich

> -----Original Message-----
> From: John Pititto [mailto:]
> Sent: Donnerstag, 14. August 2003 03:29
> To:
> Subject: [68HC12] Concurrent Codewarrior 1.2 HCS12 Development > Hi All,
>
> I want to be able to run two instances of Codewarrior concurrently.
> At the same time able to re-flash separate development projects
> through separate parallel ports. Currently Codewarrior will run all of
> the instances through the one instance of True-Time Simulator. I
> need to find a way around this, has anyone a solution to my
> concurrent development requirements??
>
> Kind Regards,
>
> John Pititto B.E (Mech&Comp)
> Anatoc Specialist
> Research & Development
> SGE International Pty Ltd
> 7 Argent Place, Ringwood,
> Victoria, 3134, AUSTRALIA
> Tel: +61(0)3 9837 4200,
> Fax: +61(0)3 9874 5672
>
> www.sge.com > IMPORTANT
> Whilst every attempt has been made to ensure that material
> contained in
> this email is free from computer viruses or other defects, the attached
> files (if any) are provided, and may only be used, on the basis that
> the user assumes all par responsibility for the use of the material
> transmitted. Any opinions expressed in this E-Mail are those of the
> individual and not necessarily the Company. This E-Mail and any files
> transmitted with it, is confidential and privileged and is for the
> exclusive use of the intended recipient's. If you are not the intended
> recipient's please note that any form of distribution, falsifying,
> copying or use of this communication or the information in it, is
> strictly prohibited and may be unlawful. If you have received this E-
> Mail in error please return it to the sender then delete and destroy
> any copies.
>
> Thank you. >
>
> -------------------- >
> ">http://docs.yahoo.com/info/terms/





Hi John.

By default, we have inserted an instance parameter on stationery project,
to always reopen/reload in the same debugger.

However, you can get rid of this:

Open your project control panel. Goto "Build Extras" panel, then have a
look on the "Arguments" line.

You might find something like: "-instance=ICD12"

For one of your projects, change the instance name to
"-instance=ICD12_LPT2" for example.

For the same project, to avoid any confusion for the debugger and P&E
driver (taking LPT1 by default), insert in your project "ini" file (also
specified like "-Prodnked_flash.ini" on "Arguments" line) directly the
port to use for the cable:

in the [ICD12] section, specify the parallel port like:

[ICD12]
COMDEV=LPT2

Important:

If on the "Arguments", there is a forced target with "-target=..."
parameter, you can remove it and specify de debugger target in the project
ini file, in the HI-WAVE section, like:

[HI-WAVE]
Target=icd12 Best regards,
Gilles At 03:28 AM 8/14/2003, you wrote:
>Hi All,
>
>I want to be able to run two instances of Codewarrior concurrently.
>At the same time able to re-flash separate development projects
>through separate parallel ports. Currently Codewarrior will run all of
>the instances through the one instance of True-Time Simulator. I
>need to find a way around this, has anyone a solution to my
>concurrent development requirements??
>
>Kind Regards,
>
>John Pititto B.E (Mech&Comp)
>Anatoc Specialist
>Research & Development
>SGE International Pty Ltd
>7 Argent Place, Ringwood,
>Victoria, 3134, AUSTRALIA
>Tel: +61(0)3 9837 4200,
>Fax: +61(0)3 9874 5672
>
>www.sge.com >IMPORTANT
>Whilst every attempt has been made to ensure that material
>contained in
>this email is free from computer viruses or other defects, the attached
>files (if any) are provided, and may only be used, on the basis that
>the user assumes all par responsibility for the use of the material
>transmitted. Any opinions expressed in this E-Mail are those of the
>individual and not necessarily the Company. This E-Mail and any files
>transmitted with it, is confidential and privileged and is for the
>exclusive use of the intended recipient's. If you are not the intended
>recipient's please note that any form of distribution, falsifying,
>copying or use of this communication or the information in it, is
>strictly prohibited and may be unlawful. If you have received this E-
>Mail in error please return it to the sender then delete and destroy
>any copies.
>
>Thank you. >
>
>-------------------- >
>">http://docs.yahoo.com/info/terms/