Add chip erase to bootloader script