Questions tagged [isp]

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

Filter by
Sorted by
Tagged with
22
votes
4answers
2k views

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 ...
16
votes
4answers
12k views

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 ...
12
votes
3answers
5k views

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,...
10
votes
4answers
4k views

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 ...
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 ...
7
votes
4answers
3k views

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 ...
7
votes
1answer
1k views

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 ...
6
votes
3answers
3k views

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 ...
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 ...
5
votes
2answers
472 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 ...
5
votes
2answers
8k views

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 ...
5
votes
1answer
3k views

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 ...
4
votes
3answers
2k views

What is an easy way to program an ATtiny microcontroller in C without an ISP?

I understand the "most raw" method to program an AVR microcontroller is probably with an ISP such as the AVRISP mkII. However, I'm after a method that doesn't involve me having to purchase a $40 tool ...
4
votes
2answers
2k views

AVR ISP - SCK pin shared with LED

I made a board with an AVR Attiny MCU and an ISP connection. I missed that I made the SCK pin an output for an LED. Luckily, this arrangement seems to work; I can program the chip just fine. But, ...
4
votes
1answer
3k views

Can an ATtiny with RSTDISBL programmed be reprogrammed over ISP?

The ATtiny85 datasheet, on page 152, seems pretty clear on this: After this fuse has been programmed device can be programmed via high-voltage serial mode, only. But elsewhere, on page 28, it ...
4
votes
1answer
275 views

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 ...
4
votes
1answer
6k views

Hardware and software to program AT89S52 chips with linux

Seeing that the ATMEL AT89S52 chips are so cheap (8 usd for 5 with free shipping from ebay!), are supposed to have a simple architecture and a lot of documentation available online, I would like to ...
4
votes
1answer
3k views

Arduino Diecimila (ATMEGA168) + JTAG ICE MKII Hell..Did I Fry the Chip?

Two weeks ago, I pulled out my AVR JTAG ICE MKII and successfully burned a few C programs to my Arduino through AVRStudio 4 SP3. Everything was working very well. Life caught up to me and I did not ...
3
votes
2answers
979 views

Can anything be done about this AVRISP mkII or is it dead?

It seems that my AVRISP mkII programmer died in a strange incident. It was connected to my computer via USB cable and to a custom board which hosts an ATXMEGA32A4U via its 6-pin programming header. ...
3
votes
4answers
634 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 ...
3
votes
1answer
195 views

Does ISP mean that the chip has to remain stuck on the system PCB when programmed?

According to wiki "In-System Programming (ISP) is the ability of some programmable logic devices, microcontrollers, and other embedded devices to be programmed while installed in a complete system, ...
3
votes
1answer
766 views

Programming several AVR MCUs simultaneously? (with parallel)

I was able to program three ATMEGA32 simultaneously using ISP. In your opinion, can I program several AVRs at once with parallel? Unfortunately, I do not have a parallel programmer. Can you test it ...
3
votes
1answer
271 views

AT89LP51ED2 SPI ISP — First attempt to enter ISP mode after reset yields wrong data back, but second attempt works

