MBDT ,The application is not running properly

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

MBDT ,The application is not running properly

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

dear NXP expert:

      I compile successfully MBDToolboxMPC574xPReleaseV2. 0.0 the example model, and through RAppID_Boot_Loader_Utility tools to complete the program download, but the application cannot run normally.

  • The program goes directly to the following location:

1533701581(1).jpg

thanks

ラベル(1)
0 件の賞賛
返信
1 解決策
1,269件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hello 742970882@qq.com‌,

Depending on code optimization options used to build the executable file, you might not see exactly the flow that you have in your code. If you enable the Instruction Stepping Mode (up-left, blue circle in the picture) you can navigate through the disassembly of your code. You can see that in this example (the uart example from our toolbox), the code is generating the call to MC_MODE_INIT() and it is called. Furthermore, you can enter in the disassembly window an address/function name and it will navigate you to the desired function. You can also have breakpoints here, so you can search MC_MODE_INIT in the disassembly window, put a breakpoint there and see it get called.

pastedImage_5.jpg

Hope this helps,

Razvan.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,270件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hello 742970882@qq.com‌,

Depending on code optimization options used to build the executable file, you might not see exactly the flow that you have in your code. If you enable the Instruction Stepping Mode (up-left, blue circle in the picture) you can navigate through the disassembly of your code. You can see that in this example (the uart example from our toolbox), the code is generating the call to MC_MODE_INIT() and it is called. Furthermore, you can enter in the disassembly window an address/function name and it will navigate you to the desired function. You can also have breakpoints here, so you can search MC_MODE_INIT in the disassembly window, put a breakpoint there and see it get called.

pastedImage_5.jpg

Hope this helps,

Razvan.

0 件の賞賛
返信
1,269件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Side note: we recommend not using any optimizations in the development and testing phases, as it can change the order in which the various functions are called (or operations are being executed). This makes the debugging process harder and introduces a level of uncertainty for who's going through the code. 

Kind regards,

Razvan. 

0 件の賞賛
返信