Get FreeDOS image http://www.finnix.org/files/balder10.img
and the utility http://support.wdc.com/product/download.asp?groupid=609&sid=113&lang=en
Add to the /etc/grub.d/40_custom to boot into DOS.
menuentry "FreeDOS (WesternDigital Idle3 tool)" {
insmod ext2
set root=(hd6,1)
search --no-floppy --fs-uuid --set PUT_HERE_UUID_OF_YOUR_DRIVE
linux16 /usr/lib/syslinux/memdisk bigraw
insmod ext2
set root=(hd6,1)
search --no-floppy --fs-uuid --set PUT_HERE_UUID_OF_YOUR_DRIVE
initrd16 /boot/balder10.img
}
Get this part from /boot/grub/grub.cfg from the section for your disk with /boot.
set root=(hd6,1)
search --no-floppy --fs-uuid --set PUT_HERE_UUID_OF_YOUR_DRIVE
Create FAT partition with Disc Utility from Gnome and formate with mkfs.vfat (fat32)
Reboot into the mode 3 in FreeDOS (wait until system asks you, it can take a few seconds) and with C: you will get to the utility.
Disabling of the timer /D does not help, so just set 5 minutes timeout with /S300.