So what you are asking doesn't make sense to me. Firmware is specific to the make, model and version of the HDDs. So my thought here is you are writing firmware but really are asking how to copy the contents of drives.
Copying files from drive to drive is something millions can do so I'm left with this. Try again and tell what you want to do.
Just got back my laptop from the repair man andI had my Asus hard drive switched for a hp drive and now there is no way of getting it back. I want to ask if it is possible to delete the contents of that drive along with the hp firmware so that I can install an Asus firmware on it?