How to change configuration after created a S32DS project

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change configuration after created a S32DS project

391 Views
Contributor III

Hi

I'm new guy study S32DS IDE with MPC5748G.

Q1:When I create a new S32DS project, wizard asks me for configuration such as...

1.How many core I need, Boot Z4, Z4, and Z2

2.FLASH Start address and size

3.RAM Start address and size

4.SDKs

After new project created, can I change them?

It seems I have to modify the following files:

\.settings\com.freescale.s32ds.cross.wizard.prefs

flashSize=1d0000
flashStart=1000000

ramSize=40000
ramStart=40000000

\Project_Settings\Linker_Files\MPC5748G_flash.ld

flash_rchw : org = 0x00F94000, len = 0x4
cpu0_reset_vec : org = 0x00F94000+0x10, len = 0x4
cpu1_reset_vec : org = 0x00F94000+0x14, len = 0x4
cpu2_reset_vec : org = 0x00F94000+0x04, len = 0x4

\Project_Settings\Linker_Files\MPC5748G_ram.ld

If I disable Z4, Z2 when creating new project, how to enable them and add relative code?

Q2:If I'm not sure which SDKs is required in the future, can I just add them all?

How to make sure I do nothing wrong?

0 Kudos
2 Replies

12 Views
NXP Employee
NXP Employee

Hi, 

multi-core project technically works as three projects with different linker scripts setup for each core. You can modify linker files later.  You should know prior the project creation how many cores you will be using. 

If you have for example three core project - you can remove other core elfs from debug session and use for example only boot Z4_0 core - just set number additional object files to 0

pastedImage_1.png

About SDK - good practice is use the last one - ideally RTM version. For MPC5748G is last version v0.9.0 Beta. Unfortunately - EAR and Beta versions are only partly compatible. For SDK change you need to transfer some Processor Expert settings manually. 

Jiri

0 Kudos

12 Views
Contributor III

Hi Jiri

If I set number additional object files to 0 in 3-cores project, does it means only Z4_0 is active, then Z4_1 and Z2 are disabled.

So I can say that Z4_1 and Z2 are not consuming power?

0 Kudos