Disable VLE assembly

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

Disable VLE assembly

1,162 Views
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 Kudos
5 Replies

1,127 Views
stanish
NXP Employee
NXP Employee
0 Kudos

1,150 Views
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 Kudos

1,142 Views
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 Kudos

1,153 Views
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 Kudos

1,156 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, could you specify version of S32 Design Studio?

0 Kudos