improved upload

bossac often complains about "Auto scan for device failed". Adding a sleep between stty and bossac solves the problem most of the times.