looks as issue with power supply of MCU. Also you can check if the correct debug connection is selected in IAR (SWD or J-LINK) for Cortex M0+ base MCU has to be SWD.
What kind of debug interface are you using external or integrated in the board for example on freedom board ?