for what it’s worth, here is how i programmed this module using winAVR.
- install arduino
install winAVR
in the source code directory on github, edit the Makefile. I was programming via the built-in serial port, so the options of interest are under Programming Options (avrdude serial bootloader) [line 336] You need to change SERIAL_AVRDUDE and SERIAL_AVRDUDE_CONFIG to match your arduino install directory. no spaces allowed in the path!. You also need to change SERIAL_AVRDUDE_PORT to match the port you are using (it was COM1 for me). Finally, change SERIAL_AVRDUDE_PROGRAMMER from stk500v1 to arduino.
open a command line and navigate to the accelerometer dongle source directory.
- run the following commands:
- make clean
- make all
- make program_serial
that’s it!