[TUT] [SOFT] WinAVR Beginner's QuickStartGuide for ATMEGA128

Last post
24 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am uploading Beginner's Quick Start Guide for WinAVR programming on ATMEGA128. Hope it will help to get started...

- Gurulingesh

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

why is it a "index.php"?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Where do you see index.php if I may ask?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That's a bug in this bulletin board. Sometimes downloads appear to work OK but the delivered file is wrongly named index.php. If that happens just rename the file to be "start.pdf" or whatever and it should open just fine in your PDF reader.

Cliff

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
That's a bug in this bulletin board. Sometimes downloads appear to work OK but the delivered file is wrongly named index.php. If that happens just rename the file to be "start.pdf" or whatever and it should open just fine in your PDF reader.

Cliff


Hi Cliff
You know everything!
Cheers,
John

Resistance is futile…… You will be compiled!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you That helped immensely

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nice tutorial.
If you want a free PDF generator (not to have the last page "This PDF was created by...") try PDFCreator. Free, quality, open.

There are pointy haired bald people.
Time flies when you have a bad prescaler selected.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thank you

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i have problem,
when i copy/paste the sample code from "QuickStartGuide.pdf" in to Programmer's notepad and do "Make All" action (from Tolls menu), it nothing happen :(
in down windows write text:

> "make.exe" all
makefile:535: *** multiple target patterns.  Stop.

> Process Exit Code: 2
> Time Taken: 00:00

i do only what was write in this pdf... :|

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Post the Makefile as an attachment here (I have a feeling you may need to rename it with a .txt extension to be able to attach it)

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How nice your tutorial is!

I'm a newbie in AVR Programming arena.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the tut! Helped me a lot in getting started in programming the ATMega128. Thanks again!

PS. I hope my stay at these forums are enjoyable.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

jremiz wrote:
i have problem,
when i copy/paste the sample code from "QuickStartGuide.pdf" in to Programmer's notepad and do "Make All" action (from Tolls menu), it nothing happen :(
in down windows write text:

> "make.exe" all
makefile:535: *** multiple target patterns.  Stop.

> Process Exit Code: 2
> Time Taken: 00:00

i do only what was write in this pdf... :|

I have the same problem as this. Does anyone know what could be wrong?
I have attaced the makefile, with .txt ending.

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bloody-orc wrote:
Where do you see index.php if I may ask?

i want to learn more about AVR, can u help me :)

how to make digital watch with RTC 12C887???

it was my project in my class, i come from indonesia, learn in state polytechnic..

u can PM or send me an email to arcticsoul@ymail.com..

thx u very much

ArcticSoul
Industrial Electronic Engineering, College Student

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

just read the makefile "
# Target file name (without extension).
TARGET = RobotBeep
"
is this the one at smiley butterfly book?
i mean almost the same?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey, nice TUT.
I am new to avr programming but I learn quickly.
I'm not 100% sure how but can you help me with something?

I have recently purchased this: http://www.olimex.com/dev/avr-tlcd-128can.html

And I don't know where to start.On the site there is a test program which is toooooo large for me to understand(as a beginer).

I want to write some simple programs( AVR STUDIO + WinAVR) but I still don't understand how to access the LCD (or other parts of this thnig).
I want to use C,because its powerfull and I know it from school.
If you could give me some links so some other,more elaborate tutorials it would be much appreciated.
(Or even better a basic, simple program for this board,like 40-50 lines,at most where you send some text to the LCD,and comment the main parts of the program)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, I have never used this board, but I would try:

#include 
#include "lcd.h"

void main()
{
    InitLCD();
    LCD_Off(); // I'm not sure why this is here, but it was like this in the demo code
    LCD_On();
    LCDWriteString(0, 0, "Hello World!", 0);

    while(1);
}

Regards,
Steve A.

The Board helps those that help themselves.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Koshchi wrote:
Well, I have never used this board, but I would try:

#include 
#include "lcd.h"

void main()
{
    InitLCD();
    LCD_Off(); // I'm not sure why this is here, but it was like this in the demo code
    LCD_On();
    LCDWriteString(0, 0, "Hello World!", 0);

    while(1);
}

Hey, thanks.This is exactly what I need. I didn't have time to check this but I will, soon.
I'm open to new sugestions, maybe a little program using the touchscreen feature.Say, press somwhere in the middle of the screen and a message will be displayed.
That would be very very usefull for me.
Or if someone very bored,would like to comment more detailed the demo program, so I and everybody else,would understand it better, would also be nice.

Thanks to all.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For AVR LCD nice tutorial that helped me greatly runs here..
http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/
Cheers

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
rgvgouda wrote:
I am uploading Beginner's Quick Start Guide for WinAVR programming on ATMEGA128. Hope it will help to get started...

- Gurulingesh

Thanks a lot for sharing :D

I'm a newbie in ATmega128 :). I'll read and learn more about this :)

ArcticSoul
Industrial Electronic Engineering, College Student

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear,

QuickStartGuide.pdf is not working..Please reactivate it to download.

Kudrot

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i have a board with a atmega128 and a isp the parameters inside must reprogramed with my name.... and other is it possible to read the atmega128 out and saved on pc then open te file and reprogramed and then back to the atmega there is a serial and a call that was programmed to my friend now i buy the stuff of hime ans will my own name there in
sorry i'm now here and in the avr best grtzzz
alain

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Koshchi wrote:

...

#include 
#include "lcd.h"

void main()
{
    InitLCD();
    LCD_Off(); // I'm not sure why this is here, but it was like this in the demo code
    LCD_On();
    LCDWriteString(0, 0, "Hello World!", 0);

    while(1);
}

This block of code after initiallizing the LCD "InitLCD();" turns the device off. Prior to turning the device on to insure everthing on the display is clear and that the program and device are in sync.

Standard practice.

Hope This Helps!

Bill