[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Debugging multiple core microcontrollers.
|
You need to write a special launch configuration that implements steps a-d.
See the posting from Pete MacLiesh (Tensilica).
> 2 debug sessions in the same Eclipse session ? How do I do that ?
>
> Can I do a third to debug the Java code as well ?
You can launch simultaneously as many sessions as you want. You can run Java
and C/C++ (and any other) sessions at the same time.
----- Original Message -----
From: "Kim Lux" <lux@xxxxxxxxxxxxxxxxxxx>
To: "CDT Debug developers list" <cdt-debug-dev@xxxxxxxxxxx>
Sent: Friday, November 11, 2005 5:25 PM
Subject: Re: [cdt-debug-dev] Debugging multiple core microcontrollers.
> On Fri, 2005-11-11 at 17:12 -0500, Mikhail Khodjaiants wrote:
> > But at least the launching has to be synchronized, doesn't it? You
> > have to
> > pass arguments, session parameters. In this case you need to write
> > your own
> > launch configuration.
>
> Yes and no.
>
> The launch process I see is:
>
> a) upload xgate and 9s12x code into flash.
>
> b) reset both processors. The xgate processor will be inactive until
> enabled by the 9s12x. I guess I forgot to mention that the xgate
> processor is a slave to the 9s12x. The later controls all aspects of
> the xgate's operation. It can start it, stop it, etc.
>
> c) start the 9S12x via the debugger. It will start the xgate processor
> after it has copied the code to RAM and wants it to start.
>
> d) break either/or processor as needed. It would be helpful to have a
> "break both processors" command from either side. Maybe also a resume
> both processor command. Other than that, not much.
>
> > Otherwise, you can start two sessions in the workbench and monitor
> > each by
> > switching the context in the Debug view.
>
> 2 debug sessions in the same Eclipse session ? How do I do that ?
>
> Can I do a third to debug the Java code as well ?
>
> Thanks for discussing this with me.
>
>
> --
> Kim Lux, Diesel Research Inc.
>
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev