This is an automated email from Gerrit. Svetoslav Enchev (svetoslav.enc...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4638
-- gerrit commit 7466b06632a6b01e5a972b587480d3ca0371e05e Author: Svetoslav Enchev <svetoslav.enc...@gmail.com> Date: Sun Aug 5 13:46:20 2018 +0300 target/at91sam: sam4sd32c: 4K erase and 8K lock sectors Use different erase sectors (4K) and lock regions (8K) sizes on sam4sd32c. TODO: Check and test if possible on other CPUs as well. Change-Id: I431d6c93ef2e4335219b84a9465177a875e4d297 Signed-off-by: Svetoslav Enchev <svetoslav.enc...@gmail.com> diff --git a/src/flash/nor/at91sam4.c b/src/flash/nor/at91sam4.c index c2f7de1..4ee4a19 100644 --- a/src/flash/nor/at91sam4.c +++ b/src/flash/nor/at91sam4.c @@ -1141,9 +1141,10 @@ static const struct sam4_chip_details all_sam4_details[] = { .flash_wait_states = 5, .present = 1, .size_bytes = 1024 * 1024, - .nsectors = 128, - .sector_size = 8192, + .nsectors = 256, + .sector_size = 4096, .page_size = 512, + .lock_region_size = 8192, }, /* .bank[1] = { */ @@ -1157,9 +1158,10 @@ static const struct sam4_chip_details all_sam4_details[] = { .flash_wait_states = 5, .present = 1, .size_bytes = 1024 * 1024, - .nsectors = 128, - .sector_size = 8192, + .nsectors = 256, + .sector_size = 4096, .page_size = 512, + .lock_region_size = 8192, }, }, }, -- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel