What is cpu_type for mpc5606S?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What is cpu_type for mpc5606S?

1,780件の閲覧回数
anderscullbrand
Contributor II

Hi,

I am using gcc to build my C-project for the MPC5606S-processor.

To gcc there is build flag -mcpu, my question is which value I shall give it?

Is it enough with -mcpu=powerpc?

Best Regards,

Anders

タグ(1)
4 返答(返信)

1,637件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello Anders,

correct parameter for MPC5606S is -mcpu=e200z0 (which is type of core used in the microcontroller)

Regards,

Martin

1,637件の閲覧回数
anderscullbrand
Contributor II

Hello Martin,

e200z0 does not work with my compiler, gcc version 4.1.2. In the gcc manual "Using the GNU Compiler Collection" the following values are stated as vallid, but I can not find anywhere (on NXP site) how mpc5606S is mapped to any of the following values

Supported values for cpu type are ‘401’, ‘403’, ‘405’,‘405fp’, ‘440’, ‘440fp’, ‘464’, ‘464fp’, ‘476’, ‘476fp’, ‘505’, ‘601’, ‘602’, ‘603’, ‘603e’, ‘604’, ‘604e’, ‘620’, ‘630’, ‘740’, ‘7400’, ‘7450’, ‘750’, ‘801’, ‘821’, ‘823’, ‘860’, ‘970’, ‘8540’, ‘a2’, ‘e300c2’, ‘e300c3’, ‘e500mc’, ‘e500mc64’, ‘e5500’, ‘e6500’, ‘ec603e’, ‘G3’, ‘G4’, ‘G5’, ‘titan’, ‘power3’, ‘power4’, ‘power5’,  ‘power5+’, ‘power6’, ‘power6x’, ‘power7’, ‘power8’, ‘power9’, ‘powerpc’, ‘powerpc64’, ‘powerpc64le’, and ‘rs64’.

My best guess for now is powerpc.

Best Regards,

Anders

0 件の賞賛
返信

1,637件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello Anders,

it looks like you do not use GCC which supports this microcontroller. For MPC microcontrollers, you cannot use general gcc compiler. NXP provides modified gcc compiler with VLE support.

Please check the link below:

https://www.nxp.com/lgfiles/updates/S32DS/S32DS_PA_2017.R1_GCC.tar

For more information you can also check this URL:

https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Frelease-not... 

Hope it helps.

Regards,

Martin

1,637件の閲覧回数
anderscullbrand
Contributor II

Hello Martin,

Thank you for the information and the links!

Now I understand how to handle the VLE instruction set in the MPC5606S processor, which is the new thing in my project compared to other projects within my company.

Best Regards,

Anders

0 件の賞賛
返信