Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I did try with AVRDUDESS and this is the message I got
avrdude.exe: set SCK frequency to 8000 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1...
Hi
I did try all the suggestions given in this forum, however, I am still getting same error. What I noticed is that whether I connect target IC to usbasp or not I receive same error. I checked power at IC pins and it is getting 5V power.
Does this mean IC is defective?
Thanks for all the suggestions. I will try them out and get back to you all.
- - - Updated - - -
Hi
When I connect my usvasp to PC, it is not displayed in zadig. When I check with the user manual it suggested that, if a device is not displayed it means it already has driver and I can see the...
Below attached are screenshots of Atmel studio showing error and progisp showing Fuse and lock. The settings of fuse and lock are default values, I haven't changed any of them.
When I click on detect uC, it gives the above error.
Procedure:
1) First I installed drivers from https://www.fischl.de/usbasp/
2) Then I installed avrdude
3) In command prompt avrdude -c usbasp -p m16 (I am using atmega16)
4) when I execute above command I get the above mentioned error.
5) To slow SCK I gave avrdude -c usbasp -p m16 -B 5 -U...
I went through datasheet and it said AVCC along with VCC should be connected to supply. I did connect it to power. Other than that no additional circuitry is needed for programming the IC.
I checked the voltage at IC pins and it is receiving 5V power. I applied external power supply removing...
Wiring diagram is attached below:
Color Notation:
1) Blue : MOSI
2) Orange : MISO
3)Maroon : SCK
4) Green : Reset
5) Red : VCC
6) Black : Ground
Power to target IC is given by Programmer connected to laptop.
I also tried to slow down programmer frequency using -B command...
Hello all
I am trying to download program from laptop to my Atmega16. For this purpose I am using USBASP. The datasheet for the USBASP I am using is attached below. I followed the pinout and driver installation according to the manual. However, when I try to transsfer code I get following...
I referred to the following webpage for interfacing stepper motor, l293d and amicro-controller: https://rickruling.blogspot.in/2013/10/interfacing-bipolar-stepper-motor-using.html
Below attached is the circuit schematic. Output of voltage divider is given to an ADC pin of Atmega16. stepper motor is connected to micro-controller via L293D motor driver.
Hello all,
I have designed a voltmeter circuit to measure 0 to 5V. I want to display the output on analog display that is, using dial display. For this I plan to use stepper motor to move pointer to correct position. The setup looks as shown in image: . I have written a program to rotate the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.