AVRICE3 and High Voltage Programming

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am working on a project using an ATmega88PA, Atmel Studio 7, and Atmel JTAGICE3.  I've had to deal with the learning curve of switching between ISP to program and debugWire to debug, and am wondering about the high-voltage programming mode that is all over the forums, but is not mentioned in the Atmega88PA's data sheet and has only one mention in the JTAGICE3's user guide.  The web documentation for the JTAGICE3 seems to indicate that high-voltage programming is deprecated for newer AVRs, and is not possible using the JTAGICE3.

 

Am I correct that neither the JTAGICE3 nor newer AVRs such as the ATmega88PA support a high-voltage programming mode?  Does that mean that ISP programming is always sufficient to program fuses for the ATmega88PA?

 

Thanks,

 

Adam J.

This topic has a solution.

Last Edited: Thu. Nov 29, 2018 - 01:24 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

adamj537 wrote:
... and am wondering about the high-voltage programming mode that is all over the forums, but is not mentioned in the Atmega88PA's data sheet ...
page 255 in Figure 28-1. Parallel Programming and "+12V" on active low RESET.

adamj537 wrote:
Am I correct that neither the JTAGICE3 nor newer AVRs such as the ATmega88PA support a high-voltage programming mode?
Correct for JTAGICE3, not correct for AVR as tinyAVR 0-series and 1-series have the 12V RESET as RESET is multiplexed with UPDI (UPDI from the factory)

adamj537 wrote:
Does that mean that ISP programming is always sufficient to program fuses for the ATmega88PA?
Yes for a factory or distributor mega88PA, no for any mega88PA (RESET is multiplexed with PCINT14)

 

edit: PCINT14

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Wed. Nov 28, 2018 - 05:05 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

adamj537 wrote:
Does that mean that ISP programming is always sufficient to program fuses for the ATmega88PA?

Generally yes, although if you set the RSTDISBL or leave the DWEN fuse in d-wire mode, then ISP is halted.

Your can recover from DWEN, by starting a debug session and closing the debug session properly (you already know how to do this).

I believe RSTDISBL requires HVP to fix this fuse.    The original SDK500 or Dragon programmer/debugger can do HVP/HVS programming.

Note: be sure your reset circuit on your PCB can withstand 12v without damaging any thing if you use HVP.

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ki0bk wrote:
The original SDK500 or Dragon programmer/debugger can do HVP/HVS programming.
plus Power Debugger and possibly MPLAB PICkit 4.

 

Power Debugger, Hardware Description, Overview

PICkit4.book (VPP generator on page 14)

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks to all for the info!  Follow-up question:  I see references to serial programming in the ATmega88PA data sheet, but nothing with 12V.  Is there no high-voltage serial programming for this chip?  Is that common for AVRs?

 

Adam J.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

adamj537 wrote:
I see references to serial programming in the ATmega88PA data sheet, but nothing with 12V.
Likewise when I searched its data sheet for HVSP.

adamj537 wrote:
Is that common for AVRs?
Yes as HVSP is for some tinyAVR (AVR in packages with reduced pin count); tiny85 is popular and in 8 pin PDIP, SOP, and SSOP or 8 pins on a QFN-20.

Likewise for the follow-on in tinyAVR 0-series and 1-series where UPDI is multiplexed with RESET and IO (UPDI is akin to 1-wire UART)

A possible follow-on to mega88 is the future mega808 where UPDI is dedicated (iow not multiplexed so no 12V)

 


ATtiny85 - 8-bit AVR Microcontrollers - Microcontrollers and Processors

ATTINY804 - AVR Microcontrollers - Microcontrollers and Processors (SOP-14)

ATMEGA808 - 8-bit Microcontrollers - Microcontrollers and Processors

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

40USD discount from 190USD :

Power Debugger via Dev Tool Deals | Microchip Technology

 

"Dare to be naïve." - Buckminster Fuller