From db78e38c0a8e6ec27a375a9697c200f38c77430c Mon Sep 17 00:00:00 2001 From: Simone Ruffini Date: Tue, 6 Aug 2024 22:02:43 +0200 Subject: [PATCH] fix: incorrect xcp IDS --- Core/Inc/conf.h | 2 +- Makefile | 4 ++-- openblt_f446re/Core/Inc/BLT/blt_conf.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Core/Inc/conf.h b/Core/Inc/conf.h index c98ae14..cd696da 100644 --- a/Core/Inc/conf.h +++ b/Core/Inc/conf.h @@ -24,7 +24,7 @@ /* ---------- Exported constants --------------------------------------------*/ #define VERSION_MAJOR 3 #define VERSION_MINOR 0 -#define VERSION_PATCH 2 +#define VERSION_PATCH 3 #define DEBUG_SERIAL #define DEBUG_AIN diff --git a/Makefile b/Makefile index 984ca43..64c3e04 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ ###################################### #CANID_XCP_HOST_TO_TARGET__HEX=008 #CANID_XCP_TARGET_TO_HOST__HEX=182 -CANID_XCP_HOST_TO_TARGET__HEX=286 -CANID_XCP_TARGET_TO_HOST__HEX=464 +CANID_XCP_HOST_TO_TARGET__HEX=2D6 +CANID_XCP_TARGET_TO_HOST__HEX=461 ###################################### # target diff --git a/openblt_f446re/Core/Inc/BLT/blt_conf.h b/openblt_f446re/Core/Inc/BLT/blt_conf.h index 44f5552..f0b3fce 100644 --- a/openblt_f446re/Core/Inc/BLT/blt_conf.h +++ b/openblt_f446re/Core/Inc/BLT/blt_conf.h @@ -70,11 +70,11 @@ /** \brief Configure the desired CAN baudrate. */ #define BOOT_COM_CAN_BAUDRATE (1000000) /** \brief Configure CAN message ID target->host. */ -#define BOOT_COM_CAN_TX_MSG_ID (0x464 /*| 0x80000000*/) +#define BOOT_COM_CAN_TX_MSG_ID (0x461 /*| 0x80000000*/) /** \brief Configure number of bytes in the target->host CAN message. */ #define BOOT_COM_CAN_TX_MAX_DATA (8) /** \brief Configure CAN message ID host->target. */ -#define BOOT_COM_CAN_RX_MSG_ID (0x286 /*| 0x80000000*/) +#define BOOT_COM_CAN_RX_MSG_ID (0x2D6 /*| 0x80000000*/) /** \brief Configure number of bytes in the host->target CAN message. */ #define BOOT_COM_CAN_RX_MAX_DATA (8) /** \brief Select the desired CAN peripheral as a zero based index. */