| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
blackmagic-espidf is a project which aims to support debugging SWD and JTAG targets over wifi by integrating blackmagic probe firmware to the espressif IDF platform for esp8266.
Live Expressions in STMCubeIDE
STMCubeIDE settings
esp8266 module with >= 2MB flash. Default configuration is set for 4MB flash for OTA updates. It's possible to configure for other flash sizes. see make menuconfig
By disabling OTA it should work on 1MB devices.
GPIO0 - SWDIO
GPIO2 - SWCLK
TX0 - UART TXD
RX0 - UART RXD
Connecting to serial terminal can be done using socat:
socat tcp:192.168.4.1:23,crlf -,echo=0,raw,crlf
Grab the toolchain from https://github.com/espressif/ESP8266_RTOS_SDK#developing-with-the-esp8266_rtos_sdk and add it to $PATH.
git clone --recursive https://github.com/walmis/blackmagic-espidf.git
cd blackmagic-espidf
make menuconfig # optional, if you want to change some settings
make
make flash # this will flash using esptool.py over serial connectionTo use the ESP8266 in Station mode, in the Blackmagic configuration section:
When working on blackmagic-espidf it is frequently desirable to continue to use the ESP8266 UART for debugging. To achieve this you can disable Monitor target UART in the Blackmagic configuration section.
In this mode you will be unable to use the ESP UART to monitor the target and connecting the ESP UART to the target may result in undefined behavior since the debug messages will be sent to the target.
If the firmware is already on the esp8266 device, it is possible to flash using tftp. Make sure you have tftp-hpa package installed then run:
make tftpflashIf you find this project useful, consider buying me a coffee :-)
Don't forget to support Blackmagic developers !
| Back | FazBrowse Home | New Git URL |