2 Star 5 Fork 3

Kono / esp8266-wifi-cmsis-dap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

esp8266-wifi-cmsis-dap

CMSIS-DAP USB-SWD/JTAG HID adapter firmware for ESP8266 boards

Copyright (C) 2017 Oleg Suchilov

based on CMSIS-DAP USB-SWD/JTAG adapter firmware for Pro Micro and Teensy 3.2 boards

credits to:

Copyright (C) 2016 Phillip Pearson pp@myelin.co.nz

based on the CMSIS-DAP Interface Firmware

Copyright (c) 2009-2013 ARM Limited

This is a port of the core of ARM's CMSIS-DAP firmware to the Arduino environment, which lets you turn a esp8266 into a wireless CMSIS-DAP USB adapter, which you can use with OpenOCD and mbed to program and debug ARM chips using the SWD protocol, and also with OpenOCD to program and debug various chips using JTAG.

Usage:

example of flashing stm32f103 on arch linux

Using Arduino IDE:

  • change SSID and WiFi password in .ino file
  • compile and upload it to esp8266

connect target device to your esp8266 via swd (check the pinout in .ino file)

attach usb/ip device:

sudo modprobe usbip-core
sudo modprobe vhci-hcd
sudo usbip attach -r <esp8266_ip_address> -b 1-1

start openocd:

sudo openocd -f /usr/share/openocd/scripts/interface/cmsis-dap.cfg -f /usr/share/openocd/scripts/target/stm32f1x.cfg

connect to openocd telnet interface from another terminal:

telnet localhost 4444

execute openocd commands:

(may require to push the RST button on target for it to work)

reset halt
flash write_image erase /path/to/your/firmware.bin 0x08000000

to detach a virtual usb device run:

sudo usbip detach -p 0

空文件

简介

基于ESP8266的CMSIS-DAP 无线调试器 通过把网络虚拟为USB来实现CMSIS-DAP, 由于项目是用Arduino来写的,所以推荐使用Arduino IDE或者VS Code + PlatformIO 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/Kono2019/esp8266-wifi-cmsis-dap.git
git@gitee.com:Kono2019/esp8266-wifi-cmsis-dap.git
Kono2019
esp8266-wifi-cmsis-dap
esp8266-wifi-cmsis-dap
master

搜索帮助