Known Issue: Debugging With Intel® System Studio for Microcontrollers 2015 Update 2 Does Not Work if Compiler Option -Wl,-u -Wl,_printf_float is Used

Product affected: Intel® System Studio for Microcontrollers 2015 Update 2 

Issue

Debugging within Eclipse does not work if the compiler option "-Wl,-u -Wl,_printf_float" is used. The following error message will be shown:

Error in final launch sequence
Failed to execute MI command:
load FW.elf 

Error message from debugger back end:
Bogus trace status reply from target: OK
Bogus trace status reply from target: OK

Workaround

If the compiler option -Wl,-u -Wl,_printf_float is used the debug configuration in Eclipse needs to be changed in order to debug the application. If the changes are not done the debugging session will terminate. This issue will be fixed in an later update. 

Debugger configuration changes compared to configuration described in the user guide:

  1. “Reset and Delay” checkbox needs to be unchecked
  2. “Halt” checkbox needs to be unchecked
  3. 3 commands need to be added to the command field:
monitor reset halt
set remotetimeout 30
flushregs

After applying those changes the debug configuration should look as follows:

For more complete information about compiler optimizations, see our Optimization Notice.