zy1000.cfg: gdb connect will fail first time without gdb-attach
gdb-attach does a reset init to make sure that the CFI probe will succeed upon first gdb connect. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
b05f8171c9
commit
7b76da57f4
|
@ -63,6 +63,11 @@ $_TARGETNAME configure -event reset-init {
|
||||||
mww 0x08020004 0
|
mww 0x08020004 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_TARGETNAME configure -event gdb-attach {
|
||||||
|
# Without this gdb-attach will first time as probe will fail
|
||||||
|
reset init
|
||||||
|
}
|
||||||
|
|
||||||
# required for usable performance. Used for lots of
|
# required for usable performance. Used for lots of
|
||||||
# other things than flash programming.
|
# other things than flash programming.
|
||||||
$_TARGETNAME configure -work-area-phys 0x00020000 -work-area-size 0x20000 -work-area-backup 0
|
$_TARGETNAME configure -work-area-phys 0x00020000 -work-area-size 0x20000 -work-area-backup 0
|
||||||
|
|
Loading…
Reference in New Issue