The error that is reported is typically Error 18 and is caused by an incompatible ELF file . PEmicro software only supports ELF files that contain debug info in DWARF 2 format.
From within Kinetis Design Studio:
- Right Click on your project -> Properties
- Expand out C/C++ Build -> Settings
- Tool Settings tab -> Debugging
- Debug Format - choose "dwarf-2"
- Click Apply and okay
Then clean and rebuild your project to generate the new ELF file. This procedure needs to be repeated for any library projects as well.
If you are using a different development environment, please contact the vendor for further assistance.