Categories
ESP32 ESP8266 (ESP-01/01S) Microcontrollers Security

MAC Address Randomization

Resources

https://source.android.com/devices/tech/connect/wifi-mac-randomization#:~:text=MAC%20randomization%20prevents%20listeners%20from,and%20Wi%2DFi%20RTT%20operations.

Categories
ESP32 Microcontrollers MicroPython

Flash MicroPython Firmware

Download firmware for Generic ESP32 module

https://micropython.org/download/esp32/

Install esptool.py

pip install esptool

Assumed the USB-Serial chip driver has been installed. Check the Operating System platform (Win/MacOS/Linux) port assignment for the attached MCU board via USB port.

On MacOS (Intel) : sudo ls -al /dev/tty.*

Erase the firmware (flash)

esptool.py --port /dev/tty.SLAB_USBtoUART erase_flash

Deploy the new firmware (recent downloaded esp32-xxx-xxx.bin file) to flash address 0x1000

esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART write_flash  -z 0x1000 esp32-20180511-v1.9.4.bin

Test MicroPython (REPL)

On MacOS (Intel): screen command

screen /dev/tty.SLAB_USBtoUART 1152000

>>>

Ctrl + a and Ctrl + k and y to kill the terminal session

Resources

https://docs.micropython.org/en/v1.15/esp32/tutorial/intro.html

Categories
ESP32

Setup Arduino IDE for ESP32

URL: “https://dl.espressif.com/dl/package_esp32_index.json” into the “Additional Board Manager URLs” box

In the board manager dialog box, click on the search bar. Then type “ESP32” and hit enter. Now select and click on the install button for “ESP32 by Espressif systems”