PE code not being generated

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PE code not being generated

跳至解决方案
1,746 次查看
Mohsin455
Contributor IV

Hi All,

 

I am using CodeWarrior for MCU  Version: 10.2 (Evaluation Version). I am trying to genrate code for DAC using Processor Expert. I have setup the DAC driver correctly in the PE. When  build the bsp_twrk60n512_pe, it does not generate any code (i.e. no new code is being generated in the folder mqx\build\cw10\bsp_twrk53n512_pe\Generated_Code )

 

What is the procedure to generate the code for newly added Embedded component (i.e. DAC ) ?

 

Regards,

Mohsin

0 项奖励
回复
1 解答
1,446 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

I think there are few ways how to generate the code, see below:

 

1. - Using "Generate Processor Expert Code" menu command from PRoject menu

2 - Using "Generate Processor Expert Code" button on Project panel

3 - Right click on ProcessorExpert.pe node and then use "Generate Processor Expert Code" command from pop-up menu.

 

Details attached.

 

best regards
Vojtech Filip
Processor Expert Support Team

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,447 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

I think there are few ways how to generate the code, see below:

 

1. - Using "Generate Processor Expert Code" menu command from PRoject menu

2 - Using "Generate Processor Expert Code" button on Project panel

3 - Right click on ProcessorExpert.pe node and then use "Generate Processor Expert Code" command from pop-up menu.

 

Details attached.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 项奖励
回复
1,446 次查看
Mohsin455
Contributor IV

HI,

 

           Yes, I have tried that and I get the following error

 

Description    Resource    Path    Location    Type


ERROR: Selected RTOS adapter driver wasn't found ({PE}\Drivers\sw\RTOSAdaptor\_MQX_RTOSAdaptor.prg)    bsp_twrk60n512_pe        AD1    Processor Expert Problem

I get same error message for all other components (i.e. DAC, PWM, MQX1 etc)

 

Regards,

Mohsin

0 项奖励
回复
1,446 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

could you please verify that the file exists on your disk under the path:

 

{PE}\Drivers\sw\RTOSAdaptor\_MQX_RTOSAdaptor.prg

 

Could you please specify what verison of CodeWarrior are you using? Could you please download the latest version of Codewarrior and try the same steps there? CW V10.2.

 

best regards
Vojtech Filip
Processor Expert Support Team

 

0 项奖励
回复
1,446 次查看
Mohsin455
Contributor IV

Hi,

 

         I have checked the following folder

 

\CW_MCU_v10.2\MCU\ProcessorExpert\Drivers\sw\RTOSAdaptor

 

and the file is named as MQX_RTOSAdaptor and not _MQX_RTOSAdaptor.

 

Any specifc reason for this ? If not I will try downloading the latest version as I am presently using CodeWarrior for MCU  Version: 10.2 beta (Evaluation Version)

 

Thanks,

Mohsin

1,446 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

as far as I know that it should work correctly in the CW V10.2 FINAL.

 

 

best regards
Vojtech Filip
Processor Expert Support Team