Searching \ for '[AVR]: Getting started version 4.0' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'Getting started version 4.0'.

Exact match. Not showing close matches.
PICList Thread
'[AVR]: Getting started version 4.0'
2000\11\04@154431 by David VanHorn

I hope this isn't TOO OT for the piclist, but at least it's all about a
microcontroller :)

I have been making available, through Dontronics and now through the AVR
group at, an application for the AVR8515 called "gettting
started". Originally, it was pretty simple. I first wrote it to illustrate
how to set up the chip, and how to use the major on-board peripherals, but
like anything left in the refigerator too long, it's been growing.  It has
a bunch of handy routines for external devices, like R/C servos, LCD and
VFD displays, stepper motors..  Version 4.0 has all that, plus the major
additions below:

Finally, it's done. Version 4.0. I've mailed it to Don @ dontronics, I
don't know how long it will take for him to make it available. It is
available now at the egroups site (

The biggest changes are:

The elimination of the old linear buffers. They've been replaced with
variable length circular buffers. I made them variable length, in
preparation for a dynamic allocation scheme, but I'm not sure at this point
if it's worth implementing. That's part of what I'm exploring for version 5.0

The implementation of a language interpreter, reading commands with
optional parameters from EEPROM. This also means that the program in EEPROM
is alterable, so this is a starting point for a robot or other device that
could "learn". The language only has four commands implemented, but I
didn't want to make it too complicated at first. It is trivially easy to
add your own commands, and they can be simple procedures, or they could
alter the behaviour of other parts of the system. It's entirely up to the
user. Currently implemented commands: Delay (ms), Servo position (servo)
(position), Loop, and Skip (commands to skip) I didn't implement variables,
but adding a few fixed variables would be trivial. I'm looking for a more
flexible scheme that would allow me to allocate variable memory
dynamically, but again, that's something for 5.0

There are many cleanups and improvements in the other routines as well. The
hardware assignments are easier to deal with, and I've pulled in all the
rom and ram allocations to the routines that use them, rather than having
them in "tables.asm" and "equates.asm"

It's still fast, and it uses just over half the rom (as configured) and
less than half the ram (again, as configured) In a real application, you
probably allocate only a small subset of the buffers I have in this demo,
but I wanted to make it visually "busy", so I am using all eight servos
(one is controlled by the interpreted program, one is controlled by the
random generator, and the rest simply ramp), a VFD display (scrolling the
top and bottom lines in opposite directions within the same buffer), and
LCD display with different text, but scrolling similarly, and a "Quick
brown fox" output on the serial port, plus morse code output with
randomized messages.

Given all that, the CPU is still nearly idle :)

Where's dave?

-- hint: The list server can filter out subtopics
(like ads or off topics) for you. See

2000\11\04@212703 by James Newton

face picon face
Far from being off topic, the member ship and admins of the PICList decided
to add this [AVR]: topic tag **** to encourage **** people to post on the
subject of the AVR series processors on this list.

I'd like to post your demo (and any other AVR code) at as a
start on a new AVR FAQ to complement the PIC FAQ and
SX FAQ.... if there is enough interest, I'll start up


James Newton, PICList Admin #3
1-619-652-0593 phone

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...