-ParameterItem_t ParameterTable[] EEMEM = \r
- {\r
- { .ParameterID = PARAM_BUILD_NUMBER_LOW,\r
- .ParameterValue = 0x00 },\r
- { .ParameterID = PARAM_BUILD_NUMBER_HIGH,\r
- .ParameterValue = 0x00 },\r
- { .ParameterID = PARAM_HW_VER,\r
- .ParameterValue = 0x01 },\r
- { .ParameterID = PARAM_SW_MAJOR,\r
- .ParameterValue = 0x01 },\r
- { .ParameterID = PARAM_SW_MINOR,\r
- .ParameterValue = 0x00 },\r
- { .ParameterID = PARAM_VTARGET,\r
- .ParameterValue = 0x00 },\r
- { .ParameterID = PARAM_SCK_DURATION,\r
- .ParameterValue = 0x00 },\r
- { .ParameterID = PARAM_RESET_POLARITY,\r
- .ParameterValue = 0x00 },\r
- { .ParameterID = PARAM_STATUS_TGT_CONN,\r
- .ParameterValue = 0x00 },\r
- { .ParameterID = PARAM_DISCHARGEDELAY,\r
- .ParameterValue = 0x00 },\r
- };\r
-
-void V2Protocol_ProcessCommand(void)
-{
+/** Current memory address for FLASH/EEPROM memory read/write commands */\r
+uint32_t CurrentAddress;\r
+\r
+/** Flag to indicate that the next read/write operation must update the device's current address */\r
+bool MustSetAddress;\r
+\r
+\r
+/** Master V2 Protocol packet handler, for received V2 Protocol packets from a connected host.\r
+ * This routine decodes the issued command and passes off the handling of the command to the\r
+ * appropriate function.\r
+ */\r
+void V2Protocol_ProcessCommand(void)\r
+{\r