Last active
November 14, 2020 12:43
-
-
Save ArcaneNibble/9334188289df40762f3b09546dbecb81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set mem inaccessible-by-default off | |
# GPIO clocks | |
set *(int*)0x58024540 = 0x7FF | |
# OCTOSPI clocks | |
set *(int*)0x58024534 = 0x00204000 | |
# Port A | |
set *(int*)0x58020020 = 0x00000090 | |
set *(int*)0x58020008 = 0x0C00000C | |
set *(int*)0x58020000 = 0xABFFFFFB | |
# Port B | |
set *(int*)0x58020420 = 0x000009B0 | |
set *(int*)0x58020408 = 0x000000FC | |
set *(int*)0x58020400 = 0xFFFFFEAB | |
# Port D | |
set *(int*)0x58020C24 = 0x00090000 | |
set *(int*)0x58020C08 = 0x03000000 | |
set *(int*)0x58020C00 = 0xFEFFFFF7 | |
# Port E | |
set *(int*)0x58021020 = 0x00000900 | |
set *(int*)0x58021024 = 0x0000B000 | |
set *(int*)0x58021008 = 0x00C00030 | |
set *(int*)0x58021000 = 0xFFBFFFEF | |
# OCTOSPI | |
set *(int*)0x52005000 = 0x30000001 | |
set *(int*)0x52005008 = 0x00130000 | |
set *(int*)0x5200500C = 0x00000001 | |
# Reading works | |
set *(int*)0x52005108 = 0x00000004 | |
set *(int*)0x52005100 = 0x03032301 | |
set *(int*)0x52005110 = 0xEB | |
set *(int*)0x52005120 = 0x00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment