Questions tagged [isp]

In System Programming. Updating a part's memory while it is on the end product's PCB.

157 questions
22
votes
4 answers

Why do we need hardware programmers?

I use a Boarduino and a 30-row bread board to program my ATtiny. I load a not too complicated sketch called ArduinoISP (included by default now in the Arduino IDE), and suddenly I have a working programmer. Atmel sells a nice programmer for…
Jack Schmidt
  • 2,025
  • 2
  • 18
  • 24
17
votes
4 answers

Is it possible to use AVR ISP programmer to program a PIC chip?

I want to try programming a PIC chip and just see, how much different it is compared to an AVR. I've got an AVRtinyISP and would like to know, if it would be possible to use that to program a PIC chip at all? What would limit me from doing…
Andrei Sosnin
  • 293
  • 1
  • 3
  • 8
12
votes
3 answers

How do I plan for in circuit programming of an AVR?

My usual method of reprogramming AVRs (so-far limited to ATtiny13 and ATtiny2313) is to disconnect the chip from the host circuit, plug it into another breadboard with all of the ICSP hookups in place, program, then replace. However, I keep hearing…
Tim
  • 447
  • 1
  • 6
  • 14
10
votes
4 answers

Best PIC programmer?

I would like to start using PICs in my projects and was wondering which programmer I should get. I have plenty of experience using micro-controllers (68k, avr), I also have lots of experience with electronics (so building a programmer is…
David Brenner
  • 691
  • 5
  • 10
9
votes
2 answers

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 while the LCD is also connected. I assume it's…
Tom Van den Bon
  • 161
  • 3
  • 6
9
votes
2 answers

Orange unshielded coaxial cable

A local ISP is installing fiber optic cable for gigabit internet in my neighborhood. Their construction crews have buried runs of empty conduit which I presume is meant to be filled with fiber or Ethernet cables. They have also been running another,…
Joel Croteau
  • 203
  • 1
  • 5
7
votes
4 answers

ATtiny2313 refuses to be programmed after setting CPU clock to 500kHz

The other day I was writing a program for an ATtiny2313. Once it worked I decided to test it at the various clock speeds that are available and programmed through setting the LFUSE as described on page 159. The default clock speed is 1MHz; so I…
jippie
  • 33,033
  • 16
  • 93
  • 160
7
votes
1 answer

Re-programming an AVR from another MCU over SPI?

Many AVRs have the capability to be ISP'd - or in system programmed over SPI. I have a project where the entire device can get firmware updates, and I'd like to also update the firmware on it's front panel from the main micro. Since the front panel…
Tristan
  • 548
  • 1
  • 8
  • 21
6
votes
2 answers

How can I program a surface-mount Atmega328?

I want to program a surface-mounted Atmega328 before soldering it to my board. I have an AVR Dragon board that is capable of ISP. This works fine with DIP Atmegas where I can just pop them into a ZIF socket and program them. But how would I program…
David Högberg
  • 1,835
  • 2
  • 21
  • 34
6
votes
3 answers

How should power be supplied for in-system programming?

I'm trying to program an ATmega328 with an AVR-ISP-MK2 from Olimex. The programmer has a setting for whether to supply power to the target board or not. The connector has +5V and GND pins. I wanted to make sure that I've understood this correctly…
Andreas
  • 713
  • 2
  • 13
  • 21
6
votes
1 answer

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 MISO/MOSI/SCK/RST/GND/VCC?
Pablo
  • 1,551
  • 3
  • 20
  • 41
6
votes
1 answer

Failing to write ATMega16U4 fuses with avrdude

I'm trying to set the fuses on an ATMega16U4 with avrdude. The first problem I encountered is that avrdude version 5.11.1 does not seem to support ATMega16U4. Someone mentioned on avrfreaks that you should just copy the ATMega32U4 block on…
Dago
  • 910
  • 7
  • 12
5
votes
2 answers

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 use a command like this avrdude -v -p m328 -c…
Alexis K
  • 2,719
  • 8
  • 30
  • 33
5
votes
2 answers

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 programmed in this moment. The first line comes to…
Roman Matveev
  • 2,942
  • 7
  • 32
  • 75
5
votes
1 answer

Low speed device is recognised as full speed (USB tiny-like AVR isp programmer)

I recently tried to replicate the setup proposed in this instructable. Everything is fine until I hook up the device into (any of) the USB ports. Then, dmesg on Ubuntu complains that the device did not accept the address assignement (throwing an…
user92300
1
2 3
10 11