SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!
Other
551 stars 142 forks source link

ATtiny3216 Hardware RESET #1125

Open PM04290 opened 1 month ago

PM04290 commented 1 month ago

As described in datasheet of ATTiny3216, it is possible to make hardware reset with low voltage, but configuration must be enabled by fuse. On menu UDPI, i have only "No Reset" or "reset enabled for Serie 2"

How to enable hardware reset on ~Reset/UDPI pin ?

hmeijdam commented 1 month ago

Find the "boards.txt" file from MegatinyCore and search for the word "expert". Then you will see that you can uncomment the 'expert mode' features. Make sure you realize that you will need a HV programmer to ever set the UPDI pin back to UPDI. That is why by default these options are commented out.

image

PM04290 commented 1 month ago

@hmeijdam , thanks for solution... but for HV programmer i must learn to it; actually i use simple Nano with jtag2udpi firmware... I suppose it is not an HV programmer

hmeijdam commented 1 month ago

No, but you can make that into a HV programmer