Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

How much of a ... (was Re: Beginner)

2004-10-18 by Graham Davies

--- In AVR-Chat@yahoogroups.com, NGUYEN NGA VIET <vnn_hi@y...> wrote:

> I'm vnn, a beginner in microcontroller
> programming.

You don't say whether you have experience in hosted programming. 
You've received a lot of advice that would be good stuff for a 
complete programming novice, but may not be necessary if you know the 
C language as applied to hosted systems.

> I'm about to program an Atmega 128 ...

Interesting. You're not starting out cheap, then. What development 
platform do you have? The Atmel STK500/501? Something else? Or, do 
you not have hardware yet?

> Could you give me some advices for a beginner ?

I would like to give you some advice, though I should disclose at 
once that I also have something to sell. You would do well to get an 
on-chip debugger going as part of your development environment. This 
will help you find problems in C programs and assembly (I don't know 
about BASIC). If you have experience in hosted systems, you will know 
how valuable it is to watch your variables change as your program 
runs. With microcontroller OCD, you can see the hardware registers 
change as well. The ATmega128 supports OCD via the JTAG interface. 
There are sources of JTAG ICE interfaces that are less expensive than 
the Atmel one. I have just started production of an AVR JTAG ICE 
interface which might meet your needs. Please see 
http://www.ecrostech.com.

Graham.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.