nyan:pi_config
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
nyan:pi_config [2024/07/24 22:56] – created river | nyan:pi_config [2024/07/27 20:27] (current) – [openocd] river | ||
---|---|---|---|
Line 10: | Line 10: | ||
Used: | Used: | ||
- | * hostapd | + | * hostapd |
- | * / | + | * / |
+ | * dnsmasq - to provide dhcp server and dns server on wlan0 to the ESP. | ||
+ | * Not done - routing / NAT. ESP probably doesn' | ||
I tried using NetworkManager for this first but it didn't work. May have been a firewall issue actually, but hostapd working now anyway. NetworkManager also has very limited configuration options. | I tried using NetworkManager for this first but it didn't work. May have been a firewall issue actually, but hostapd working now anyway. NetworkManager also has very limited configuration options. | ||
+ | |||
+ | ===== JTAG ===== | ||
+ | |||
+ | Using a Pi 5's GPIO pins to connect to a target ESP32-S3 over JTAG. | ||
+ | |||
+ | ==== JTAG Cable ==== | ||
+ | |||
+ | It is a good idea to put some resistors in these lines to avoid accidents. Say around 390R. I could only be bothered doing it for one wire, which is being used as a pulldown on GPIO3. | ||
+ | |||
+ | ^Pi ^ Wire ^ ESP32 ^ | ||
+ | | GPIO25 | ||
+ | | GPIO10 | ||
+ | | GPIO9 | green | TDO| | ||
+ | | GPIO11 | ||
+ | | GPIO8 | yellow | ||
+ | |||
+ | Separate wire with 390R in it. | ||
+ | | GND | black | GPIO3 - JTAG selector pin| | ||
+ | |||
+ | ==== Fuses ==== | ||
+ | |||
+ | Need to burn fuses on the EPS32-S3 to get JTAG on pins. See not in boards page. | ||
+ | |||
+ | ==== openocd ==== | ||
+ | |||
+ | I built the esp32 version of openocd from source. | ||
+ | |||
+ | I installed these dependencies - not all needed just for ESP32: | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | ==== ESP IDF ==== | ||
+ | |||
+ | platformio does a shoddy job of ESP32 support. gdb is out of date and doesn' | ||
+ |
nyan/pi_config.1721861797.txt.gz · Last modified: 2024/07/24 22:56 by river