this is classic embedded development. never ever change anything once you get the device sort of working.