devehe / stm32flash

Automatically exported from code.google.com/p/stm32flash
1 stars 7 forks source link

the page-by-page erase logic doesn't work on some chips #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The code for erasing individual pages with bootloaders that use the extended 
erase command (2 bytes for the page number) doesn't work. It always starts at 
the first pages and erases 1 more page than it is supposed to.

The attached patch fixes it. Tested with an STM32F205, bootloader version 0x31.

Original issue reported on code.google.com by bsilver1...@gmail.com on 2 Jan 2014 at 12:34

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks! Applied to git.

Original comment by lists.to...@gmail.com on 6 Jan 2014 at 10:26