Tweak the csb337 code so that it doesn't enable alignment traps when
it completes the "reset init" sequence.
It turns out that the current CFI code reliably triggers such traps.
I don't have time now to sort out what flavor bug that is; I just
need flash reading/writing to work.
---
tcl/board/csb337.cfg | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Tweak the csb337 code so that it doesn't enable alignment traps when
it completes the "reset init" sequence.
It turns out that the current CFI code reliably triggers such traps.
I don't have time now to sort out what flavor bug that is; I just
need flash reading/writing to work.
---
tcl/board/csb337.cfg | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/tcl/board/csb337.cfg
+++ b/tcl/board/csb337.cfg
@@ -108,9 +108,7 @@ proc csb337_reset_init { } {
# I(12) = 1
# - Reserved/ones
# 6:3 = 1
- # - Alignment traps enabled
- # A(1) = 1
- arm920t cp15 2 0xc000107a
+ arm920t cp15 2 0xc0001078
}
$_TARGETNAME configure -event reset-init {csb337_reset_init}
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development