BUG FIX: ECCMODE parameter wasn't taken by flash/erase operation.