change ecc mode to sw