Skip to main content

All Questions

Tagged with
2 votes
1 answer
379 views

ATmega64 custom board is not programming

I have designed a custom board for ATmega64 as below: It's the first time I want to program it, and I get a "chip enable program error". I can program ATmega16 and ATmega8, but for ATmega64 ...
Mojtaba Miraki's user avatar
0 votes
1 answer
113 views

How does the ATMega32 know that the incoming SPI data signals are the program to be burnt?

From my understanding, in order to burn a C program to the ATMega32's flash memory, the program is first compiled and converted into a hex file which is then uploaded using a computer program such as ...
Fudge Racoon's user avatar
1 vote
1 answer
145 views

Why does AVRDUDE require part ID as an input parameter when it detects the device signature by itself?

When I type the following in terminal avrdude -p m32 -c usbasp I get the following as output ...
Somanna's user avatar
  • 335
0 votes
1 answer
104 views

AVR ATMEGA32A UART not send and receive data unless programmer is connected

The code in micro is to turn a LED on when it receives "1" from UART and off when receives "0". For VCC I use a phone adapter (5V, 0.7A) which works properly and is suitable for ...
Raana Baniamerian's user avatar
0 votes
1 answer
1k views

Difficulty programming a custom Atmega32u4 board with a snap programmer using ISP

I've made a PCB which contains an Atmega32u4, and just finished soldering it up today. Now, I realised that I bought the wrong Atmega32u4 version - I bought the version which does not by default use ...
Jacob Garby's user avatar
0 votes
0 answers
154 views

How to flash ATtiny85 with clock quartz (32khz) again?

I flashed ATtiny85 once with simple program blinking for 1 second. F_CPU = 32768. I set low fuse byte to 0xe6 with avrdude. According to datasheet 6 = 0b0110 CKSEL is intended for low frequency quartz ...
Daniil Iaitskov's user avatar
0 votes
2 answers
63 views

What is IDC connector pitch on a USBAsp?

I am planning to use a USBASP programmer to program one of my boards, and I want to use a fitting receptacle on my board. I fail to find the exact pitch that the USBAsp's IDC connector has (as I ...
Anthropomorphous Dodecahedron's user avatar
2 votes
2 answers
12k views

How can I program an Atmega32u4 over USB with this schematic?

This is my first time trying to program an Atmega32u4. I made a PCB with the following schematic: Now I've soldered all the parts onto the PCB, and I've plugged a micro usb cable from my computer ...
Jacob Garby's user avatar
2 votes
0 answers
244 views

Deployoing compiled program from Atmel Studio or Avr dude to Atmel "XMEGA-A3BU Xplained"

Im attempting for the last 3-4 days to connect the Atmel dev board to the computer in order to either load the .elf or hex file to the bootloader in order to turn on a LED. Im following instructions ...
cyber101's user avatar
0 votes
1 answer
166 views

AVR programmer necessary? [closed]

I have an atmega168pb and I've noticed that there is a difference in how the board can be programmed between Windows and Linux. On Windows using Atmel Studio you can select an ISP interface and it ...
BananaMonkey2412's user avatar
2 votes
4 answers
24k views

avrdude: error: program enable: target doesn't answer. 1

Before I can program my ATmega32 through USBasp but now only in 30 times or more try I can program ATmega32. I get this error ...
user3865434's user avatar
1 vote
2 answers
6k views

usbasp with avrdude: error: program enable: target doesn't answer. 1

I purchased a "usbasp" programmer from AliExpress for use with my ATtiny84A AVR devices. This has the text "USBASP V2.0 LC Technology" screenprinted on the top of the PCB, and it looks very much like ...
davidA's user avatar
  • 111
1 vote
1 answer
246 views

USBasp programmer first firmware

I am building an evaluation board for ATmega32, I am designing an embedded USBasp programmer (The programmer will be also in the board and they will be a micro-usb header to connect the board to PC). ...
A. Kier's user avatar
  • 77
0 votes
1 answer
487 views

USBasp Difficulties

I am new to the USBasp. I am trying to program a Mega1284. I have a cheap Chinese one, it is recognized in XP as well as win7. I made a board with a ZIF socket, 10 MHz xtal, 22p cap, 10k pullup on ...
carpboy's user avatar
  • 51
0 votes
1 answer
259 views

AVRISP. How to choose SPI frequency?

Yes, yes, I know that it must be between 1 and 4 clock cycles of a target device. But... We don't know it if clock is provided by internal rc generator or external quartz. So is there any possible way ...
Long Smith's user avatar

15 30 50 per page