kopia lustrzana https://github.com/stlink-org/stlink
rodzic
fc990648c4
commit
efc5c3713d
|
@ -1439,9 +1439,6 @@ int32_t stlink_write_flash(stlink_t *sl, stm32_addr_t addr, uint8_t *base, uint3
|
|||
(uint32_t)(sl->flash_pgsz));
|
||||
return (-1);
|
||||
}
|
||||
if ((len % 16 <= 8) & (sl->flash_type == STM32_FLASH_TYPE_L5_U5)) {
|
||||
len += 8;
|
||||
}
|
||||
|
||||
// make sure we've loaded the context with the chip details
|
||||
stlink_core_id(sl);
|
||||
|
|
|
@ -474,7 +474,7 @@ int32_t stm32l1_write_half_pages(stlink_t *sl, stm32_addr_t addr, uint8_t *base,
|
|||
|
||||
if (sl->verbose >= 1) {
|
||||
// show progress; writing procedure is slow and previous errors are misleading
|
||||
fprintf(stdout, "\r%3u/%u halfpages written", count + 1, num_half_pages);
|
||||
fprintf(stdout, "\r%3u/%3u halfpages written", count + 1, num_half_pages);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue