CodeWarrior Development for Power Architecture v10.1.1 tools..

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior Development for Power Architecture v10.1.1 tools..

Jump to solution
1,906 Views
rkreddy
Contributor II

Hi,

 

I have downloaded CodeWarrior Development for Power Architecture v10.1.1(Windows hosted) tools .

 

Will these tools provide simulation environment for multi-core processors?

 

Will it possible to debug/run a test multi-core program on these tools?

 

I am trying to create a sample project to run on QorIQ_P4 (P4080) as follows.

 

Create a Power Architecture Project --> Bareboard application--> selected QorIQ_P4 (P4080)--> build settings C language, Build tools arch: 32 bit and Floating point: None--> Debugging connection type as Simulator and core index for this project as Core 0 -->Simulators : checked the options: New system and Simics--> Finish.

 

The project was able to build without any errors.

 

But getting errors while Debugging due to lack of Simic settings (Debug as-->Debug configurations-->Codewarrier download-->Edit remote system connection--> Connection-->Simic settings). Getting errors: Simic settings undefined.

 

How can I get Simic settings for my project? 

 

Thanks in advance.

 

Thanks,

Rajanikanth.

Labels (1)
0 Kudos
1 Solution
1,315 Views
rkreddy
Contributor II

Thanks Tom.

 

Design verifications are possible in the pre-silicon stage itself..! Thanks to Windriver and to Freescale..!!

View solution in original post

0 Kudos
11 Replies
1,315 Views
J2MEJediMaster
Specialist I

To answer your questions:

 

>>Will these tools provide simulation environment for multi-core processors?

No, not out of the box. You need to obtain the Simics simulator from Wind River Systems to run simulations. With the Simics simulator, you can then run simulated multicore programs with the CodeWarrior debugger.

 

>>Will it possible to debug/run a test multi-core program on these tools?

With the target hardware connected to the debugger, yes. You can run/test/debug multicore programs, and obtain performance information.

 

---Tom


0 Kudos
1,315 Views
rkreddy
Contributor II

Thanks Tom.

To run simulated multicore programs with Windriver's Simics simulator,is it mandatory to have atleast one core of target hardware platform?

0 Kudos
1,315 Views
J2MEJediMaster
Specialist I

No, you can run Simics stand-alone in tandem with CodeWarrior, no hardware is required for it to run a simulation and let you debug code.

 

---Tom

0 Kudos
1,315 Views
vijaykishore
Contributor III

Hi Tom,
I am using Code Warrior Version 10.3.
I am trying to create a simulator project for P4080.
I am able to create the project with the default code and build it.

But when I tried to Run the code to see the printf statement, then an issue is coming. P4080_Simulator_Issue.JPG

The issue is shown as Image above.

Please check that and help me out to resolve the issue.

Thanks in advance......

0 Kudos
1,315 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

You need to download and install Simics. After that, please take a look in the stationary P4080Simics file. You'll need to set up some paths in Connection settings:

P4080Simcs.png

Regards,

Marius

0 Kudos
1,315 Views
marius_grigoras
NXP Employee
NXP Employee

Please refer to https://www.simics.net/ for the latest version of simics and the installations instructions. Note that CodeWarrior supports the Simics, but doesn't provide it.


Also you can take a look in PA\Help\PDF\Targeting_PA_Processors.pdf for any Simics inputs (how to make a project, how to make debug and so on).

Regards,

Marius

0 Kudos
1,315 Views
rkreddy
Contributor II

Thanks Tom.

 

So, without having any hardware, we can debug/run muticore programs on QorIQ_P4 (P4080) with CodeWarrior Development for Power Architecture v10.1.1 simulation tools + Windriver's Simics simulator. 

 

Am I correct ?

 

Thanks,

Rajanikanth.

0 Kudos
1,315 Views
J2MEJediMaster
Specialist I

Yes.

 

Be aware that there might be some limits to the hardware simulation (such as interrupts). You would have to check with Wind River on that.

 

---Tom

0 Kudos
1,316 Views
rkreddy
Contributor II

Thanks Tom.

 

Design verifications are possible in the pre-silicon stage itself..! Thanks to Windriver and to Freescale..!!

0 Kudos
1,315 Views
eminkoc
Contributor I

Hi,

Does codewarrior PA 10.2.1  contain this simics tool? If not, how can we get it? Isn't free? Because I searched the windriver website but couldn't find any simulation tool download.

0 Kudos
1,315 Views
lunminliang
NXP Employee
NXP Employee

I am not awere of that, I am afraid no. Refer to https:// www.simics.net/ for the latest version of simics and the installations instructions.

0 Kudos