USBasp

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello, I am a beginner.I want to use the atmega of a USBasp as a programmer and add extra functionality to the microcontroller.Is there a feasible way or should i program the microcontroller as a programmer along with my extra features from beginning?Maybe there is an easier way?

Thank you.

This topic has a solution.
Last Edited: Sun. Oct 25, 2020 - 01:21 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Something like a Bus Pirate?

 

https://www.adafruit.com/product/237

Last Edited: Sat. Oct 24, 2020 - 03:28 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you for your help.I think it's a little expensive and i dont know if I will be able to add extra modules in the system(extra I/O Expanders etc).Also i would like to work with a specific microcontroller(maybe atmega16).I am considering to design my own system based on the same logic.Is this easy to make and is there a datasheet suggest me to begin with the implementation?I basically want take only the part of programming an other avr microcontroller and then can add my own extra code.

Thank you again.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yin wrote:
Also i would like to work with a specific microcontroller(maybe atmega16).
Consider a USB megaAVR?

Four Walled Cubicle - AVRISP-MKII Clone

 

STK500v2 on USB PIC though proprietary :

Pololu USB AVR Programmer v2.1

Recent USB PIC are crystal-less.

 

edit :

WCH MCS-51(8051) USB MCUs | AVR Freaks

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Sat. Oct 24, 2020 - 05:48 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yin wrote:
Hello, I am a beginner.I want to use the atmega of a USBasp as a programmer and add extra functionality to the microcontroller

I suggest you get an Arduino Uno and use it to learn micro programming, and you can use it as a programmer simply by loading a sketch.

Use the USBasp as a programmer as intended, why mess with it.

 

Jim

 

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you for your reply.
I want not only to programm a microcontroller with the USBasp,but also USBasp(or what i use as a programmer) communicate with the microcontroller (like receive feedback and other functionalities)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

USBasp looks like this.

 

 

https://www.fischl.de/usbasp/

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you a lot.It seems very useful.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yin wrote:
communicate with the microcontroller (like receive feedback and other functionalities)

Get a USB serial TTL cable for that!

similar to this, although I have seen them cheaper: https://www.ebay.com/c/1983965883

For serial comms, just connect three wires, TXD, RXD, and GND directly to chip and use any serial terminal program, TeraTerm, RealTerm, PuTTy, etc.

 

Jim

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you!!!!