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
1 answer
30 views

Is the UPDI pin on AVR DA/AVR Tiny0/... 5V tolerant when VCC@3V3?

I've a project incorporating an AVR128DA28 which is used with 3V3 peripherals and should be programmed in circuit. For this I built a jtag2updi (GitHub) adapter using an Arduino Nano. Since ...
user avatar
  • 157
0 votes
1 answer
49 views

74HC125/74AC125 vs. 74AHC125N/74AHC125 for overvoltage tolerant USBtinyISP 2.0

The schematic of the USBtinyISP 2.0 makes a point of using a non-inverting buffer IC with overvoltage tolerant inputs: Only 74AHC125N is 5V compliant at lower VCC! I bought a couple of USBtinyISP 2....
user avatar
-4 votes
1 answer
59 views

Atmega328p I2c to SPI [closed]

I have atmega328p and I need resend data from more sensors I2C to another atmega328p via SPI. Do you have some example? I am only beginer.
user avatar
0 votes
0 answers
98 views

What pitch is 14-pin header adapter

the device PCB have serial console port header and 14-pins test points right next it. It marked as J303, J304. The device processor is MIPs based, so I assume that could be a 14-pins MIPS JTAG header. ...
user avatar
  • 171
0 votes
1 answer
50 views

Pogo pin version of ISP cable for AVR mega8 in TQFP-32 package [closed]

There are a few 6pin and 10pin pogo variants of Atmel ISP adapters that require dedicated ISP pogo pads on the PCB. There are full TQFP-32 ZIF sockets that can be used to program any AVR in that ...
user avatar
0 votes
0 answers
147 views

Can't burn bootloader or upload code through Arduino IDE to attiny85 using USBasp

I've wired everything up on a breadboard using the datasheet of the attiny85 and the 10 pin layout of the isp programmer, installed the libusb-win32 USBasp driver through ZADIG, and setup attiny85 ...
user avatar
0 votes
2 answers
76 views

Isp reprogramming of Attiny167 MCU while soldered in a circuit is possible?

Is it possible to re-program a soldered attiny167 on a pcb, by using isp, when one of the pins needed (MISO) has a 10K resistor pulled to ground, and the RESET pin is pulled HIGH with a 10K resistor ...
user avatar
  • 381
0 votes
1 answer
158 views

Why 10-pin and 6-pin ISP?

I have another curiosity question: Why is there a 10-pin AVR ISP connector and a 6-pin version? It seems that the only difference is that the 10-pin version uses the extra pins for a heap more ground ...
user avatar
  • 427
0 votes
2 answers
191 views

ICSP / ISP issue when programming ATmega328P

I've designed a custom PCB that I'm trying to program through ICSP using AVRISP mkII and I've run into some issues. I'm using Arduino IDE for programming, but I don't think this is relevant. The IDE ...
user avatar
  • 33
1 vote
3 answers
166 views

How would I implement an onboard ISP for multiple ARM Cortex M0+ MCUs?

I've written a lot of firmwares for embedded dev boards like Arduinos and Teensys, but am still new to PCB design. Right now I'm attempting to bring a multi-MCU design into limited production, and I'...
user avatar
  • 11
2 votes
4 answers
342 views

Why are male pins used for in circuit serial programming?

In most boards, the ICSP (in circuit serial programming) pins are of the male type. Is there any reason, guideline, standard or best practice that recommends this? If not I would like to use female ...
user avatar
1 vote
0 answers
43 views

SPI Programming

I am trying to program the processor, eventually i connected NOR and Processor in the same line without any isolation. Now i need to program the Flash without interfacing the processor. Anyone please ...
user avatar
1 vote
1 answer
216 views

Programming Arduino AVR MCU with Atmel ICE

I have a question about programming Arduino with Atmel ICE. I am aware that the Arduino UNO has a ISP connection for ISP programming. If i'm not mistaken I should be able to plug in the ICE and ...
user avatar
  • 87
0 votes
2 answers
469 views

How does ISP cut the customer's internet access technically?

We know that if we fail to pay our internet bill then our internet access will be cut. But how does the ISP technically cut the access? For wired internet, do they just shut down the port where the ...
user avatar
  • 377
1 vote
1 answer
213 views

Protecting a 3.3V board against a 5V programmer

