firmware update wip
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#ifndef LINUX_DEVICES_DEVICEDEFINITIONS_DEFINITIONS_H_
|
||||
#define LINUX_DEVICES_DEVICEDEFINITIONS_DEFINITIONS_H_
|
||||
#ifndef LINUX_DEVICES_DEVICEDEFINITIONS_STARTRACKER_DEFINITIONS_H_
|
||||
#define LINUX_DEVICES_DEVICEDEFINITIONS_STARTRACKER_DEFINITIONS_H_
|
||||
|
||||
#include <fsfw/datapool/PoolReadGuard.h>
|
||||
#include <fsfw/datapoollocal/LocalPoolVariable.h>
|
||||
@ -372,7 +372,6 @@ static const DeviceCommandId_t VALIDATION = 48;
|
||||
static const DeviceCommandId_t ALGO = 49;
|
||||
static const DeviceCommandId_t CHECKSUM = 50;
|
||||
static const DeviceCommandId_t READ = 51;
|
||||
static const DeviceCommandId_t WRITE = 52;
|
||||
static const DeviceCommandId_t DOWNLOAD_MATCHED_STAR = 53;
|
||||
static const DeviceCommandId_t STOP_IMAGE_LOADER = 55;
|
||||
static const DeviceCommandId_t RESET_ERROR = 56;
|
||||
@ -382,10 +381,6 @@ static const DeviceCommandId_t SET_READ_FILENAME = 59;
|
||||
static const DeviceCommandId_t SET_TIME = 60;
|
||||
static const DeviceCommandId_t DOWNLOAD_DBIMAGE = 61;
|
||||
static const DeviceCommandId_t DOWNLOAD_BLOBPIXEL = 62;
|
||||
static const DeviceCommandId_t DOWNLOAD_FPGA_IMAGE = 63;
|
||||
static const DeviceCommandId_t CHANGE_FPGA_DOWNLOAD_FILE = 64;
|
||||
static const DeviceCommandId_t UPLOAD_FPGA_IMAGE = 65;
|
||||
static const DeviceCommandId_t FPGA_ACTION = 66;
|
||||
static const DeviceCommandId_t REQ_CAMERA = 67;
|
||||
static const DeviceCommandId_t REQ_LIMITS = 68;
|
||||
static const DeviceCommandId_t REQ_LOG_LEVEL = 69;
|
||||
@ -403,6 +398,7 @@ static const DeviceCommandId_t REQ_DEBUG_CAMERA = 80;
|
||||
static const DeviceCommandId_t LOGLEVEL = 81;
|
||||
static const DeviceCommandId_t LOGSUBSCRIPTION = 82;
|
||||
static const DeviceCommandId_t DEBUG_CAMERA = 83;
|
||||
static const DeviceCommandId_t FIRMWARE_UPDATE = 84;
|
||||
static const DeviceCommandId_t NONE = 0xFFFFFFFF;
|
||||
|
||||
static const uint32_t VERSION_SET_ID = REQ_VERSION;
|
||||
@ -502,7 +498,6 @@ static const uint8_t UPLOAD_CENTROID = 17;
|
||||
static const uint8_t DOWNLOAD_MATCHED_STAR = 18;
|
||||
static const uint8_t DOWNLOAD_DBIMAGE = 19;
|
||||
static const uint8_t DOWNLOAD_BLOBPIXEL = 24;
|
||||
static const uint8_t FPGA_ACTION = 22;
|
||||
static const uint8_t LOG_LEVEL = 3;
|
||||
static const uint8_t LOG_SUBSCRIPTION = 19;
|
||||
static const uint8_t DEBUG_CAMERA = 20;
|
||||
@ -530,7 +525,7 @@ namespace region_secrets {
|
||||
static const uint32_t REGION_13_SECRET = 0xe53cf10d;
|
||||
static const uint32_t REGION_14_SECRET = 0xe862b70b;
|
||||
static const uint32_t REGION_15_SECRET = 0x79b537ca;
|
||||
uint32_t secret[16] {
|
||||
static const uint32_t secret[16] {
|
||||
REGION_0_SECRET,
|
||||
REGION_1_SECRET,
|
||||
REGION_2_SECRET,
|
||||
@ -556,9 +551,10 @@ enum class FlashSections: uint8_t {
|
||||
ARC_CONFIG_SECTION = 2
|
||||
};
|
||||
|
||||
// Flash region IDs of firmware partition
|
||||
enum class FirmwareRegions: uint32_t {
|
||||
START = 1,
|
||||
END = 8
|
||||
FIRST = 1,
|
||||
LAST = 8
|
||||
};
|
||||
|
||||
static const uint32_t FLASH_REGION_SIZE = 0x20000;
|
||||
@ -1911,5 +1907,5 @@ class DebugCameraSet : public StaticLocalDataSet<DEBUG_CAMERA_SET_ENTRIES> {
|
||||
sif::info << "DebugCameraSet::printSet: test: " << this->test << std::endl;
|
||||
}
|
||||
};
|
||||
} // namespace StarTracker
|
||||
#endif /* LINUX_DEVICES_DEVICEDEFINITIONS_DEFINITIONS_H_ */
|
||||
} // namespace startracker
|
||||
#endif /* LINUX_DEVICES_DEVICEDEFINITIONS_STARTRACKER_DEFINITIONS_H_ */
|
||||
|
Reference in New Issue
Block a user