Start with debug vs flash

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

Start with debug vs flash

621 Views
ceciliac
Contributor III

Hi, I have a somewhat rudimentary question....is there any difference in what is flashed  depending on if I use the "Debug Configuration" och "Flash from file". Is there additional content flashed for the debugging to work?

Thanks,

Cecilia

Tags (1)
0 Kudos
1 Reply

512 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

The way how you upload your program into Flash has no effect on debug ability. The question is - if your output .elf file contain debug info (-g option) or not. 

The additional content is added by your debugger - PE Micro or any other. With flashing from file you need o attach to running target. With debug configuration is started debug session. 

Jiri 

0 Kudos