ArminJo / micronucleus-firmware

Fork for the firmware / digispark part of the micronucleus repository
Other
80 stars 20 forks source link

[ENHANCEMENT] RESET pin defined as output (original digispark?) #22

Closed gitterman closed 2 years ago

gitterman commented 2 years ago

On the main page, it states that the default hFuse on a digispark is 0xDD. From what I read on the digispark forum, the original digispark has the hFuse set to 0x5D, thus allowing all 6 Pins to be used for I/O. To flash a program to the chip, PB0 must be connected to GND then. A 6th I/O pin is very valuable, and I am missing a hex file with this feature in the precompiled files. I know that disabling the RESET pin also disables any further ISP programming, but as the programming is done via USB this is not so much of a drawback. There are also many instructables how to build a simple HV fuse resetter with an arduino, in case one needs ISP programming. I am a Windows user and if I know how to burn a hex file, but I do not know how to compile an adapted multinucleus core. Thus, I would very much appreciate, if there was at least a single precompiled hex file which has the 6 I/O pins enabled.

gitterman commented 2 years ago

Sorry, I made a mistake as the I/O pin is only changed by setting a fuse and not from the hex file