Skip to content

Commit

Permalink
Merge pull request #9 from maidnl/opta_analog_rebased
Browse files Browse the repository at this point in the history
Opta Analog Expansion: fix for updateAnalogOutputs() function
  • Loading branch information
maidnl authored Jul 31, 2024
2 parents 65ae1b8 + 7c5ee1c commit 9af0e17
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 54 deletions.
104 changes: 52 additions & 52 deletions examples/updateExpansionFw/fwUpdateAnalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const unsigned char opta_analog_fw_update[] = {
0x20, 0x01, 0x00, 0x20, 0x10, 0xB5, 0x4F, 0xF4, 0xB8, 0x60, 0x0D, 0xF0, 0x49, 0xFB, 0x04, 0x46,
0x00, 0xF0, 0x78, 0xF9, 0x03, 0x4B, 0x20, 0x46, 0x1C, 0x60, 0xBD, 0xE8, 0x10, 0x40, 0x00, 0xF0,
0x7F, 0xBF, 0x00, 0xBF, 0x20, 0x01, 0x00, 0x20, 0x00, 0x20, 0x70, 0x47, 0x01, 0x20, 0x70, 0x47,
0x04, 0x20, 0x70, 0x47, 0x08, 0xB5, 0x01, 0x21, 0x13, 0x20, 0x0A, 0xF0, 0x4D, 0xFB, 0x00, 0x21,
0x05, 0x20, 0x70, 0x47, 0x08, 0xB5, 0x01, 0x21, 0x13, 0x20, 0x0A, 0xF0, 0x4D, 0xFB, 0x00, 0x21,
0x12, 0x20, 0x0A, 0xF0, 0x49, 0xFB, 0x01, 0x21, 0x14, 0x20, 0xBD, 0xE8, 0x08, 0x40, 0x0A, 0xF0,
0x43, 0xBB, 0x08, 0xB5, 0x00, 0x21, 0x13, 0x20, 0x0A, 0xF0, 0x3E, 0xFB, 0x01, 0x21, 0x12, 0x20,
0x0A, 0xF0, 0x3A, 0xFB, 0x01, 0x21, 0x14, 0x20, 0xBD, 0xE8, 0x08, 0x40, 0x0A, 0xF0, 0x34, 0xBB,
Expand Down Expand Up @@ -212,52 +212,52 @@ const unsigned char opta_analog_fw_update[] = {
0xFF, 0xF7, 0xAE, 0xFC, 0x23, 0x44, 0x00, 0x22, 0x83, 0xF8, 0x78, 0x25, 0x94, 0xF8, 0x26, 0x30,
0x01, 0x2B, 0x08, 0xBF, 0x84, 0xF8, 0xB0, 0x35, 0x00, 0x22, 0x03, 0x23, 0x20, 0x21, 0x04, 0xF1,
0x50, 0x00, 0x01, 0xF0, 0xBB, 0xFC, 0x28, 0x46, 0x38, 0xBD, 0x38, 0xB5, 0x00, 0x22, 0x04, 0x46,
0x03, 0x23, 0x22, 0x21, 0x20, 0x30, 0x01, 0xF0, 0x8F, 0xFC, 0x05, 0x46, 0x40, 0xB1, 0x00, 0x22,
0x84, 0xF8, 0xB0, 0x25, 0x03, 0x23, 0x20, 0x21, 0x04, 0xF1, 0x50, 0x00, 0x01, 0xF0, 0xA6, 0xFC,
0x28, 0x46, 0x38, 0xBD, 0x38, 0xB5, 0x01, 0x22, 0x04, 0x46, 0x04, 0x23, 0x0A, 0x21, 0x20, 0x30,
0x01, 0xF0, 0x8B, 0xFC, 0x05, 0x46, 0xE8, 0xB1, 0x94, 0xF8, 0x23, 0x30, 0x84, 0xF8, 0x53, 0x30,
0x07, 0x2B, 0x1C, 0xD8, 0x04, 0xEB, 0x43, 0x12, 0x5B, 0x01, 0x92, 0xF8, 0x01, 0x22, 0x23, 0x44,
0x92, 0xB1, 0xD3, 0xE9, 0x7E, 0x01, 0x0D, 0xF0, 0x89, 0xF9, 0x80, 0xB2, 0x84, 0xF8, 0x54, 0x00,
0x00, 0x0A, 0x84, 0xF8, 0x55, 0x00, 0x06, 0x23, 0x03, 0x22, 0x0A, 0x21, 0x04, 0xF1, 0x50, 0x00,
0x01, 0xF0, 0x85, 0xFC, 0x28, 0x46, 0x38, 0xBD, 0xB3, 0xF8, 0xEE, 0x01, 0xEE, 0xE7, 0x00, 0x23,
0xA4, 0xF8, 0x54, 0x30, 0xEF, 0xE7, 0x2D, 0xE9, 0xF0, 0x41, 0x03, 0x23, 0x05, 0x46, 0x00, 0x22,
0x0B, 0x21, 0x20, 0x30, 0x01, 0xF0, 0x59, 0xFC, 0x07, 0x46, 0xE8, 0xB1, 0x2C, 0x46, 0x05, 0xF5,
0x80, 0x78, 0x2E, 0x46, 0x94, 0xF8, 0x01, 0x32, 0xCB, 0xB1, 0xD4, 0xE9, 0x7E, 0x01, 0x0D, 0xF0,
0x5D, 0xF9, 0x80, 0xB2, 0x20, 0x34, 0x86, 0xF8, 0x53, 0x00, 0x44, 0x45, 0x4F, 0xEA, 0x10, 0x20,
0x86, 0xF8, 0x54, 0x00, 0x06, 0xF1, 0x02, 0x06, 0xEC, 0xD1, 0x13, 0x23, 0x10, 0x22, 0x0B, 0x21,
0x05, 0xF1, 0x50, 0x00, 0x01, 0xF0, 0x53, 0xFC, 0x38, 0x46, 0xBD, 0xE8, 0xF0, 0x81, 0xB4, 0xF8,
0xEE, 0x01, 0xE7, 0xE7, 0x38, 0xB5, 0x09, 0x22, 0x04, 0x46, 0x0C, 0x23, 0x13, 0x21, 0x20, 0x30,
0x01, 0xF0, 0x1A, 0xFC, 0x05, 0x46, 0x68, 0xB3, 0x94, 0xF8, 0x23, 0x20, 0x03, 0x2A, 0x22, 0xD8,
0x94, 0xF8, 0x27, 0x30, 0x94, 0xF8, 0x26, 0x10, 0x1B, 0x06, 0x03, 0xEB, 0x01, 0x43, 0x94, 0xF8,
0x24, 0x10, 0x0B, 0x44, 0x54, 0x21, 0x01, 0xFB, 0x02, 0x42, 0x94, 0xF8, 0x25, 0x10, 0x03, 0xEB,
0x01, 0x23, 0xC2, 0xF8, 0xE4, 0x30, 0x94, 0xF8, 0x2B, 0x30, 0x94, 0xF8, 0x2A, 0x10, 0x1B, 0x06,
0x03, 0xEB, 0x01, 0x43, 0x94, 0xF8, 0x28, 0x10, 0x0B, 0x44, 0x94, 0xF8, 0x29, 0x10, 0x03, 0xEB,
0x01, 0x23, 0xC2, 0xF8, 0xE8, 0x30, 0x03, 0x23, 0x00, 0x22, 0x20, 0x21, 0x04, 0xF1, 0x50, 0x00,
0x01, 0xF0, 0x0C, 0xFC, 0x28, 0x46, 0x38, 0xBD, 0x38, 0xB5, 0x00, 0x22, 0x04, 0x46, 0x03, 0x23,
0x12, 0x21, 0x20, 0x30, 0x01, 0xF0, 0xF1, 0xFB, 0x05, 0x46, 0x50, 0xB1, 0x94, 0xF8, 0xA2, 0x35,
0x84, 0xF8, 0x53, 0x30, 0x01, 0x22, 0x04, 0x23, 0x12, 0x21, 0x04, 0xF1, 0x50, 0x00, 0x01, 0xF0,
0xFE, 0xFB, 0x28, 0x46, 0x38, 0xBD, 0x38, 0xB5, 0x01, 0x22, 0x04, 0x46, 0x04, 0x23, 0x15, 0x21,
0x20, 0x30, 0x01, 0xF0, 0xC9, 0xFB, 0x05, 0x46, 0x50, 0xB1, 0x94, 0xF8, 0x23, 0x30, 0x84, 0xF8,
0xA4, 0x35, 0x00, 0x22, 0x03, 0x23, 0x20, 0x21, 0x04, 0xF1, 0x50, 0x00, 0x01, 0xF0, 0xDE, 0xFB,
0x28, 0x46, 0x38, 0xBD, 0x00, 0x23, 0xC2, 0x18, 0x92, 0xF8, 0x78, 0x25, 0x02, 0xF0, 0xFF, 0x01,
0x12, 0xB1, 0x01, 0x33, 0x08, 0x2B, 0xF6, 0xD1, 0x08, 0x46, 0x70, 0x47, 0x10, 0xB5, 0x00, 0xF1,
0x86, 0x02, 0x00, 0x23, 0xC1, 0x18, 0x91, 0xF8, 0x8E, 0x40, 0x12, 0xF8, 0x01, 0x1B, 0x8C, 0x42,
0x04, 0xD1, 0x01, 0x33, 0x08, 0x2B, 0xF5, 0xD1, 0x00, 0x20, 0x10, 0xBD, 0x01, 0x20, 0xFC, 0xE7,
0x2D, 0xE9, 0xF0, 0x4F, 0x89, 0xB0, 0x0D, 0xF1, 0x20, 0x09, 0x00, 0x23, 0x49, 0xF8, 0x08, 0x3D,
0x0F, 0x46, 0x01, 0x92, 0x14, 0x46, 0x20, 0x26, 0x03, 0x93, 0x01, 0xF0, 0xF7, 0xFD, 0x4A,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x21, 0x04, 0xF1, 0x50, 0x00, 0x01, 0xF0,
0xA5, 0xFC, 0x28, 0x46, 0x38, 0xBD, 0x38, 0xB5, 0x01, 0x22, 0x04, 0x46, 0x04, 0x23, 0x0A, 0x21,
0x20, 0x30, 0x01, 0xF0, 0x8A, 0xFC, 0x05, 0x46, 0xE8, 0xB1, 0x94, 0xF8, 0x23, 0x30, 0x84, 0xF8,
0x53, 0x30, 0x07, 0x2B, 0x1C, 0xD8, 0x04, 0xEB, 0x43, 0x12, 0x5B, 0x01, 0x92, 0xF8, 0x01, 0x22,
0x23, 0x44, 0x92, 0xB1, 0xD3, 0xE9, 0x7E, 0x01, 0x0D, 0xF0, 0x88, 0xF9, 0x80, 0xB2, 0x84, 0xF8,
0x54, 0x00, 0x00, 0x0A, 0x84, 0xF8, 0x55, 0x00, 0x06, 0x23, 0x03, 0x22, 0x0A, 0x21, 0x04, 0xF1,
0x50, 0x00, 0x01, 0xF0, 0x84, 0xFC, 0x28, 0x46, 0x38, 0xBD, 0xB3, 0xF8, 0xEE, 0x01, 0xEE, 0xE7,
0x00, 0x23, 0xA4, 0xF8, 0x54, 0x30, 0xEF, 0xE7, 0x2D, 0xE9, 0xF0, 0x41, 0x03, 0x23, 0x05, 0x46,
0x00, 0x22, 0x0B, 0x21, 0x20, 0x30, 0x01, 0xF0, 0x58, 0xFC, 0x07, 0x46, 0xE8, 0xB1, 0x2C, 0x46,
0x05, 0xF5, 0x80, 0x78, 0x2E, 0x46, 0x94, 0xF8, 0x01, 0x32, 0xCB, 0xB1, 0xD4, 0xE9, 0x7E, 0x01,
0x0D, 0xF0, 0x5C, 0xF9, 0x80, 0xB2, 0x20, 0x34, 0x86, 0xF8, 0x53, 0x00, 0x44, 0x45, 0x4F, 0xEA,
0x10, 0x20, 0x86, 0xF8, 0x54, 0x00, 0x06, 0xF1, 0x02, 0x06, 0xEC, 0xD1, 0x13, 0x23, 0x10, 0x22,
0x0B, 0x21, 0x05, 0xF1, 0x50, 0x00, 0x01, 0xF0, 0x52, 0xFC, 0x38, 0x46, 0xBD, 0xE8, 0xF0, 0x81,
0xB4, 0xF8, 0xEE, 0x01, 0xE7, 0xE7, 0x38, 0xB5, 0x09, 0x22, 0x04, 0x46, 0x0C, 0x23, 0x13, 0x21,
0x20, 0x30, 0x01, 0xF0, 0x19, 0xFC, 0x05, 0x46, 0x68, 0xB3, 0x94, 0xF8, 0x23, 0x20, 0x03, 0x2A,
0x22, 0xD8, 0x94, 0xF8, 0x27, 0x30, 0x94, 0xF8, 0x26, 0x10, 0x1B, 0x06, 0x03, 0xEB, 0x01, 0x43,
0x94, 0xF8, 0x24, 0x10, 0x0B, 0x44, 0x54, 0x21, 0x01, 0xFB, 0x02, 0x42, 0x94, 0xF8, 0x25, 0x10,
0x03, 0xEB, 0x01, 0x23, 0xC2, 0xF8, 0xE4, 0x30, 0x94, 0xF8, 0x2B, 0x30, 0x94, 0xF8, 0x2A, 0x10,
0x1B, 0x06, 0x03, 0xEB, 0x01, 0x43, 0x94, 0xF8, 0x28, 0x10, 0x0B, 0x44, 0x94, 0xF8, 0x29, 0x10,
0x03, 0xEB, 0x01, 0x23, 0xC2, 0xF8, 0xE8, 0x30, 0x03, 0x23, 0x00, 0x22, 0x20, 0x21, 0x04, 0xF1,
0x50, 0x00, 0x01, 0xF0, 0x0B, 0xFC, 0x28, 0x46, 0x38, 0xBD, 0x38, 0xB5, 0x00, 0x22, 0x04, 0x46,
0x03, 0x23, 0x12, 0x21, 0x20, 0x30, 0x01, 0xF0, 0xF0, 0xFB, 0x05, 0x46, 0x50, 0xB1, 0x94, 0xF8,
0xA2, 0x35, 0x84, 0xF8, 0x53, 0x30, 0x01, 0x22, 0x04, 0x23, 0x12, 0x21, 0x04, 0xF1, 0x50, 0x00,
0x01, 0xF0, 0xFD, 0xFB, 0x28, 0x46, 0x38, 0xBD, 0x38, 0xB5, 0x01, 0x22, 0x04, 0x46, 0x04, 0x23,
0x15, 0x21, 0x20, 0x30, 0x01, 0xF0, 0xC8, 0xFB, 0x05, 0x46, 0x50, 0xB1, 0x94, 0xF8, 0x23, 0x30,
0x84, 0xF8, 0xA4, 0x35, 0x00, 0x22, 0x03, 0x23, 0x20, 0x21, 0x04, 0xF1, 0x50, 0x00, 0x01, 0xF0,
0xDD, 0xFB, 0x28, 0x46, 0x38, 0xBD, 0x00, 0x23, 0xC2, 0x18, 0x92, 0xF8, 0x78, 0x25, 0x02, 0xF0,
0xFF, 0x01, 0x12, 0xB1, 0x01, 0x33, 0x08, 0x2B, 0xF6, 0xD1, 0x08, 0x46, 0x70, 0x47, 0x10, 0xB5,
0x00, 0xF1, 0x86, 0x02, 0x00, 0x23, 0xC1, 0x18, 0x91, 0xF8, 0x8E, 0x40, 0x12, 0xF8, 0x01, 0x1B,
0x8C, 0x42, 0x04, 0xD1, 0x01, 0x33, 0x08, 0x2B, 0xF5, 0xD1, 0x00, 0x20, 0x10, 0xBD, 0x01, 0x20,
0xFC, 0xE7, 0x2D, 0xE9, 0xF0, 0x4F, 0x89, 0xB0, 0x0D, 0xF1, 0x20, 0x09, 0x00, 0x23, 0x49, 0xF8,
0x08, 0x3D, 0x0F, 0x46, 0x01, 0x92, 0x14, 0x46, 0x20, 0x26, 0x03, 0x93, 0x01, 0xF0, 0xF6, 0xFD,
0x4A, 0x46, 0x39, 0x46, 0x01, 0xF0, 0x85, 0xFE, 0x01, 0x28, 0x3F, 0xD1, 0x06, 0x9D, 0xB5, 0x42,
0x28, 0xBF, 0x35, 0x46, 0x63, 0x19, 0x07, 0xF1, 0xFF, 0x3B, 0x02, 0x93, 0xAB, 0xEB, 0x04, 0x0B,
0x02, 0x9B, 0x9C, 0x42, 0x2A, 0xD0, 0x14, 0xF8, 0x01, 0xAB, 0x04, 0xEB, 0x0B, 0x08, 0x01, 0xF0,
0xDD, 0xFD, 0x41, 0x46, 0x01, 0xF0, 0x02, 0xFE, 0x82, 0x45, 0xF1, 0xD0, 0x08, 0xAA, 0x03, 0x9B,
0x42, 0xF8, 0x04, 0x3D,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, 0xF0,
0xCB, 0xFB, 0x01, 0x21, 0x08, 0x46, 0x09, 0xF0, 0xC7, 0xFB, 0x20, 0x46, 0x01, 0xF0, 0x08, 0xF8,
Expand Down Expand Up @@ -378,7 +378,7 @@ const unsigned char opta_analog_fw_update[] = {
0xFE, 0xF7, 0x30, 0xFF, 0xE4, 0xB2, 0x20, 0x43, 0xC0, 0xB2, 0x95, 0xF8, 0x9D, 0x35, 0xB2, 0xE7,
0x18, 0x46, 0xB7, 0xE7, 0x43, 0xF4, 0x00, 0x73, 0xBA, 0xE7, 0x38, 0xB5, 0x0A, 0x46, 0x05, 0x46,
0x0C, 0x46, 0x00, 0x21, 0xFF, 0xF7, 0x83, 0xFF, 0x22, 0x46, 0x28, 0x46, 0x01, 0x21, 0xBD, 0xE8,
0x38, 0x40, 0xFF, 0xF7, 0x7C, 0xBF, 0x2D, 0xE9, 0xF0, 0x47, 0x04, 0x46, 0xFF, 0xF7, 0xAE, 0xFB,
0x38, 0x40, 0xFF, 0xF7, 0x7C, 0xBF, 0x2D, 0xE9, 0xF0, 0x47, 0x04, 0x46, 0xFF, 0xF7, 0xAF, 0xFB,
0x00, 0x28, 0x7D, 0xD0, 0x00, 0x21, 0x20, 0x46, 0xFF, 0xF7, 0x58, 0xFF, 0x00, 0x26, 0x04, 0xF1,
0x86, 0x07, 0xB2, 0x46, 0x4F, 0xF0, 0x01, 0x09, 0x04, 0xEB, 0x06, 0x08, 0x17, 0xF8, 0x01, 0x3B,
0x98, 0xF8, 0x8E, 0x20, 0x9A, 0x42, 0xF5, 0xB2, 0x37, 0xD0, 0x04, 0xEB, 0x46, 0x13, 0x93, 0xF8,
Expand Down Expand Up @@ -489,7 +489,7 @@ const unsigned char opta_analog_fw_update[] = {
0x94, 0x80, 0x20, 0x46, 0xFF, 0xF7, 0x9F, 0xFC, 0x20, 0x46, 0x00, 0xF0, 0x75, 0xFB, 0x00, 0x25,
0xEE, 0xB2, 0x31, 0x46, 0x20, 0x46, 0xFF, 0xF7, 0x3E, 0xFB, 0x01, 0x35, 0x00, 0x22, 0x31, 0x46,
0x20, 0x46, 0xFF, 0xF7, 0x22, 0xFB, 0x08, 0x2D, 0xF2, 0xD1, 0x20, 0x46, 0x00, 0xF0, 0x64, 0xFB,
0x94, 0xF8, 0xB0, 0x35, 0x4B, 0xB1, 0x20, 0x46, 0xFF, 0xF7, 0x2C, 0xF8, 0x28, 0xB1, 0x00, 0x23,
0x94, 0xF8, 0xB0, 0x35, 0x4B, 0xB1, 0x20, 0x46, 0xFF, 0xF7, 0x2D, 0xF8, 0x28, 0xB1, 0x00, 0x23,
0x84, 0xF8, 0xB0, 0x35, 0x20, 0x46, 0xFE, 0xF7, 0xED, 0xFB, 0x38, 0x4E, 0x38, 0x4D, 0x20, 0x46,
0x00, 0xF0, 0x52, 0xFB, 0x33, 0x78, 0xBF, 0xF3, 0x5B, 0x8F, 0x13, 0xF0, 0x01, 0x0F, 0x09, 0xD1,
0x30, 0x46, 0x0B, 0xF0, 0x7E, 0xFC, 0x28, 0xB1, 0x08, 0xF0, 0xDA, 0xFD, 0x28, 0x60, 0x30, 0x46,
Expand All @@ -506,12 +506,12 @@ const unsigned char opta_analog_fw_update[] = {
0xFF, 0xF7, 0x2C, 0xFB, 0x20, 0x46, 0xFE, 0xF7, 0x39, 0xFA, 0x20, 0x46, 0xFF, 0xF7, 0x04, 0xFB,
0x20, 0x46, 0xBD, 0xE8, 0x70, 0x40, 0x00, 0xF0, 0xE7, 0xBA, 0x70, 0xBD, 0x14, 0x01, 0x00, 0x20,
0x1C, 0x01, 0x00, 0x20, 0x38, 0xB5, 0x04, 0x46, 0x00, 0xF0, 0x7A, 0xFA, 0x43, 0x1C, 0x05, 0x46,
0x18, 0xD1, 0x20, 0x46, 0xFE, 0xF7, 0xDE, 0xFE, 0x00, 0x28, 0x47, 0xD1, 0x20, 0x46, 0xFE, 0xF7,
0x0A, 0xFF, 0x00, 0x28, 0x44, 0xD1, 0x20, 0x46, 0xFE, 0xF7, 0x4A,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4 @@ const unsigned char opta_analog_fw_update[] = {
0xA5, 0x22, 0x01, 0x00, 0xC1, 0x22, 0x01, 0x00, 0x35, 0x24, 0x01, 0x00, 0x65, 0x26, 0x01, 0x00,
0x9D, 0x2A, 0x01, 0x00, 0xA1, 0x53, 0x01, 0x00, 0xC1, 0x80, 0x00, 0x00, 0xB5, 0x1D, 0x01, 0x00,
0xCD, 0x22, 0x01, 0x00, 0x81, 0x24, 0x01, 0x00, 0xA9, 0x2A, 0x01, 0x00,
0x02, 0x00, 0x01, 0x04 };
0x02, 0x00, 0x01, 0x05 };
2 changes: 1 addition & 1 deletion src/OptaAnalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ bool OptaAnalog::parse_set_all_dac_value() {
if (checkSetMsgReceived(rx_buffer, ARG_OA_SET_ALL_DAC, LEN_OA_SET_ALL_DAC,
OA_SET_ALL_DAC_LEN)) {

update_dac_using_LDAC = false;
update_dac_using_LDAC = true;
prepareSetAns(tx_buffer, ANS_ARG_OA_ACK, ANS_LEN_OA_ACK, ANS_ACK_OA_LEN);
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/OptaAnalogCfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#define FW_VERSION_MAJOR 0
#define FW_VERSION_MINOR 1
#define FW_VERSION_RELEASE 4
#define FW_VERSION_RELEASE 5

/* DEBUG CONFIGURATION */
#define DEBUG_ANALOG_RTD
Expand Down

0 comments on commit 9af0e17

Please sign in to comment.