Avr atmega 2560 hvpp problem

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

Hello!
I have problem with avr atmega2560.
With stk500 compatible programmator in HVPP mode, i change fuses
For
Extended: 0xFF
High: 0x99
Low:0x42

And now i can't read signature, or erase, or change fuses.
Readed signature:0xffffff

Attachment(s): 

This topic has a solution.
Last Edited: Tue. Apr 23, 2019 - 04:07 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why use HVPP?

What do you get when you use ISP?

Note: I can not see any bypass caps in your test setup, all VCC/GND and AVCC/GND pairs should have power and bypass caps (100nf typical) for proper operation!

 

Jim

 

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

share.robinhood.com/jamesc3274

 

 

 

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

Your changes of the fuses use the default values for the extended and high fuses.  The low fuse change is only for start-up time.  Why are you doing this?

 

The Russian-language-only manual to the programmer in your photograph references Studio version 4.13.  Are you using this software? 

 

When you connect your $8 logic analyzer (from eBay here: https://www.ebay.com/itm/USB-Log... ) to the parallel logic pins, what signals do you see?   Do they match the documentation for the AVR High-Voltage programming format?

 

Why are you messing around with difficult AVR equipment?   Can't you just spend the 700 rubles on a Chinese Arduino Mega (eBay here:https://www.ebay.com/itm/NEW-MEG... ) and get a stable, flexible, standardized AVR Mega2560 development platform?

 

Last Edited: Mon. Apr 22, 2019 - 02:03 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I tryed use ISP. all work!
I want use this chip standalone, without external quartz. Can you tell me low fuse value?

Attachment(s): 

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

The way it is set now is for internal oscillator at 1MHz (default), if you uncheck the CKDIV8 fuse and program the fuses then the chip will run at 8MHz.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

I am set lfuse to 0x62.
All work
Thanks for all!

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

I'm intrigued. How do you even do HVPP for a 2560? It's very unlikely you can do it in circuit because of the 12V and 20 signal wires involved (surely one or more are used for other purposes in the circuit?). So are you somehow programming it in a chip carrier?

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

clawson wrote:
are you somehow programming it in a chip carrier?

See photos in #4

 

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

share.robinhood.com/jamesc3274

 

 

 

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

atmega2560 datasheet

page 329

 

 pin mapping for HVPP

 

 

my stk500 compatible programmator have this pinout:

on TRST pin temporarily appears +12 V