Initial commit: TXW82x FPV v2.7.0.7-42229 SDK + project sources
This commit is contained in:
25
sdk/chip/txw82x/TXW82X_FLASH_ALGORITHM.init
Normal file
25
sdk/chip/txw82x/TXW82X_FLASH_ALGORITHM.init
Normal file
@@ -0,0 +1,25 @@
|
||||
# watchdog close : WDT->WDTKEY
|
||||
set *(unsigned int *)0x400C1004=0xdddd
|
||||
set *(unsigned int *)0x400C1014=0xdddd
|
||||
set $psr=0x80000000
|
||||
# sysctrl writable : SYSCTRL->SYS_KEY
|
||||
set *(unsigned int *)0x40020000=0x3fac87e4
|
||||
|
||||
#CPU1 disable
|
||||
set *(unsigned int *)0x4002019c=0
|
||||
|
||||
#reset peripherals
|
||||
set *(unsigned int *)0x40020008=0x03
|
||||
|
||||
|
||||
set *(unsigned int *)0x40021300=0x0
|
||||
set *(unsigned int *)0x40021308=0x1
|
||||
|
||||
set *(unsigned int*)0x400180b8=0xe8
|
||||
set *(unsigned int*)0x400180b4=0xdddd
|
||||
set *(unsigned int*)0x400180bc=0xC053781B
|
||||
|
||||
#vpp disable
|
||||
set *(unsigned int*)0x40005100=0
|
||||
|
||||
#shell echo "123"
|
||||
Reference in New Issue
Block a user