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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

870 Views
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

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

525 Views
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 Kudos
Reply