Disable VLE assembly

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

Disable VLE assembly

3,094 次查看
jordancyre
Contributor I

I'm trying to find a way to disable VLE instructions when compiling my program.  I found this thread and tried the solution but it didn't work.  S32DS: How to force non-vle build for the entire p... - NXP Community

My command line pattern  looks like this: `${COMMAND} ${FLAGS}-mno-vle ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}`

I've attached what my assembly looks like.

I'm really new at all of this so i ask you patience if I don't understand right away.  End goal is to use only non-VLE instructions.

 

 

 

0 项奖励
回复
5 回复数

3,059 次查看
stanish
NXP Employee
NXP Employee
0 项奖励
回复

3,082 次查看
jordancyre
Contributor I

Turns out my devkit likely doesn't support non-VLE instructions.

I'm using the MPC5748G and the most recent version of S32DS.

Here's a link to the reply about VLE on the MPC5748G:  I don'nt know how to enter debugging mode on MPC57... - NXP Community

 

0 项奖励
回复

3,074 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Sure, you haven't specify the used MCU.

The only MPC57xx devices supporting BookE instruction set is MPC5777C or MPC5775B/E. All others are VLE only.

0 项奖励
回复

3,085 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I have tried this and it works to me.

${COMMAND} ${FLAGS} -c -mno-vle ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}

 

In the DS, you may see example code:

davidtosenovjan_0-1621349263652.png

 

0 项奖励
回复

3,088 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, could you specify version of S32 Design Studio?

0 项奖励
回复