casanovg / timonel-mss-esp8266

Timonel bootloader I2C-master single slave application demo for ESP8266

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

timonel-mss-esp8266

Timonel I2C master single slave test for ESP8266

This ESP8266/Arduino test application shows the usage of TWI master libraries.

It is a serial console-based application that allows sending commands to a device that runs the Timonel bootloader. Its main functions are:

  • Searches a device running Timonel bootloader on the TWI bus and initializes it.
  • Uploads an application to the device. The application to send to the AVR bootloader (payload) is compiled as part of this TWI master application. The utility "timonel-hexparser" is used to convert an AVR application into a TWI master payload.
  • Deletes the application from the AVR device memory.
  • Optionally, it makes an on-screen dump of all the device's memory for debugging.

The application has been tested on ESP-01 and NodeMCU modules. It is compiled and flashed to the device using PlatformIO over VS Code. The arduino folder contains the same application, adapted to be used through the Arduino IDE.

About

Timonel bootloader I2C-master single slave application demo for ESP8266

License:MIT License


Languages

Language:C++ 78.8%Language:C 18.9%Language:Python 2.4%