Originally Posted by TobiSGD
If you want to reset your SSD you can use its Secure Erase feature, it will do what you want to achieve:
sudo hdparm --security-erase NULL /dev/sda
Thanks, are you sure this is correct though? There is no mention in the manual that --security-erase actually uses TRIM or that it in any other way tells the controller this data has been deleted using TRIM. Simply deleting the contents of the device, e.g. sending it arbitrary data to fill every byte, will not erase anything as far as the SSD controller is concerned.
Also, I'm still wondering how it can be verified that the device has been reset.