implemented RTOS friendly dfu, stubs in place to perform system checks and settings for full dfu procedure.