THE MON PROGRAM:

When you run mon, it will try to download to your board.  If you don't
know what this means, don't worry: it will tell you.

Once you're in mon, you can do the following:

read <address>           reads address
write <address>          writes address
write_eeprom <address>   programs eeprom address
config <data>            sets config register to <data>

Note that address and data are in hex.  (If you'd rather use decimal,
you can type 0d######, or binary is 0b#######).


THE CONFIG REGISTER:

The config register tells the 6811 things like whether to have its ROM
and EEPROM enabled.  If it is configured incorrectly, your 6811 won't
really get programmed when you download pcode to it.

How do you tell if your config is messed up?  Look at location 103f:

mon> read 103f
103F: 0C
mon>

103f is where the config register lives.  0C is the right value when
you are using IC.  If it's not 0C, you'll need to change it.  You
can't just change it by using "write" or "write_eeprom" -- you have to
use the special "config" command:

mon> config 0c

(Note that read 103f will -not- return the new value you stuck in; the
old value stays until you press reset).

Now power-cycle your board and try re-downloading.

-randy

