cc2538-bsl can't flash if the terminal is attached, refactor the test so the terminal is detached between flashes.