Giter VIP home page Giter VIP logo

efm8load's Introduction

efm8load.py

A python-only implementation of the efm8 bootloader protocol

see http://fishpepper.de/2016/10/15/efm8-bootloader-flash-tool-efm8load-py/ for more info

Status:

  • tested on EFM8BB10F8G: identify, write, verify and read are working

Usage:

  • connect rs232 (3.3V level!) to the RX and TX pins of your MCU
  • empty targets boot right into the bootloader (flash[0] = 0xFF -> bootloader)
  • flashed targets need the C2D pin pulled low during powerup to enter bootloader mode

TODO: add a protection to stop users from overwriting the bootloader area

efm8load's People

Contributors

clacktronics avatar cyanview avatar fishpepper avatar kammutierspule avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

efm8load's Issues

ERROR: serial read timed out

I get this error ERROR: serial read timed out while trying to run the script in it's simplest form: python3 efm8load.py -i
It seems that the TX led of the FTDI lights up, but the RX gets nothing, as if the mcu is not there. Tried on EFM8BB10F8G and on a brand new EFM8BB21F16G (both QFN20). On both boards I soldered C2D to GND using a wire.

I even tried the following:

  1. Added "sudo" in front
  2. Shortened the wires
  3. Connected the FTDI directly to a USB port on PC (no hub)

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.