I am debugging FRDM-KL05Z with USBDM, but I received a 'Failed to resume target process., Downloading binary to target..' error message. What do I do?

To solve this problem, use the standalone flash programmers with ARM based devices that comes with USBDM.

Figure 1. USBDM 4.10.4 Installed Program Shortcuts

USBDM 4.10.4 Installed Program Shortcuts

The Flash Programmer has a Detect functionality, in this case it is not able to detect the KL05Z32 on the FRDM-KL05Z board:
Figure 2. Flash Programmer for ARM

Flash Programmer for ARM

Flash Programmer for ARM also reports the chip ID. The ID mapping is described in the arm_devices.xml file inside the USBDM installation folder:
Figure 3. arm_devices.xml Configuration

arm_devices.xml configuration

The arm_devices.xml file has the KL05Z32 listed as:
Figure 4. arm_devices.xml

arm_devices.xml

As the code in the above figure shows that the device ID (0x05130480) does not match what the programmer reported (0x5130402). Testing the ID with the working FRDM-KL25Z, it shows that the last nibble is zero, so you have the change the above entry, as the following figure shows:
Figure 5. Changed arm_devices.xml

arm_devices.xml

With this your device detects properly, as the following figure shows:
Figure 6. MKL05Z32M4 Detected

MKL05Z32M4 Detected

Now you can successfully debug the FRDM-KL05Z with USBDM using CodeWarrior for MCU10.x.