Newbie Quickstart and Hiccups!!

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Gang,

Got through Smiley's "Quick Start," today but not without a few hiccups. (video link at bottom)

Hiccup list:

1. Soldered AVR TX pin to GND and GND pin to TX.
Details: As I read the book I laughed at Smiley's cautions regarding this connection. "Oh, PLEEEAAASSSEEE" I thought...then, with the Butterfly upside down, proceeded to do just that!

2. No receive from BRAYS terminal.
Details: After switching the GND/TX wires I found that the you cannot enter capital letters in the terminal and you have to have the numeral lock on...or I damaged one of the channels :( It did eventually scroll my name!

3. No 'makefile' on 'Blinky.c'
Details: This is my ignorance regarding the Windows operating system. I struggle moving through all the files sometimes but, can usually stumble across what I need. This time I kept flipping pages back and forth and did not flip back to the one page I needed. Anyway, I could not find the right 'makefile'...I found the template etc and then...under "samples," there it was. I added it and loaded it into AVR Studio 4 and you can see the result on YouTube.

I am digging it very much and hope I can stay motivated when it gets muddy!

Thanks,
John

EDIT: Video removed due to excessive dweebiness

Just some guy

Last Edited: Fri. Jul 27, 2007 - 03:42 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

John,

The makefile is in the Blinky directory along with Blinky.c. It is on the CD and you can also get it from my website.

Hang in there,
Smiley

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

Thanks Smiley,

I was so excited to get rolling that I don't think I even opened all the folders on your CD :oops:

I started reading as soon as the kit arrived and...and well, the old run before you walk scenario. Thinking now about the folders, I am sure it would have been quite easy to find if I had looked! I am on vacation this week and hope to get through as much as I can!

I am happy that I kept working at it instead of jumping right on Freaks for help. The legwork will eventually pay off I hope :D

John

Just some guy

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

Smiley are all files updated to run with the later version of Studio or do you still need the older varsion?

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

js wrote:
Smiley are all files updated to run with the later version of Studio or do you still need the older varsion?

They work with the older version and will not be updated. There really isn't any need to update since everything you need is in the version of the compiler provided with the book, and frankly, if I had to keep up with all the compiler versions and changes, I'd do little else, and be able to heat my house by burning all the obsoleted books.

One can learn C using the book, projects, and provided compiler version, then when knowing the basics of C programming and using WinAVR, they can move on to the latest and greatest version of the compiler.

Smiley

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

Hello,

I opened the disc today again and there is a folder that's labeled PROJECTS and I opened it to find BLINKY and the 'makefile' which...I entered by hand yesterday!

Oh well, my brain has some limitations :lol: I think the processor is 4 bit...a nibble at a time!

BUT, you know what they say,"How do you eat an elephant?"
ANSWER: One bite at a time!!

John

Just some guy

Last Edited: Wed. Jul 25, 2007 - 10:15 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
be able to heat my house by burning all the obsoleted books.
The CD's may give you a bit of a headache if you would burn them :lol:

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly