- Main CPU: rk3368
- HW model and dts source: Rockchip PX5 EVB V11
- MCU: STM32F091vct6 (256 Kbytes of Flash memory and 32 Kbytes of SRAM) datsheet
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
from ctx import Context | |
from st3m.reactor import Responder | |
from st3m.input import InputController, InputState | |
from st3m.utils import tau | |
from st3m.ui.view import View, ViewManager | |
from st3m.application import Application, ApplicationContext | |
import st3m.run | |
import math |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body { | |
font-family: sans-serif; | |
} | |
button { |
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
ABSTRACT_UNIX_SOCKET: 0x2818 | |
ACCEPTTIMEOUT_MS: 0xd4 | |
ACCEPT_ENCODING: 0x2776 | |
ADDRESS_SCOPE: 0xab | |
ALTSVC: 0x282f | |
ALTSVC_CTRL: 0x11e | |
APPEND: 0x32 | |
AUTOREFERER: 0x3a | |
AWS_SIGV4: 0x2841 | |
BUFFERSIZE: 0x62 |
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
#!/bin/bash | |
MITMPROXY_SPKI=$( | |
cat ~/.mitmproxy/mitmproxy-ca-cert.pem | | |
openssl x509 -inform pem -noout -outform pem -pubkey | | |
openssl pkey -pubin -inform pem -outform der | | |
openssl dgst -sha256 -binary | | |
openssl enc -base64 | |
) |
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
# First connect to the mcu via blackmagic probe or whatever | |
# usage (in gdb): source gpio-getter.py | |
from cmsis_svd.parser import SVDParser | |
import gdb | |
def read_memory(address, length): | |
inferior = gdb.selected_inferior() | |
return inferior.read_memory(address, length) |
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
// ==UserScript== | |
// @name Pepper parser | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Parse product listings on pepper.pl | |
// @author ChatGPT | |
// @match https://www.pepper.pl/* | |
// @match https://www.mydealz.de/*\ | |
// @match https://allegro.pl/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=pepper.pl |
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
09 02 63 01 05 01 00 80 FA 08 0B 00 02 0E 03 00 | |
02 09 04 00 00 00 0E 01 00 02 0D 24 01 00 01 33 | |
00 00 6C DC 02 01 01 12 24 02 01 01 02 00 00 00 | |
00 00 00 00 00 03 00 00 00 0B 24 05 02 01 00 00 | |
02 0F 00 00 09 24 03 03 01 01 00 02 00 09 04 01 | |
00 00 0E 02 00 00 0E 24 01 01 49 00 83 00 03 00 | |
00 00 01 00 0B 24 06 01 01 01 01 00 00 00 00 2A | |
24 07 01 00 80 02 E0 01 00 B8 0B 00 00 00 B8 0B | |
00 60 09 00 2A 0A 8B 02 00 05 0A 8B 02 00 15 16 | |
05 00 80 1A 06 00 20 A1 07 00 40 42 0F 00 04 09 |
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
ROM: Use nor flash. | |
ROM: Init DDR..Training done. | |
ROM: Ok | |
U-Boot 2010.06 (Sep 08 2021 - 09:21:26) | |
DRAM: 64 MiB | |
master [ctl : mem] = [0 : 0] | |
SF: Got idcode 20 40 17 20 40 |
NewerOlder