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

* Fixed a bug in the LPC1549 flash algorithm that cause the chip erase to fail causing flash problems for binaries >4Kb
* Modified the USB eject/insert media code to have a 0.5s delay before ejecting the media as per Michael's request. This will avoid problems on Windows 7.