.build_code = "G0",
.flash_size_kb = 256,
},
+ {
+ .hwid = 0x0057,
+ .variant = "QFAA",
+ .build_code = "G2",
+ .flash_size_kb = 256,
+ },
+ {
+ .hwid = 0x0058,
+ .variant = "QFAA",
+ .build_code = "G3",
+ .flash_size_kb = 256,
+ },
{
.hwid = 0x004C,
.variant = "QFAB",
.build_code = "A0",
.flash_size_kb = 256,
},
+ {
+ .hwid = 0x0084,
+ .variant = "QFAC",
+ .build_code = "A1",
+ .flash_size_kb = 256,
+ },
{
.hwid = 0x007D,
.variant = "CDAB",
.build_code = "B0",
.flash_size_kb = 128,
},
- {
- .hwid = 0x0084,
- .variant = "QFAC",
- .build_code = "A1",
- .flash_size_kb = 256,
- },
{
.hwid = 0x0085,
.variant = "QFAC",
.flash_size_kb = 256,
},
- /* mdbt40
- no idea if variant and build code are correct */
- {
- .hwid = 0x0057,
- .variant = "QFAA",
- .build_code = "G2",
- .flash_size_kb = 256,
- },
-
/* Some early nRF51-DK (PCA10028) & nRF51-Dongle (PCA10031) boards
with built-in jlink seem to use engineering samples not listed
in the nRF51 Series Compatibility Matrix V1.0. */
if ((ppfc & 0xFF) == 0x00) {
LOG_ERROR("Code region 0 size was pre-programmed at the factory, can't change flash protection settings");
return ERROR_FAIL;
- };
+ }
res = target_read_u32(chip->target, NRF51_UICR_CLENR0,
&clenr0);
LOG_ERROR("The chip was not pre-programmed with SoftDevice stack and UICR cannot be erased separately. Please issue mass erase before trying to write to this region");
return ERROR_FAIL;
- };
+ }
res = nrf51_nvmc_generic_erase(chip,
NRF51_NVMC_ERASEUICR,
LOG_ERROR("Code region 0 size was pre-programmed at the factory, "
"mass erase command won't work.");
return ERROR_FAIL;
- };
+ }
res = nrf51_erase_all(chip);
if (res != ERROR_OK) {