This is an automated email from Gerrit. Claudio Lanconelli ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3524
-- gerrit commit 25834d1ce73a8bf0df4d66dfea4982d922d72ae0 Author: Claudio Lanconelli <[email protected]> Date: Mon Jun 20 11:29:00 2016 +0200 Fix 4 read protection bytes in user option Change-Id: I7690d29ee8652ecadcd3497ffd307181858a17c9 Signed-off-by: Claudio Lanconelli <[email protected]> diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 84af8fd..8581fd4 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -332,7 +332,7 @@ static int stm32x_read_options(struct flash_bank *bank) /* f7 has IWDG_STOP and IWDG_STDBY in bit 31 and 30 */ stm32x_info->option_bytes.user_options_high = (optiondata >> 24) & 0xc0; stm32x_info->option_bytes.RDP = (optiondata >> 8) & 0xff; - stm32x_info->option_bytes.protection = (optiondata >> 16) & 0xff; + stm32x_info->option_bytes.protection = (optiondata >> 16) & 0xfff; if (stm32x_info->has_boot_addr) { retval = target_read_u32(target, STM32_FLASH_OPTCR1, &optiondata); -- ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohomanageengine _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
