This patch modifies an error message which, in its original state, I find somewhat unhelpful. So a small hint was added.
Signed-off-by: Johnny Halfmoon <jhalfmoon at milksnot.com> --- stm32x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: trunk/src/flash/stm32x.c =================================================================== --- trunk/src/flash/stm32x.c (revision 2736) +++ trunk/src/flash/stm32x.c (working copy) @@ -410,7 +410,7 @@ if ((first && (first % stm32x_info->ppage_size)) || ((last + 1) && (last + 1) % stm32x_info->ppage_size)) { - LOG_WARNING("sector start/end incorrect - stm32 has %dK sector protection", stm32x_info->ppage_size); + LOG_WARNING("sector start/end incorrect - stm32 has %dK sector protection; please use a multiple of %d sectors", stm32x_info->ppage_size); return ERROR_FLASH_SECTOR_INVALID; } _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development