Book E instruction based bootloader example for MPC5748G

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

Book E instruction based bootloader example for MPC5748G

Jump to solution
2,105 Views
sawrs
Contributor I

I have installed S32DS version 2.1 Build ID 190624. The BootLoader example for MPC5748G uses VLE instructions (specifically in 'startup.s'). Do you have an example BootLoader project that uses only Book E instructions (without any VLE instructions)? I appreciate your response.

0 Kudos
Reply
1 Solution
2,101 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

MPC5748G and almost all MPC57xx devices support VLE instruction set only. The only exception is MPC5777C which supports both BOOK E and VLE. So, I'm not really sure if I can understand the question.

Regards,

Lukas

View solution in original post

0 Kudos
Reply
4 Replies
2,102 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

MPC5748G and almost all MPC57xx devices support VLE instruction set only. The only exception is MPC5777C which supports both BOOK E and VLE. So, I'm not really sure if I can understand the question.

Regards,

Lukas

0 Kudos
Reply
2,096 Views
sawrs
Contributor I

Hi Lukas,

 

Thanks for your response. The core in MPC5748G is e200z4 and e200z2. The cores supports Book E instructions and also VLE. The compiler has an option to generate Book E instructions only ('-mno-vle'). Currently, I want to make use of target binary that has only Book E instructions. I cannot use a target binary which has a mix of VLE and Book E instructions. Hence my request for BootLoader example which does not use any VLE instructions.

 

Kind regards

 

0 Kudos
Reply
2,093 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

No, BOOK E is really not supported. Take a look at

https://www.nxp.com/docs/en/application-note/AN4802.pdf

lukaszadrapa_0-1628013397523.pnglukaszadrapa_1-1628013427903.pnglukaszadrapa_2-1628013472558.png

 

Regards,

Lukas

 

0 Kudos
Reply
2,091 Views
sawrs
Contributor I

Hi Lukas,

 

Thank you very much for sharing that Application Note. That was very helpful.

 

Kind regards

Srini

0 Kudos
Reply