projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add warn message if no flash bank found for the current image address.
[fw/openocd]
/
src
/
flash
/
nor
/
core.c
diff --git
a/src/flash/nor/core.c
b/src/flash/nor/core.c
index ce3ab4822073611a9f9ea99a862c19c167515063..b2bbeb7dfa2700a51abea047f39a4b54ae0bfdd9 100644
(file)
--- a/
src/flash/nor/core.c
+++ b/
src/flash/nor/core.c
@@
-595,6
+595,7
@@
int flash_write_unlock(struct target *target, struct image *image,
if (retval != ERROR_OK)
goto done;
if (c == NULL) {
+ LOG_WARNING("no flash bank found for address %x", run_address);
section++; /* and skip it */
section_offset = 0;
continue;