finally its working with JLinkGDBServer
This commit is contained in:
8
scripts/prep-flash.gdb
Normal file
8
scripts/prep-flash.gdb
Normal file
@ -0,0 +1,8 @@
|
||||
target remote localhost:2331
|
||||
|
||||
echo Disabling watchdog\n
|
||||
set *0x400210C0 = 0x1ACCE551
|
||||
set *0x40021008 = 0x0
|
||||
|
||||
echo Disabling Instruction Memory protection\n
|
||||
set *0x40010010 = 0x1
|
3
scripts/prep-flash.sh
Executable file
3
scripts/prep-flash.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Alternative way to unlock the ROM protection of the VA416XX to allow flashing
|
||||
gdb-multiarch -q --batch -ex 'source prep-flash.gdb'
|
Reference in New Issue
Block a user