log for 1828d61a7a1b5751ddc70f93bd16bd9b0d4b2c6e
Commit 1828d61a7a1b5751ddc70f93bd16bd9b0d4b2c6e
author: Michel Pollet [Mon, 14 Dec 2009 20:55:48 +0000 (20:55 +0000)]
Message:
Disable the debugging traces

Added a (Disabled by default) compile flag for the
heavy-duty debugger that helped debug the core. No
longer needed in full builds since 1) it works
2) gdb works for user code..

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 5f2fe2466b5a69ca24dee3a3ca99742f412bf8fc
author: Michel Pollet [Mon, 14 Dec 2009 20:54:27 +0000 (20:54 +0000)]
Message:
Cleanup of the Makefiles

General cleanup, updated comments

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 0bfce45007c162fa3f98f4369f7069f3da372502
author: Michel Pollet [Mon, 7 Dec 2009 19:45:17 +0000 (19:45 +0000)]
Message:
Added a real example on how to integrate simavr, etc

+ OpenGL app loads, runs a firmware and interacts with it.
  See the README in examples/ledramp
+ Updated Makefiles & Readme
  Streamlined the makefiles, so they use the Makefile.common
  rules and so on.  Also updated README to bring it up to date.
+ Adding TWI - work in progress
  Non working implementation skeleton. Defines a "slave" and a "bus"
  And the AVR twi interface that has one of each

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 024a09bbfa3065b99b2e7309dd157987b788c7fd
author: Michel Pollet [Sun, 6 Dec 2009 23:12:23 +0000 (23:12 +0000)]
Message:
Added a typedef for IO addresses

Used to be 8 bits only in the code, but bit megas use 9 bits,
so the new type is uint16_t.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 48920c7ff8859847e7befe65c4d663782f056bd5
author: Michel Pollet [Sun, 6 Dec 2009 10:41:23 +0000 (10:41 +0000)]
Message:
Added tiny13

And macros to declare eeprom with 8 bits address.

Signed-off-by: Jon Escombe <lists@dresco.co.uk>
Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 1898613e4ff3926250bc98e9917fc57b078f48f0
author: Michel Pollet [Fri, 4 Dec 2009 22:27:46 +0000 (22:27 +0000)]
Message:
Many more changes, timed callbacks etc

Now have functions to convert from/to cycles & usecs, use them for
implementing the new "one shot" timer callbacks.
IO modules now use "one shots" to implement "call later" subsystems,
like eeprom, uart, timers and so on.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4acd890a940f5f0cc5a028017aa6b6d3136c33c8
author: Michel Pollet [Thu, 3 Dec 2009 23:56:57 +0000 (23:56 +0000)]
Message:
tiny25/45 cores added

Same method as the mega48/88/168...

Signed-off-by: Jon Escombe <lists@dresco.co.uk>
Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4ebde35337d05315c5170390377ef3a0f9dde53c
author: Michel Pollet [Thu, 3 Dec 2009 23:31:42 +0000 (23:31 +0000)]
Message:
Polished gdb support, etc

GDB handler re-done, removed the thread, removed the pauses,
Now as fast as possible for stepping trhu code.
Note you /need/ the dwarf-2 debug symbols for gdb to work
properly, a simple '-g' will not work.

Also added a mode that starts the gdb server and waits if the
AVR core detects a "crash". Added a piece if test unit to
test just that.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 24c5c6069017010fd7d27eda7585e38b5fff7a4b
committer: Michel Pollet [Wed, 2 Dec 2009 21:52:53 +0000 (21:52 +0000)]
author: Michel Pollet [Wed, 2 Dec 2009 21:50:09 +0000 (21:50 +0000)]
Message:
GDB working, some more source massaging

Big news is gdb support, you can trace, breakpoint,
resume, inspect (including eeprom addresses!).
You can't modify variables on the fly yet.
It's not very fast rignt now, but some very obvious
changes will help that a lot.

Other changes are more moving, shuffling. "simavr"
is gone, replaced by a simple "run_avr" that does
the same, but no longer has any emulation specific
code.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit b2cf6bdf2b6443199a36526915b4486efe3d7b0f
committer: Michel Pollet [Wed, 2 Dec 2009 00:16:45 +0000 (00:16 +0000)]
author: Michel [Wed, 2 Dec 2009 00:02:16 +0000 (00:02 +0000)]
Message:
Build works on Snow Leopard, using Arduino toolchain

Tried the make system on Snow Leopard with a change in the
Makefiles to go and get avr-gcc and such in the Arduino.app
bundle.
Also fixed the .mmcu ELF header to be compatible with x86_64

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 0b698ce0c4148375fba91ab0295e5624067f3cac
author: Michel Pollet [Tue, 1 Dec 2009 21:47:48 +0000 (21:47 +0000)]
Message:
uart, ioports, etc. Many more changes

+ Reorganized source, split simavr.c
+ IRQ support added to IO modules
+ timer8: fixed a bug related to disabling clock
+ uart:
  - Added support for txen/rxen flags
  - Added a receive fifo, and the rx interupt
  - added a "atmega88_uart_echo" test case
+ simavr: hook rx & tx irqs on first uart, for tests

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 6dc37c42aa8c60ee6e41f20718c858e1374dd2c6
author: Michel Pollet [Mon, 30 Nov 2009 21:36:55 +0000 (21:36 +0000)]
Message:
Cores, decoder, uart, ioports - lots of changes

+ Cores now use eeprom declare macro
+ Cores now use the "TXCE" etc bits
+ Uart now raise TXC interupt/flag
+ ioports now use new internal IRQ system
+ New command line options for mcu, freq and trace
+ Decoder updates:
  - Fixed the last known "crash" bug.
  - Added cycles to most multi-cycle opcodes.
  - Added optional stack frame watcher
  - Skip instruction now handle 32 bits skips

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit d8e5774323d5408e119b5fa3cce1c73c7345e8f7
committer: Michel Pollet [Tue, 24 Nov 2009 13:14:03 +0000 (13:14 +0000)]
author: Michel Pollet [Tue, 24 Nov 2009 13:11:54 +0000 (13:11 +0000)]
Message:
Initial Commit

Signed-off-by: Michel Pollet <buserror@gmail.com>