mqnc / MHTinyCDC

Copy of the DigiCDC library, added configurations to work with the MH-ET LIVE Tiny88 board
Other
8 stars 1 forks source link

doesn't work #3

Open mqnc opened 1 year ago

mqnc commented 1 year ago

I am now on another machine with another chip and the chip keeps rebooting...

Trying to debug the issue, I am kind of baffled that it ever worked in the first place. Compared to usbconfig.h in micronucleus, USB_CFG_DMINUS_BIT and USB_CFG_DPLUS_BIT are swapped and furthermore, DigiCDC.cpp contains the line PORTB &= ~(_BV(USB_CFG_DMINUS_BIT) | _BV(USB_CFG_DPLUS_BIT)); when it should actually be PORTD.

I am wondering if I somehow got superlucky due to some arduino cache thing or the sketch on my other machine accidentally did some configurations to make it work... Or maybe my other chip contained another version of micronucleus which left some correct USB configurations on it...

Anyway, I will update this issue with the debugging progress. Any help much appreciated!