Debug options to select in S32 Design Studio

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

Debug options to select in S32 Design Studio

ソリューションへジャンプ
3,790件の閲覧回数
mrajanna
Contributor V

Hi,

I have a simple question, please don't mind.

I could build the project in Fig 1.

 

When I try to debug, fig 2 screen pops up. Please explain me 3 different options available in fig 2. Also which one should I select for debugging ?  

pastedImage_4.png

Thanks

Mohan

1 解決策
2,897件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello Mohan, 

Basically If you create a new project for e.g. S32K144 there are 3 different build configurations available.

  • Debug_Flash
  • Debug_RAM
  • Release

  • pastedImage_8.png

Each configuration may use different linker file to place the code into - RAM /Flash

or different build tools setup (no optimization vs. full optimization) - Debug/Release

For more details see:What is the difference between Debug RAM and Debug Flash? 

The output folder (where the executable/binary/object/dependency/make files are placed into) changes based on selected Build Configuration.

e.g. in case  "Debug" build configuration "Debug" sub-folder is created within the project folder.

pastedImage_14.png

Now each build configuration has it's own dedicated debug configuration since each build configuration uses a different output file. The debug configurations can be also differently customized e.g. debug version vs. release one.

Anyway if your active build configuration is "Debug" you should use the debug configuration with the same prefix name e.g. S32K144_project_Debug

pastedImage_11.png

back to your screenshots: The project manager on Figure 1 shows that your active build configuration is "Debug" so you should use "UART_Debug_PNE" in figure 2.

Hope it helps.

Stan

元の投稿で解決策を見る

2 返答(返信)
2,898件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello Mohan, 

Basically If you create a new project for e.g. S32K144 there are 3 different build configurations available.

  • Debug_Flash
  • Debug_RAM
  • Release

  • pastedImage_8.png

Each configuration may use different linker file to place the code into - RAM /Flash

or different build tools setup (no optimization vs. full optimization) - Debug/Release

For more details see:What is the difference between Debug RAM and Debug Flash? 

The output folder (where the executable/binary/object/dependency/make files are placed into) changes based on selected Build Configuration.

e.g. in case  "Debug" build configuration "Debug" sub-folder is created within the project folder.

pastedImage_14.png

Now each build configuration has it's own dedicated debug configuration since each build configuration uses a different output file. The debug configurations can be also differently customized e.g. debug version vs. release one.

Anyway if your active build configuration is "Debug" you should use the debug configuration with the same prefix name e.g. S32K144_project_Debug

pastedImage_11.png

back to your screenshots: The project manager on Figure 1 shows that your active build configuration is "Debug" so you should use "UART_Debug_PNE" in figure 2.

Hope it helps.

Stan

2,897件の閲覧回数
mrajanna
Contributor V

Thanks Stan. It helped me.

0 件の賞賛
返信