[关闭]
@iar 2015-04-23T01:57:44.000000Z 字数 919 阅读 78

Firmware 2.x State Sequence

Firmware



data flow

Created with Raphaël 2.1.2MEMSMEMSim_rec_t (SRAM)im_rec_t (SRAM)im_srec_t (XRAM)im_srec_t (XRAM)FlashFlashBLEBLETriggered by HW TMR1 @ 1kHzloweset priority tasknormalizationstore tocall to ADAdata_pack, store eventdata_pack, for ble upload

BLE

Created with Raphaël 2.1.2BLE_APPBLE_APPSYS_EVENTSYS_EVENTBLE_APP_STARTBLE_APP_STARTBLE_ADVERT_ENDBLE_ADVERT_ENDBLE_DISCONNECTBLE_DISCONNECTBLE_FOTABLE_FOTABLE_CONFIRMBLE_CONFIRMBLE_DOWNLOADBLE_DOWNLOADBLE_WATCHDOGBLE_WATCHDOGmsg

FOTA

Created with Raphaël 2.1.2BLE_APPBLE_APPBLE_FOTABLE_FOTAfotaExecfotaExecevents & BLE_FOTA_EVTdispatch to the executor for fota task

CMD

Created with Raphaël 2.1.2im_cmd_pktAim_cmd_pktAfotaBegReqfotaBegReqerrerrfotaPktReqfotaPktReqendendreload_timerreload_timerIM_CMD_FOTA_CFGchecking the fota error code before continue the real actionrespond to failure to start and endif returnstart FOTA streamstart periodic BLE_FOTA_EVT
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注