MPC55xx VLE mode switching

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC55xx VLE mode switching

ソリューションへジャンプ
1,383件の閲覧回数
Bloodhound
Contributor I

Hi All,

If the CPU is running in VLE mode (an e200z760 in my case), is it necessary to switch out of VLE mode before jumping to 'normal' non VLE instructions? If so what register controls this?

Thanks.

タグ(2)
0 件の賞賛
返信
1 解決策
1,024件の閲覧回数
EAlepins
Contributor V

Hi,

I don't see exactly the microcontroller you are using because there is no e200z760 cores in the MPC55xx family... Anyway, the VLE/non-VLE mode is defined by MMU pages. The MAS2 core MMU register has a "VLE" bit which tells if that page must be executed in VLE mode or not. Hence, when jumping from VLE code to non-VLE code, there is nothing special to do, except to make sure the MMU page you come from is really configured as VLE and the destination one as non-VLE.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,024件の閲覧回数
Bloodhound
Contributor I

Thank you for the answers, sorry for the delayed response. And I did have the heading a little misleading, it is a MPC5674F I was working with.

0 件の賞賛
返信
1,024件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport
1,025件の閲覧回数
EAlepins
Contributor V

Hi,

I don't see exactly the microcontroller you are using because there is no e200z760 cores in the MPC55xx family... Anyway, the VLE/non-VLE mode is defined by MMU pages. The MAS2 core MMU register has a "VLE" bit which tells if that page must be executed in VLE mode or not. Hence, when jumping from VLE code to non-VLE code, there is nothing special to do, except to make sure the MMU page you come from is really configured as VLE and the destination one as non-VLE.

0 件の賞賛
返信