From 0f52366533dfe5d9d5d74ffb0e41013171fb79b9 Mon Sep 17 00:00:00 2001 From: michael-west Date: Thu, 20 Aug 2020 16:06:36 -0700 Subject: B2xx: firmware: Fix address for serial number The address for the serial number was off by 2 bytes, causing a bad value in the USB descriptor. This only occurred if the bootloader image was loaded on the device. Signed-off-by: michael-west --- firmware/fx3/b200/common/common_const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/fx3/b200/common') diff --git a/firmware/fx3/b200/common/common_const.h b/firmware/fx3/b200/common/common_const.h index 1b40a7fdd..fef396485 100644 --- a/firmware/fx3/b200/common/common_const.h +++ b/firmware/fx3/b200/common/common_const.h @@ -33,7 +33,7 @@ #define PID_CYPRESS_DEFAULT 0x00F0 #define EEPROM_REV0_SERIAL_ADDR 0x04F7 -#define EEPROM_REV1_SERIAL_ADDR 0x7F23 +#define EEPROM_REV1_SERIAL_ADDR 0x7F25 #define EEPROM_SERIAL_LENGTH 9 #define EEPROM_REV1_MAGIC_ADDR 0x7F00 -- cgit v1.2.3