Giter Club home page Giter Club logo

hc32flash's Introduction

HC32FLASH

HC32xx flash downloader with USB-TTL adapter.

Usage

usage: hc32flash.py [-h] [-l] [-d  device] [-p  port] [-b  baudrate] [-u] [-L]
                    [-R] [-w <filename>] [-r <filename>] [-v <filename>]

HC32xx Flash Downloader.

optional arguments:
  -h, --help     show this help message and exit
  -l, --list     List support device
  -d  device     Device name, default HC32F003
  -p  port       Serial port, default /dev/ttyUSB0
  -b  baudrate   Serial baudrate
  -u, --unlock   Unlock. Erase device when locked
  -L, --lock     Lock. SWD port disabled
  -R, --reboot   Reboot device
  -w <filename>  Write data from file to device
  -r <filename>  Read data from device to file
  -v <filename>  Verify chksum data in device against file

Tested Device

  • HC32D391
  • HC32F4A0
  • HC32F146x8/HC32M140x8
  • HC32F146xA/HC32M140xA
  • HC32F120
  • HC32F460xExx
  • HC32L13xx8/HC32F030x8
  • HC32L15xx8
  • HC32L15xxA
  • HC32L110x4xx/HC32F003x4xx
  • HC32L110x6xx/HC32F005x6xx
  • HC32M120
  • HC32x19xxCxx
  • HC32x07xxAxx/HC32x17xxAxx

Hack Tools

  • HDSC ISP V2.07, hdsc.exe
  • ILSpy
  • Logic

TODO

  • Some device need Crystal Freq setting to load ramcode
  • Auto Number function
  • More device test

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.