Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

All Questions

Tagged with
0
votes
1answer
43 views

How To Program Atmega256rfr2 using ISP?

I have a new custom built PCB circuit incorporating an atmega256rfr2 chip. I really can't program the chip using AVRISP MK11 based programmer (Olimex brand). But it can program the Atmega328p DIP chip ...
5
votes
2answers
454 views

Programming several AVRs with one ISP: which line to break?

Let's suppose that I have two AVRs connected to one ISP connector. To programm only one MCU in this configuration I neet to break one (or mayby several) lines goes to the MCU I don't want to be ...
0
votes
1answer
154 views

Can ATMEGA JTAG be disabled and enabled just with JTAG?

I am currently developing a schematic based on the ATmega32U4. I need to be able to program the embedded chip, so with ISP or JTAG (preferably). The problem is, I also need the analogs functions of ...
1
vote
1answer
102 views

Shared programming pins

Alright so there is a question that I need to ask. I am designing a PCB and I plan to include a ISP header for programming. Now one of the programming pins (PB3 - MOSI) is connected to a push button ...
0
votes
0answers
92 views

ATMega/Tiny barely working on breadboard without ISP

currently I want to get an ATMega328P and an ATTiny85 to work on a breadboard, which should talk to each other and an LCD via TWI. Anyway, I came across some issues I don't seem to be able to fix at ...
0
votes
1answer
210 views

What mode (CPOL, CPHA) should a programmer of an AVR ATMEGA324PA use?

I'm using a logic analyser to look at the MOSI, MISO, SCK and RESET lines while an ATMEGA 324PA is being flashed by at Atmel AVR MKII programmer. The clock starts high, so that makes me think it must ...
0
votes
1answer
700 views

programming atmega2560 by ISP on self-made PCB

For one of my project, I need an atmega2560. So I made a PCB with the atmega2560 and ISP headers. But I can't communicate with the atmega2560 There is also an external 16000Mhz oscillator. Here is ...
-3
votes
2answers
620 views

Atmega basic circuit with or without crystal

I want to build a basic Atmega8a (DIP-28) micro-controller circuit (programed using a 10 pin ISP socket). I have found several basic circuits. Some of them use crystal oscillator, some use internal ...
0
votes
1answer
386 views

GPS gives weird characters when powering my ATMEGA328 on and off?

i got a problem with my GPS controlled by ATmega328, when i download the code using arduino ISP the GPS works fine and the lcd displays correct data, but when i remove the power from the atmega328 and ...
-1
votes
2answers
1k views

AVR programmer power supply (ISP ATMEGA16 ATmega32 Minimum Board) [closed]

In description of an AVR programmer, it is talked about everything except for the input voltage and how to turn it on. How much voltage should I apply to it? Somewhere it has mentioned "DC-005 Power ...
0
votes
1answer
99 views

Atmega ISP programming headers - muxing suggestions

I'm currently working on a project that involves multiple Atmega devices. I'm planning to leave ISP headers on the board, but I don't want to leave 1 set of ISP headers for each chip (I'll have 4-5 of ...
2
votes
1answer
8k views

Is it possible to program AVR microcontrollers using USB-UART converter instead od USBasp?

Is it possible to program an AVR microcontroller (e.g. Atmega328P) using a USB-UART converter like this one: Instead of a usual USBasp ISP programmer: ? If yes, is the procedure the same as in the ...
0
votes
1answer
3k views

Arduino (ATmega328) in-circuit programming

I am designing a circuit/software for some guy... I am using an ATmega328 surface-mounted microcontroller in the design and am just supplying the schematic and code. He is going to build it (make a ...
0
votes
2answers
2k views

Arduino as ISP programming the Arduino, not the connected ATmega328P

I am trying to program an ATmega328P with an Arduino Uno R3. When I click 'Upload to Programmer' in the Arduino IDE (version 1.0.5), the Arduino programs itself and not the chip. Stranger still, the ...
0
votes
1answer
549 views

Set LB1 and LB2 low on Arduino and ATmega

I have searched for a possibility to objdump microcontrollers. I then have found this post. There it says that LB1 and LB2 can be set to low to prevent the most people to read from it. My questions ...
1
vote
1answer
562 views

Programming Atmega8 with AVRISP mkII Error ispProgramMem

If I go to Tools > Device Programming in AVRStudio 6.0 to program the Atmega8 everything is working fine. I've set the ISP frequency to 1 MHz and checked the ...
2
votes
2answers
3k views

Unable to program ATmega128 - 16AU using USBasp

I am trying to program an ATmega128 microcontroller (bought from Robokits). I have connected the 10 pin ISP header from the USBasp programmer to the 6 pins (MOSI, MISO, SCK, RESET, VCC, GROUND) of the ...
1
vote
1answer
2k views

Do I need to install Bootloader on my new AtMega32? Can I do it with USBasp?

I had a Sparkfun Redboard for some time and I liked playing with it, blinking LEDs and writing to an LCD and such. Now I want to design my own similar development board for similar set of applications....
2
votes
2answers
2k views

Arduino as AVR Programmer with Avrdude

My objective is to program a single ATmega328P sitting on a breadboard. Due to my location and cash at hand I cannot acquire a AVR ICSP programmer so instead (through research) I found I can use a ...
1
vote
2answers
3k views

Programming ATMega16L over ISP interface

Sorry if the question seems silly, but I really need some expert guidance. My question is as follows: What are the necessary pins to program an ATMega16 chip over ISP interface? I've bought a locally ...
3
votes
4answers
612 views

Arduino as ISP: IC swapping

I usually use my Arduino as an ISP programmer. Let's say I want to program the blink LED code to my ATmega328 with the bootloader already in it. Can I just program it in the classical way and pull ...
2
votes
1answer
191 views

ATmega (Arduino) programming in 3V system

I want to use a ATmega (168 or 328) with a 3V button cell. Which isn't the problem but at the moment I think about how to make it pogrammable in the target board. The board will have some peripheral ...
1
vote
3answers
4k views

What do I need to program an ATmega 168?

I use AVR Studio for my compilation and c/c++ code (not arduino).So far I have used a Atmega 2560 development board provided by Nex robotix. I have ISP programmers of the following sorts... AVRISP ...
8
votes
2answers
5k views

SPI device prevents ISP programming

I have an ATmega8 with a Nokia LCD 5510 connected to it. Everything works great on a breadboard and my next step is to move it to a more permanent board. My problem is that I can't program the ATmega8 ...
0
votes
1answer
10k views

Programming 3.3v ATMega328 running at 16MHz [closed]

I know that running the 328 with 3.3v at 16MHz is "overclocking" it and slightly out of spec. Because of limited board space i'd like to do this though as all other components are 3.3v. I need the ...
2
votes
1answer
7k views

AVRDUDE throws “target doesn't answer.” with USBASP and ATMEGA48PA

So far, I could reprogram a circuit with an ATMEGA48PA without problem. Until I got (after apparently was programed successfully): ...
6
votes
1answer
167 views

Programming MCU with ISP out of board

My MCU(ATMega328) configured to get clock from ext. oscillator. Can I still program this MCU without external oscillator using ISP, by just connecting 6 pins to ...
5
votes
2answers
2k views

Does Arduino need the bootloader if programmed with programmer?

I am trying to program a few Atmega328 (not Atmega328p) with an ICSP. These are TQFP. What I am trying to do is to upload the program to a fresh chip without having to first load the bootloader. I ...