High Voltage Seral Programming (HVSP)

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

In looking over the AVRISP help document I found the following

Quote:
RESET Used as General IO port.

If the RESET pin is used as a general purpose IO, In-System Programming is not possible. The reason is that the RESET pin must pulled to 12V to enter High Voltage Serial or Parallel Programming mode (HVSP or HVP). HVSP or HVP must be used to change the RSTDSBL fuse.

All the data sheets I have read only talk about low voltage serial programming, which cannot be used if the RESET is used for general I/O.

Where do I find more info on HVSP?

Laurence Boyd II

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

HVSP is only for 8 pin AtTiny AVR's which don't have enough pins for HVP check out page 3-14 on the STK500 data sheet

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

Giorgos:

I have been wondering for a while (& have no good answer)--why bother to use high voltage programming along with all of the needed connections? What is wrong with the simple & efficient low voltage serial programming? The data sheets tell how to do both but never seem to mention why you'd go through the bother of using the HV mode. Can it do things LV programming can't? I suspect so, but am not sure.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

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

Thanks for the info, since I have never looked seriously at the Tiny series, I mised the HVSP part.
In answer to the the the question about why bother with high voltage parallel when you can use low voltage serial. I agree, it is my choice. However, if you set the fuse to use the RESET pin as a general purpose I/O, low voltage serial is no longer availble. You can still use the bootloader, which I intend to do (mega8), but the only way to reset the fuse is with high voltage parallel :(
When I saw the high voltage serial, I thought perhaps... :) , but that was just wishfull thinking on my part.

Laurence Boyd II

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

nice work but you can publish the rest of layer and .hex of the programmer??

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

ok. i understand you.. but for beginners like me, your self made tool, is a great help in prototiping.
Offcourse the datashet of micro. has the algoritms.. but do them , is another cuestion for beginers,

greetings.....