please try n546 - it reduces memory use which seems to help flashing and glitching in low memory conditions