Debugging the real hardware with ddd

start avrarice:
avarice --jtag /dev/ttyS0 :4242 --part=atmega128  -B125KHz

Attention: The B125KHz is neccessary because my stk500 runs
so slow that the default speed on gdb is to high! If
you see some disconnections with E01 error this could be
the reason.

ddd --debugger avr-gdb

Enter the following 3 lines to ddd/gdb
file timer.go
target remote localhost:4242
graph display `x /1xh 0x80004c`

Attention: Remember that gdb looks for ram at 800000 offset
eeprom could be found from 810000! All "normal" address regions
are definitly flash and nothing else!

Now you can step or run through the code and look
for the counter of timer 1 in the displayed window.


