Coder Social home page Coder Social logo

zmhulu / esp8266-arm-swd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denisn73/esp8266-arm-swd

0.0 0.0 0.0 115 KB

Proof-of-concept ESP8266 web server and ARM Serial Wire Debug client

License: MIT License

JavaScript 14.52% C++ 38.69% C 35.05% CSS 0.66% Makefile 0.32% HTML 10.76%

esp8266-arm-swd's Introduction

esp8266-arm-swd

Proof-of-concept ESP8266 web server and ARM Serial Wire Debug client!

This directory is an Arduino sketch.

The Serial Wire Debug client here is a slightly adapted version of the one I originally wrote for Fadecandy's factory test infrastructure. It has optional extensions for the Freescale Kinetis microcontrollers, but the lower-level SWD interface should be compatible with any ARM microcontroller.

Installing

Software you'll need:

Now open esp8266-arm-swd.ino in the IDE:

  1. In the Tools menu, select your ESP8266 board and serial port info
  2. In the sketch, put your Wifi network info in the YOUR-WIFI-CONFIG tab
  3. Sketch -> Upload
  4. Tools -> ESP8266 Sketch Data Upload

Okay, now your Internet Thing is ready!

Usage

Default URL: http://esp8266-swd.local/

  • Visit the web page, edit all the hexes
  • Use the HTML5 components to make your own tools
  • Send pull requests

Hookups:

Signal SWD Port SWD over JTAG ESP8266 pin Equiv. NodeMCU pin
3.3v Power Pin 1
Data In/Out Pin 2 TMS GPIO2 D4
Ground Pin 3
Clock Pin 4 TCLK GPIO0 D3

Development Proxy

It's slow to update the filesystem, so for development work it's convenient to use a proxy to merge your local static files with the sketch's live API.

A simple tool using Node is included:

npm install
node webdev-proxy.js

esp8266-arm-swd's People

Contributors

ierwinde avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.