I am trying to erase and program u-boot using a T4240 with flash device S70GL02GS12FHBV20, which is two S29GL01GS in a stacked configuration.
When using the Flash Programmer utility, we select the "Unprotect flash memory before erase" option, then Erase & Program. Code Warrior reports that the flash was successfully unprotected, but when trying to erase the sectors, it still reports Sector Protection Error.
We're using programming algorithm 128Mx16x1. This successfully erases and programs anything that is not u-boot. Our protecttype is amd. I don't know what other options exist.
We have the WP# signal on our flash set high, so its sector protection should not be active.
Any suggestions?