these payloads may not work , i have no clue honestly i attached them , also there are 2 helper py scripts that might work with some of these payloads
17 lines
442 B
C
17 lines
442 B
C
void _start() {
|
|
*(volatile unsigned int *)(0x60006010) |=
|
|
(1 << 6) | (1 << 7); // UARTA & UARTB
|
|
*(volatile unsigned int *)(0x60006014) |=
|
|
(1 << 23) | (1 << 16); // UARTC & UARTD
|
|
|
|
unsigned int uarts[] = {0x70006000, 0x70006040, 0x70006200, 0x70006300};
|
|
|
|
while (1) {
|
|
for (int j = 0; j < 4; j++) {
|
|
*(volatile unsigned int *)(uarts[j] + 0x00) = 0x55;
|
|
}
|
|
for (volatile int i = 0; i < 50000; i++)
|
|
;
|
|
}
|
|
}
|