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?

891 次查看
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 回复

546 次查看
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 项奖励
回复