Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| code:code [2024/04/02 08:55] – Igor Yefmov | code:code [2024/06/07 15:00] (current) – [Firmware version info C/C++-struct] Igor Yefmov | ||
|---|---|---|---|
| Line 60: | Line 60: | ||
| ===== Firmware version info C/ | ===== Firmware version info C/ | ||
| - | The FX3 version | + | Both FX3 and FPGA version |
| <code cpp firmware-version.h> | <code cpp firmware-version.h> | ||
| Line 70: | Line 70: | ||
| unsigned buildNo | unsigned buildNo | ||
| }; | }; | ||
| + | // [0, 3] = [hhhh' | ||
| static_assert(sizeof(FwVersion) == 4); | static_assert(sizeof(FwVersion) == 4); | ||
| </ | </ | ||
| - | Both types of Version Infor (FX3 and FPGA) share the same codes for defining build type and build number: | + | For example the following sequence |
| - | |Code |Value | | + | < |
| - | ^ Release type ^^ | + | < |
| - | |0|Private build: Private build for debugging and similar purposes | | + | H/W config = 1 |
| - | |1|Alpha: feature-incomplete early development cycle " | + | product |
| - | |2|Beta: feature-complete, but not very stable build (lots of bugs) | | + | build type = 0 |
| - | |3|Evaluation: Tech preview | | + | build# = 1 |
| - | |4|Release candidate: feature complete and stable | | + | </ |
| - | |5|Release: general availability | | + | |
| - | |6|Backport: backport of a feature from next gen camera | | + | |
| - | |7|Emergency bug fix: a critical post-release bugfix | | + | |
| - | ^ Build number | + | |
| - | |#|'' | + | |
| + | and in little-endian memory layout is equivalent to a '' | ||
| ===== FX3 Version Info ===== | ===== FX3 Version Info ===== | ||
| The version id is also encoded into the firmware image file name as: | The version id is also encoded into the firmware image file name as: | ||
| Line 128: | Line 124: | ||
| |6|Gen 5 camera, prosumer grade " | |6|Gen 5 camera, prosumer grade " | ||
| |7|Gen 5 camera, professional grade " | |7|Gen 5 camera, professional grade " | ||
| + | |||
| + | ===== Shared parts of the Version Info ===== | ||
| + | Both types of Version Infor (FX3 and FPGA) share the same codes for defining build type and build number: | ||
| + | |Code |Value | | ||
| + | ^ Release type ^^ | ||
| + | |0|Private build: Private build for debugging and similar purposes | | ||
| + | |1|Alpha: feature-incomplete early development cycle " | ||
| + | |2|Beta: feature-complete, | ||
| + | |3|Evaluation: | ||
| + | |4|Release candidate: feature complete and stable | | ||
| + | |5|Release: general availability | | ||
| + | |6|Backport: | ||
| + | |7|Emergency bug fix: a critical post-release bugfix | | ||
| + | ^ Build number | ||
| + | |# | ||
| + | |||
| ---- | ---- | ||