forked from krisstakos/Hoverboard-Firmware-Hack-Gen2.1
-
Notifications
You must be signed in to change notification settings - Fork 29
ESP8266 as CMSIS‐DAP link
Request-timed-out edited this page Jan 29, 2024
·
7 revisions
If you do not have a STlink-v2 clone and are not willing to spend $1 and 1 month for buying one from China then this is the correct place to look for!
@windowsair have made a awesome project that turns your esp32/esp8266 which you will need anyways to control the hoverboard into a CMSIS-DAP to flash firmware on hoverboard for the first time, after the firmware is installed you can use your esp32 to control it.
-
Download esphome flasher to upload the firmware to esp.
If you have experience of installing bin file on esp then you can skip this step.
- Download the flasher for your OS.
- Run it and select the correct serial port of your esp.
- Download wireless-esp8266-dap and flash
wireless_esp_dap_full.bin
to your esp. -
Change your home wifi SSID to
DAP
and password of12345678
, case matters, the esp will try to connect to it now.If you are using a laptop, enable wifi hotspot with same credentials as above.
- Open a terminal and type
ping dap.local
and memorize the ip address of the esp. -
Connect the esp to target like below:
SWD ESP SWCLK GPIO14 SWDIO GPIO13 VCC 3V3 GND GND - Now the esp is ready to go, please choose a way to connect the esp to KEIL for flashing.
SWD Flashers
SWD Flashing
- Flash via Keil
- Flash via PYocd
- Flash via StLink Utilities
- Flash via Stm32 Cube Programmer
- Flash via st-flash.exe
Submit New Layout