In the release mode of MCUXpresso, the program can compile successfully but cannot run.

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

In the release mode of MCUXpresso, the program can compile successfully but cannot run.

ソリューションへジャンプ
1,997件の閲覧回数
1054144848
Contributor II

In the release mode of MCUXpresso, the program can compile successfully but cannot run. Whether it is downloaded directly to the board by the emulator or downloaded to the board with the bootloader after changing the address, it cannot run. How can I solve this problem?

1 解決策
1,913件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Usually the main difference is the optimization level:

pastedImage_1.png

I suggest you turn off optimizations and debug it. And you might set the debug level to -g3 too.

I hope this helps,

Erich

PS: Debug vs. Release? | MCU on Eclipse 

元の投稿で解決策を見る

2 返答(返信)
1,914件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Usually the main difference is the optimization level:

pastedImage_1.png

I suggest you turn off optimizations and debug it. And you might set the debug level to -g3 too.

I hope this helps,

Erich

PS: Debug vs. Release? | MCU on Eclipse 

1,913件の閲覧回数
1054144848
Contributor II

Thank you, this is very useful.

0 件の賞賛
返信