I somehow corrupted the bootloader on my Digispark Pro. I'm trying to reinstall it using the arduino uno ISP using this guide:
http://digistump.com/wiki/digispark/tutorials/proisp and this one:
https://digistump.com/board/index.php?topic=1920.0I followed the steps, but when I try the command in terminal, I get this error:
avrdude -p attiny167 -c arduino -P /dev/cu.usbmodem1451 -b 1000000 -U flash:w:ProBootloaderR2.hex:i
avrdude: ser_setspeed(): tcsetattr() failed
avrdude: ser_open(): can't set attributes for device "/dev/cu.usbmodem1451": Invalid argument
ioctl("TIOCMGET"): Bad file descriptor
avrdude: ser_close(): can't reset attributes for device: Bad file descriptor
avrdude done. Thank you.
I'm using a Mac on High Sierra. Any help would be greatly appreciated. My project is due very soon, so I'd like to get this up and running asap. Thank you!