GithubHelp home page GithubHelp logo

atmega328p's Introduction

atmega328p

image

A very lighted development tool for atmega328p, the flasher is dwdebug.
Any improment will be greatly appreciate.

How to install

  • Install AVR-Toolchain.exe, after installed, a new variable, AVR_TOOLCHAIN, with its value which provided by your installation path, will be added to the Environment variable. Under the installation path a folder named bin contains the toolchains for atmega328p, such as avr-gcc.exe, make.exe, dwdebug.exe.
  • Install two extensions in vscode: Make support and task provider, published by carlos-algms, Serial Monitor, published by Microsoft.

How to use

Open the demo folder by vscode. At the left lower corner of MAKEFILE TASKS:

  • build: used for compiling, and generates .elf, .bin, etc, files in the output folder.
  • flash: the .elf file in output folder will be flashed to atmega328p.
  • debug: debug the program in assambly level. Refer to dwdebug for more information.
  • config: get the fuses.
  • clean: delete all files in the output folder.
  • reset: software reset of atmega328p.

Auxiliary files in demo

DO NOT DELETE/MODIFY ANY OF THEM, otherwise the dwdebug.exe will not get the COM number automatically.

  • serial.txt: store the outputs which produced by dwdebug.
  • serial.bat: called by Makefile, it will analysis the serial.txt, and returns the COM number which used for dwdebug.

Note

  • As the usb-uart converter chip is CH342K, please install the chip driver to your PC.

atmega328p's People

Contributors

wanggaoteng avatar

Watchers

 avatar  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.