Fixed erase chip bug for LPC1549 and added 0.5s delay to usb eject/insert