Are you testing with an external flash module? What is the status of WP pin (should be high to disable write protect) when you issue the commands?
Are you testing with an external flash module? What is the status of WP pin (should be high to disable write protect) when you issue the commands?