How to create etpu microcode arry with "CW for etpu v10.2.2"? how generate code hex array?

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

How to create etpu microcode arry with "CW for etpu v10.2.2"? how generate code hex array?

860件の閲覧回数
llili
Contributor I

Hi,

 

  I want to generate etpu microcode with codewarriror etpu compiler, after compile only generate  XXX_auto.h, but etput code array not generate.

 

code array like :

etpu_code[] = { 0x41094109,0x41094109,0x41064104,0x41024114,

                               0x410....}

 

I need implement this code to mpc5634 CW project,  Any one know how to configure Etpu V10.2.2 ?????????

 

 

Thank you for your attention!

 

best wishes

Lee

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

515件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello,

The binary code image is generated into auto-generated file if the macro ::ETPUcode32 is present in the source file e.g.:

#pragma write h, (const uint32_t etpu_code[] = { );

#pragma write h, (::ETPUcode32 );

#pragma write h, (};);

Hope it helps.

Stan

0 件の賞賛
返信