I have a board using an AT89LP51ED2 from Atmel -- this is an 8051-derivative with on-board Flash program memory and a SPI ISP interface, which I am using my Bus Pirate to drive (30kHz speed, pullups ...
3
votes
2answers
6k views

Is it possible to program a AT89S51 chip with a USB to TTL(UART) converter cable or Arduino?

Recently, a have a chance to get a AT89S52 chip, but I do not have a suitable programmer for it. I am new to microcontrollers, especially the MCS-51 series , but I've heard that MCS-51 is the "right ...
2
votes
4answers
3k views

Am I able to burn a bootloader and program with an AVR ISP?

I have considered purchasing some ATMega chips as to create simple realizations of projects without sacrificing a dev board (i.e. Arduino) Now I understand the bootloader is required to read from a ...
2
votes
1answer
2k views

ATTiny Circuit only works when connected to AVR ISP

I've got a very simple circuit (as you can see from the diagram below) with an ATTiny45 and a piezo buzzer. Everything worked great as I was testing it out and had the ISP (an AVR ISP MkII) attached. ...
2
votes
1answer
475 views

Is a crystal needed for burning firmware on AVR?

I want to program an AVR attiny2313 with my AVR ISP MKII So I built a header that connects to a breadboard where I want to burn the firmware to the ATTiny via ISP, so my question is, I have a ...
2
votes
3answers
4k views

How do I in-system program LPC17XX?

I plan to buy an mbed module to get started with NXP LPC17XX. Developing and downloading code seem the easiest possible. What are my options for in-system programming this code in non-mbed devices? I ...
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 ...
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 ...
2
votes
1answer
4k views

How does avrdude with AVR-ISP-MKII respond when no target board is connected?

How does avrdude with AVR-ISP-MK2 respond when no target board is connected? I'm trying to troubleshoot my set-up, and would like to know if the problem lies between the laptop and programmer or ...
2
votes
1answer
170 views

Capacitor on mosi/miso lines

I'm designing a project based on Atmega328P which uses QMatrix to drive 15 capacitive touch buttons. Well, QMatrix sensors requires a couple of resistors and capacitors on sensor pins Is any issue if ...
2
votes
1answer
696 views

Maximum length of Atmel AVR ISP ribbon cable?

I recently picked up a cheap USB based ISP (in-system programmer) for Atmel AVRs. There are two variants of the programming socket that are used with these devices, a 10-pin and a 6-pin. ...
2
votes
2answers
1k views

Possible to use USBTinyISP as an FTDI?

So, I have an atmega328p and I need to communicate with a computer from it, so I need an FTDI. However, all I have is a USBTinyISP. Is there some way I could hack something together so that I can use ...
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 ...
2
votes
3answers
1k views

Can manage to read device ID from an AVR only once

I'm using an ATmega48 device and my debugger is the Atmel ICE. I manage to connect to the device only once, the 2nd time causes a "failed to enter programming mode" error. Cycling power to the device ...
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 ...
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): ...
2
votes
2answers
263 views

How to implement an ISP connector on my board

I'm planning to make a small circuit with a ATtiny85V-10PU. As the pins on this chip are very limited, there are just enough for what I'm planning to do, so all pins will be used for in- or output ...
1
vote
4answers
678 views

Programmer for Sanyo LC87F5NC8A Microcontroller

I want to hack my Samsung DVD player. But the IC used it a Sanyo LC87F5NC8A. I don't have a programmer that can dump or program this UC. Any advice ??
1
vote
3answers
230 views

STM32F429 Discovery debug options

I recently acquired an STM32F429 Discovery Kit (pictured below). I'm new to the M4 cortex series microcontrollers and ARM in general having only worked with PICs before. I've seen some really nice ...
1
vote
2answers
171 views

Does an ARM (LPC21xx) Programmer pulls P0.14/BSL to ground?

Most of ARM programmers come with BSL,RESET,TXD, RXD, GND and VCC pins which we need to connect with respective pins of ARM. For ISP, We require need to ground P0.14/BSL after Reset. As these ...
1
vote
2answers
423 views

How does AVRDUDE communicate with the programmer?

I'm trying to understand exactly how AVRDUDE communicate with the AVR Programmer, for example USBtiny or Arduino itself as a programmer, to send the firmware to the microcontroller. As a motivation ...
1
vote
2answers
1k views

Pin Assignment in ispLEVER Classic

I have an ispGAL22LV10C that I'm trying to program. I wrote and synthesized the VHDL in ispLEVER Classic, but I cannot seem to figure out how to create pin assignments. Documentation on this is kind ...
1
vote
2answers
1k views

ISP circuit for AVR microcontrollers

So I was doing a bit of research on the AVR controllers and came across this schematic for programming the chips. After doing research on the 74 LS 254, I realized that either this design is ...
1
vote
4answers
1k views

attiny13a SMD production programming without programming jumper? Possible?

I'm struggling to find a decent way to program a production run of some boards. The boards are going to be about 2cm by 3cm ovals with a surface mount SOIC 8 pin Atmel attiny13a microcontroller. The ...
1
vote
2answers
1k views

AVR in system programming (ISP)

Can I use this programmer to program an onboard Atmega168 TQFP chip? Does the board have to be powered up or the programmer supplies it's own +5v? Here's what the programmer's schematic looks like....
1
vote
1answer
122 views

Will my circuit interfere with ATtiny25 in system programming?

I've got a simple circuit with an ATtiny25 on which I indend to do in system programming. I'm wondering, will the rest of my circuit interfere with the SPI programming? So the data sheet says: PB0 = ...
1
vote
2answers
516 views

How can an ISP program an AVR over SPI if there is no code on the device?

I am trying to understand how an ISP can write machine code into a microcontroller's memory. In the case of AVR microcontrollers (such as the ATMega), you can use a special in-circuit programmer that ...