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

Cannot Connect AVR USB ISP 2.0

After searching for a about 10 hours, this is my last hope. I've made my own development board, with Atmega8. The program is also ready. I bought Atmel USB ISP 10pin from a local shop to transfer ...
1
vote
2answers
327 views

USBasp progarammer with ZIF socket?

I want to make a USBasp programmer for myself. I have the schematic. But they used a 10 pin ISP connector, whereas I want to use a 40 pin ZIF socket. How do I change the circuit for this purpose? I'...
0
votes
2answers
502 views

Programming DS89c450 ISP

I have a DS89c450 which I wish to program and so far have had no success. I have no programmers, so I need to utilise the ISP capabilities. I have the crystal connected (16Mhz) as well as the power. ...
-1
votes
1answer
354 views

RS232 ISP programming

I have a saleae digital analyzer and i am using it to listen to on a ISP programmer. (not to steal someone's code, but to build my own programmer). It only has two wires (GND & SDA) The data just ...
0
votes
1answer
319 views

SPI Communication during Programming

I am using the ATtiny861a and have made it so that the SPI connects to a Radio and an external memory source VIA two different chip select pins but sharing the same MISO/MOSI/CLK line. Correct me if ...
0
votes
1answer
399 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 ...
1
vote
1answer
380 views

Program an ATTINY85 on the PCB is causing me some trouble

I'm having a hell of time getting AVR ISP header on my circuit board to actually allow me to flash the chip. Basically, with an ATTINY85 you pretty much have to share programming pins with pins used ...
1
vote
1answer
1k views

Burning arduino bootloader with avrdude and AVR dragon on ATmega32U4 failing

I am attempting to burn a bootloader on a ATmega32U4 aka. Arduino Micro which is not succeeding. I am using a AVR Dragon with ISP interface. ...
2
votes
1answer
716 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. ...
0
votes
1answer
100 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
272 views

How to design a 3V3 device to be safely programmed by 5V ISP

I'm designing my first 3V3 circuit with ATmega8. While the uC itself supports both 5V and 3V3, some of components do not. I'm going to place ISP socket on board and I'm wondering how to ensure that a ...
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 ...
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 ...
1
vote
1answer
648 views

Can avrdude address individual usbtiny programmers?

I'm envisioning a panel programming jig. In my mind, it consists of a Raspberry Pi, a powered USB hub, and a collection of usbtiny clones each connected to a pogo jig and a target on a panel. The ...
0
votes
1answer
582 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
585 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 ...
0
votes
2answers
2k views

How can I flash an AVR using an Arduino without using Arduino IDE?

I want to program an ATTiny microcontroller using an Arduino Uno board via AVRdude. According to the Arduino Uno schematic, there is a direct line from the USB controller to the ICSP1 header: I ...
1
vote
1answer
468 views

Why can't I read the ATmega328P from an Arduino board using USBasp?

I have been using a USBasp board and AVRDUDE to successfully program ATtiny13 chips. I thought I'd have a look at the chip from my Arduino (ATmega328P), but AVRDUDE can't seem to read the chip. ...
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 ...
1
vote
2answers
705 views

Brand new ATmega8 - Changing Fuse Bits

I seem to have a little confusion regarding changing the fuse bits on a new ATmega8 AVR. A brand new AVR comes with 1 MHz internal RC setting and there's no CKDIV8 fuse bit. Also since ISP ...
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
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....
1
vote
1answer
987 views

AVR ISP-Programing LEDs SCK

I'm using a Attiny45 microcontroller and USBtinyISP as my programer, and this is the first time I need to hook stuff up (in this case just LEDs, but eventually I'll want to conect a raspberry pi) to ...
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 ...
0
votes
1answer
460 views

Programming FabISP Attiny44 with Arduino

Is there a way to program the Attiny44 on a FabISP board using an Arduino board? I read through a few online tutorials, and the ones that even mention using the Arduino as an ISP for an Attiny44 don't ...
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, ...
1
vote
0answers
190 views

Sizing Intel Hex Files prior to ISP

I've currently have an Intel Hex file that is 109kb, but with AVR-SIZE and FLIP I see that it's actually only going to take up 37,344kb of space on the chip, unless I'm making a false assumption there....
1
vote
1answer
2k views

AT89c51RE2 replaced with AT89LP51RD2, ISP programming

have a question I can't seem to figure out the answer to. We have existing boards running off the AT89c51RE2 processor. Works great because it supports In-System-Programming. This means we can use ...
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
643 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 ...
1
vote
2answers
2k 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 ...
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 ...
0
votes
1answer
3k views

Program ATtiny45 with Atmel Studio and Arduino ISP

Is it possible for me to somehow upload the application I have written with C++ in Atmel Studio with the Arduino ISP that I can use in the Arduino IDE? I have no idea how to do this, and I also have ...
0
votes
1answer
111 views

Connecting Atmel AVRISP to JTAGICE header

I have an AVR board with 10-pin JTAGICE header and a 6-pin ISP. Can I somehow connect the ISP to program this board without having JTAG functionality?
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 ...
2
votes
1answer
476 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 ...
3
votes
1answer
775 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 ...
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 ...
0
votes
0answers
507 views

Arduino bootload flash error

I use an Arduino as an ISP to burn the ATtiny45, but when I burn the bootloader, the below happens: ...
2
votes
1answer
494 views

Clocks setup when programming Atmel via ISP?

When programming an Atmel microchip over SPI (ISP), what external clocking do I have to provide to programee? Does it have to match programmer's internal clock frequency, or can be totally different ...
1
vote
3answers
5k 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 ...
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. ...
3
votes
1answer
197 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, ...
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 ...
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 ...