dRonin
adbada4
dRonin firmware
|
This file contains the DFU commands handling code. More...
#include "pios.h"
#include "op_dfu.h"
#include "pios_bl_helper.h"
#include "pios_com_msg.h"
#include <pios_board_info.h>
Go to the source code of this file.
Functions | |
void | sendData (uint8_t *buf, uint16_t size) |
uint32_t | CalcFirmCRC (void) |
void | DataDownload (DownloadAction action) |
void | processComand (uint8_t *xReceive_Buffer) |
void | OPDfuIni (uint8_t discover) |
uint32_t | baseOfAdressType (DFUTransfer type) |
uint8_t | isBiggerThanAvailable (DFUTransfer type, uint32_t size) |
bool | flash_read (uint8_t *buffer, uint32_t adr, DFUProgType type) |
Variables | |
Device | devicesTable [10] |
uint8_t | numberOfDevices = 0 |
DFUProgType | currentProgrammingDestination |
uint8_t | currentDeviceCanRead |
uint8_t | currentDeviceCanWrite |
Device | currentDevice |
uint8_t | Buffer [64] |
uint8_t | echoBuffer [64] |
uint8_t | SendBuffer [64] |
uint8_t | Command = 0 |
uint8_t | EchoReqFlag = 0 |
uint8_t | EchoAnsFlag = 0 |
uint8_t | StartFlag = 0 |
uint32_t | Aditionals = 0 |
uint32_t | SizeOfTransfer = 0 |
uint32_t | Expected_CRC = 0 |
uint8_t | SizeOfLastPacket = 0 |
uint32_t | Next_Packet = 0 |
uint8_t | TransferType |
uint32_t | Count = 0 |
uint32_t | Data |
uint8_t | Data0 |
uint8_t | Data1 |
uint8_t | Data2 |
uint8_t | Data3 |
uint8_t | offset = 0 |
uint32_t | aux |
uint32_t | downSizeOfLastPacket = 0 |
uint32_t | downPacketTotal = 0 |
uint32_t | downPacketCurrent = 0 |
DFUTransfer | downType = 0 |
DFUStates | DeviceState |
uint8_t | JumpToApp |
This file contains the DFU commands handling code.
Definition in file op_dfu.c.