GithubHelp home page GithubHelp logo

amitesh-singh / fastusbasp Goto Github PK

View Code? Open in Web Editor NEW
91.0 16.0 18.0 2.47 MB

This is the fast avr programmer for AVR MCUs based on cheap stm32f103c8t6 board with usb-to-serial support.

Home Page: https://hackaday.io/project/21189-fastusbasp-programmer-for-avr-with-usb-to-serial

License: Other

CMake 8.93% C 33.42% Shell 0.06% C++ 54.38% Meson 3.22%
avr avr-mcu board firmware avrprogrammer stm32f103 stm32 programmer arduino

fastusbasp's People

Contributors

amitesh-singh avatar ntavish avatar spider84 avatar

Stargazers

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

Watchers

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

fastusbasp's Issues

Reset after programming

First to say: Great project.
FASTUSBasp is way faster than my AVRISPmkII clone which I couldn't get working under Win7-64 anyway.

Now my issue:
I'm using AVRDUDESS / Win7-64 to program an ATmega328p. Everything is working well.
But after any action the reset line stays low, keeping the microcontroller in reset state. What I'm doing wrong?
Please help.

avrdude error

the stm32 drivers are successfully installed and the device appears in the device manager on Windows10, but I get this error whenever I try to invoke avrdude using "avrdude -c usbasp-clone -p m8 "

avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc

Driver Management concluded the process to install driver fastusbasp_(interface_0).inf_amd64_4652f43e1d1cad1d\fastusbasp_(interface_0).inf for Device Instance ID USB\VID_16C0&PID_05DC&MI_00\7&2666295D&0&0000 with the following status: 0x0

Seeing this error upon compilation on WLS (Windows Linux Subsystem)

Howdy,

Thanks for this cool project. Lot's of interesting embedded C++ going on!

I have this error just now ...

[ 75%] Linking CXX executable fastusbasp.elf
/usr/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc.a(lib_a-fini.o): In function __libc_fini_array': fini.c:(.text.__libc_fini_array+0x26): undefined reference to _fini'
collect2: error: ld returned 1 exit status
src/CMakeFiles/fastusbasp.dir/build.make:95: recipe for target 'src/fastusbasp.elf' failed
make[2]: *** [src/fastusbasp.elf] Error 1
CMakeFiles/Makefile2:157: recipe for target 'src/CMakeFiles/fastusbasp.dir/all' failed
make[1]: *** [src/CMakeFiles/fastusbasp.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I think I'm compiling OK, but there is an error in the final (no pun intended) link step.

Compilation under Ubuntu 19.04, as a Oracle Virtual Box VM works fine.

Best,

R.

Make it work on any machine

Hello,
wanted to build it, but:

me@machine~/code/fastusbasp $ cat config.cmake
# Always declare this before stm32-toolchain.cmake
#
set(MCU STM32F1)
set(LIBOPENCM3_DIR "/home/ami/repos/libopencm3")
set(SERIAL_PORT "/dev/ttyUSB0")

No chance this will work here :)

Can you include libopencm3 in your source tree, or manage it as a configurable dependency via, eg, a cmake variable?

thanks

Avrdude for Windows: Can't find programmer id "usbasp-clone"

it seems there is no programmer type "usbasp-clone" within windows release of avrdude. Is it possible to solve this?
I've got avrdude here https://sourceforge.net/projects/winavr/

C:\WinAVR-20100110\bin>avrdude -c usbasp-clone -p m16

avrdude: Can't find programmer id "usbasp-clone"

Valid programmers are:
  c2n232i  = serial port banging, reset=dtr sck=!rts mosi=!txd miso=!cts [C:\WinAVR-20100110\bin\avrdude.conf:876]
  dasa3    = serial port banging, reset=!dtr sck=rts mosi=txd miso=cts [C:\WinAVR-20100110\bin\avrdude.conf:863]
........

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.