Shruthi XT Journey
This is not really a step-by-step tutorial, its more of a “point you in the right direction” tutorial. I just made notes as I was getting my Shruthi XT working. Most of the command line AVRDUDE stuff was found all over the web, I just wanted to archive what worked for me.
For Windows 10 Disable Driver Signature Enforcement: VIDEO
Unzip THESE FILES to root of C:/
Plug in your USB AVRISP XPII/MXII (Default drivers might fail, this is fine, ignore for now)
Install C:\shruthi\Software\libusb-win32-bin-1.2.6.0\bin\inf-wizard.exe
Install C:\shruthi\Software\WinAVR-20100110-install.exe
Open a command window (Press Win+R and type cmd and hit enter)
type cd C:\shruthi\ (You should now be in the C:\shruthi\ directory)
Type:
avrdude -p m644p -c avrispmkii -P usb -v
The RED light on the AVRISP XPII/MXII should have turned GREEN and you should see “avrdude done. Thank you.” in the command windows.
If this is true, then continue to the next step. If the light is still RED then remove your drivers and try again.
Hook up the 6 PIN cable from the AVRISP to the AVRISP port on the Shruthi XT.
Power up the Shruthi XT
Were going to set the fuses first. Type the following and hit enter:
avrdude -B 100 -V -p m644p -c avrispmkii -P usb -e -U lock:w:0x3F:m -e -u -U efuse:w:0xFD:m -U hfuse:w:0xD6:m -U lfuse:w:0xFF:m -U lock:w:0x0f:m
Now were going to program the bootloader and OS. Type the following and hit enter:
avrdude -B 1 -V -p m644p -c avrispmkii -P usb -U flash:w:shruthi.hex:i -Uflash:w:muboot.hex:i -U lock:w:0x2f:m
This will program the first 16 presets. Type the following and hit enter:
avrdude -V -p m644p -c avrispmkii -P usb -U eeprom:w:internal_eeprom.hex:i
Power off the shruthi XT and remove the 6 PIN cable from the programmer
Press the encoder knob in and insert the power cable and select XT.
Enjoy