mqx for hello_twrpxs20 error

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

mqx for hello_twrpxs20 error

ソリューションへジャンプ
720件の閲覧回数
Sendzimir
Contributor I

The PXS20 processor core is dual e200z4d, but why the "hello" example of mqx for twrpxs20 import "libc_E200z650.a" and "librt_E200z650.a".

As shown below:

error(e200z4d)(e200z650).jpg

0 件の賞賛
1 解決策
480件の閲覧回数
Martin_
NXP Employee
NXP Employee

A colleague reminded me that currently MQX supports PXS20 in BookE. As there is no e200z4 BookE version of CW EWL library (for e200z4, CodeWarrior has VLE mode only), MQX link the only CodeWarrior BookE library available and that is e200z6.

CodeWarrior Power Architecture e200 compiler supports dual issue by command line option -pragma schedule. You can compile your PXS20 application source files with command line option -pragma "schedule z750" to optimize resulting instructions for dual issue.

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
480件の閲覧回数
Martin_
NXP Employee
NXP Employee

Hello,

yes, it should be linked against e200z4 libc and librt, primarily due to e200z4 core dual issue hardware.

e200z650 is single issue. If an executable is linked with e200z6 libraries, the code will work on PXS20 because the e200z4 instruction set is compatible with e200z6. However, e200z4 libraries are built with compiler support for dual issue - means the compiler should generate more optimized code for dual issue hardware. We will fix MQX PXS20 projects for this.

0 件の賞賛
481件の閲覧回数
Martin_
NXP Employee
NXP Employee

A colleague reminded me that currently MQX supports PXS20 in BookE. As there is no e200z4 BookE version of CW EWL library (for e200z4, CodeWarrior has VLE mode only), MQX link the only CodeWarrior BookE library available and that is e200z6.

CodeWarrior Power Architecture e200 compiler supports dual issue by command line option -pragma schedule. You can compile your PXS20 application source files with command line option -pragma "schedule z750" to optimize resulting instructions for dual issue.

0 件の賞賛
480件の閲覧回数
Sendzimir
Contributor I

There is another error. Codewarrior 10.2 chinese edition has bug. When I make a new file or import, pop-up dialog box like this.

发生了问题.JPG

I change Codewarrior language to english by add " -nl en" on the property of Codewarrior , when I saw this post(https://community.freescale.com/thread/114388) yesterday.

Codewarrior change language.JPG

Then the problem has solved.

0 件の賞賛
480件の閲覧回数
c0170
Senior Contributor III

Hello Sendzimir,

0 件の賞賛