I'm designing a home automation board with ATmega328. For programming it I'm exposing the appropriate pins via the AVR ISP interface. Now some ICs of the board allow only up to 3.5V power. What are ...
user avatar
  • 719
2 votes
2 answers
176 views

Does the code on an ATTiny execute while it is being programmed by ISP?

I'm using an ATTiny84 and I have both a switch and a pin header attached to the MOSI pin. I am reading the value of the switch in my program, and I'm using the pin header (along with headers to MISO, ...
user avatar
0 votes
1 answer
1k views

ISP programming W25Q32 SPI flash memory chip

I have Sofi SP8 programmer for serial flash memory, with ISP interface for In-System programming. I want try it to read/write memory chip WINBOND 25Q32BVSIG-1246 on board, without desoldering. Manual ...
user avatar
  • 171
2 votes
2 answers
184 views

Getting started with AVR programming concepts

I am trying to get started with programming the AVR. I have chosen to use Atmega328P (which is in my Arduino Uno). When I did web search regarding the initial steps for learning the AVR programming, I ...
user avatar
  • 1,069
0 votes
1 answer
33 views

Flashing LPC1769 with FlashMagic

I'm encountering problems flashing my LPCxpresso1769 with FlashMagic. I had previously been able to get it to work using a USB to UART lead (TTL-234X-3V3) and powering the device externally (i.e. ...
user avatar
  • 591
1 vote
1 answer
231 views

AVR ATtiny1634 - Programming Issue

I've have already used Arduino as ISP Programmer to load codes to Atmel chips like ATmega328p and ATmega8 quite a few times without any problem. On my last project though, I decided to use an Atmel ...
user avatar
  • 35
0 votes
2 answers
76 views

Does an ISP clock interfere with the on-board clock when programming via ISP?

I am planning to use ISP programmer to program my new AVR board. I use an 8 MHz crystal on my PCB to clock the micro (atmega328p-au). Now, as I understand the ISP programmer will provide its own clock ...
user avatar
1 vote
1 answer
1k views

ESD SPI/ISP bus protection

I am designing a board based on the Atmega328P microcontroller. For this controller there is an ISP connector for programming. This connector has the following pins: MOSI / MISO / RST / SCK. There is ...
user avatar
  • 419
0 votes
1 answer
115 views

AVR ISP not working, strange signal level [closed]

I can't read the chip ID of the ATMega16m1 MCU using a AVRISP mkII programmer. The ISP pins are connected directly to the MCU, the reset line has a 10k pullup to Vcc (3.3V). When measuring the ISP ...
user avatar
  • 31
0 votes
1 answer
57 views

Flashing LPCXpresso1769 with FlashMagic

I'd like to use Flash Magic to load programs onto my LPCXpresso1769 development board (https://www.embeddedartists.com/wp-content/uploads/2018/06/LPCXpresso1769_CD_revD.pdf), via ISP. I purchased a ...
user avatar
  • 591
0 votes
0 answers
110 views

Programming mbed LPC1768 via ISP

I'd like to experiment programming the mbed's LPC1768 dev board (https://os.mbed.com/platforms/mbed-LPC1768/) using ISP with FlashMagic. Is this possible without requiring physical modification of ...
user avatar
  • 591
1 vote
3 answers
1k 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 ...
user avatar
  • 819
1 vote
2 answers
207 views

How to enter into ISP mode through 'reinvoke ISP' in LPC1759

In LPC1759, I entered ISP through "reinvoke ISP" with the following steps Disable PLL Reset timer 1 Re-map interrupt vectors Set watch dog timeout Reinvoke ISP After entering into ISP, What exactly ...
user avatar
2 votes
2 answers
2k views

JTAG, SWD, EDBG, ICSP, ISP terms

JTAG, SWD, EDBG, ICSP, ISP . Can someone simply explain their differences. For example if EDBG debugger can ALSO program flash, why Arduino boards have both ISP and EDBG ? http://www.armlearning....
user avatar
  • 23
0 votes
1 answer
86 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 ...
user avatar
  • 23
0 votes
1 answer
120 views

How do I maintain ICSP functionality?

I'm a novice hobbyist building a trivial circuit where an ATTiny 85 controls an RGB LED. In addition to the three PWM outputs, I have 2 inputs. The first input is a potentiometer I'm using to set ...
user avatar
1 vote
1 answer
108 views

Minimal external components for AVR CPU

If I want to program a new AT90USB1286 series chip via the standard 6 pin ISP header, do I need any additional components wired up at all? I'm wondering specifically about the need for a quartz ...
user avatar
  • 206
0 votes
2 answers
1k views

In-system programming of the SPI Flash chip [closed]

Device have Serial NOR Flash chip MX25L6406E located on the rear of the PCB (SO-8/SOIC-8 Package). Is it possible to program chip without desoldering it? (In-system programming). As I know, it depends ...
user avatar
  • 171
0 votes
1 answer
131 views

AVR programming

This question might be asked somewhere, if so all references would be appreciated. Hello, I have programmed Atmel chip Atmega32U4 through USB. It is possible because it supports USB programming. I ...
user avatar
0 votes
1 answer
96 views

How to stabilise SPI connection

To salvage a server with a broken BIOS, I am attempting to in-situ program a chip via SPI using a Raspberry Pi 3B: After connecting my clip and wiring it up (and measuring all the leads to ensure I ...
user avatar
  • 111
-2 votes
3 answers
177 views

Need Help with Python Script - ' 4 Dollar Programmer'

I am working on an embedded project and have made my first PCB with a processor mounted on board. The trouble seems to be actually getting my code onto that processor! I was sort of banking on being ...
user avatar
0 votes
1 answer
1k views

Is my PCB layout ok? (ATMEGA32U4, WizNet W5500, Ethernet)

I want to design a device that listens to certain network communication and calculates a MIDI clock signal out of this information. The MIDI output is via classical MIDI port or via USB MIDI. I am ...
user avatar
  • 97
0 votes
0 answers
294 views

Data upload LED on SPI MOSI line

I'm attempting to make my own ISP programmer for an Atmega168-20PU. For the sake of learning I want to have an LED flash as bits are being flashed to the chip. If I use an SMD LED 0603 size, in series ...
user avatar
5 votes
2 answers
559 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 ...
user avatar
0 votes
0 answers
131 views

PSOC 4 Bootloader will not work when P4[0] and P4[1] Connected to I2C bus

I have been desparately juggling the pin allocations on this project in the hope of freeing up the VREF pin, and thought I had managed to do so. Previously my system was successfully transmitting over ...
user avatar
0 votes
2 answers
5k views

Configure avrdude for programming with a ft232r cable

I bought a ftdi cable with the following pins. Vcc GND RX TX RTS CTS It's possible to use this device to upload code to an ATmega328p using the avrdude utility? When I run this line on linux ...
user avatar
  • 21
0 votes
1 answer
928 views

Clip type for in-system programming (SOIC8 vs DIP8)

Updated: What clip can I use to connect to this [specsheet] SPI flash chip in a DIP8 package? note: this picture is of a motherboard that belongs to someone else, but mine has the same manufacturer,...
user avatar
  • 291
0 votes
3 answers
86 views

FOSS-base AVR ISP programming with USB

I've been using a free software stack for AVR programming - AVR GCC + avrdude on Linux, with parallel DIY programmer cable. Since the parallel bitbang programmer doesn't work with USB printer cables, ...
user avatar
0 votes
1 answer
260 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 ...
user avatar
-4 votes
1 answer
154 views

why isp avr MCU doesn't need ground? [closed]

Few days ago, while making my ic burner, I notice one thing very interesting and weird. It's that AVR MCU ISP interface really doesn't need to be connected to ground at all. Why does AVR-ISP work ...
user avatar
0 votes
1 answer
57 views

What is the role of a Network Interface Device in a ADSL connection?

What is the role of a Network Interface Device in a ADSL connection? Why the filter is not enough? What is the difference between them?
user avatar
  • 763
1 vote
1 answer
224 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 ...
user avatar
  • 602
1 vote
1 answer
164 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 = ...
user avatar
  • 165
0 votes
0 answers
107 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 ...
user avatar
  • 113
0 votes
1 answer
94 views

supplying power for in-system programming

For this PCB there will be a voltage regulator that provides 3.3V from 12 VDC. There will also be a 6-pin connector for doing In system programming via SPI. The SPI programmer is going to be an ...
user avatar
  • 807
1 vote
2 answers
995 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 ...
user avatar
  • 683