AVR-MT-128 Sample code

I’ve downloaded the sample code for this board and tried to compile it with AVR Studio.

Changed the include to avr/io.h and util/delay.h

but i have about 57 errors from the file when compiling, why is this happening, how can i sucsessfully compile the sdample code?

I know this is an old post… but what did you figure out?

i wrote my own code :slight_smile:

I know this is an old post, but I downloaded the sample code for the AVR MT 128. I built it with the latest WinAVR and had no problems.

In WinAVR’s Programmer’s Notepad, I opened the Makefile and did a Tools->Make clean and Tools->Make all

The only odd thing I got was an avr-objcopy.exe message saying “there are no sections to be copied!” and a “never used” message. I ignored those messages because it built a .hex file for me. I loaded the hex through the SFE/Olimex ICSP programmer using PonyProg. It all went very well.

I was able to modify the sample code to dump different text to the LCD just to make sure I was actually loading a new hex.

So, would suggest using WinAVR and PonyProg - compiles and loads fine with this combo.