home |
summary |
tags |
heads |
shortlog | log |
commit |
commitdiff |
tree
| first ⋅ prev ⋅ next
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>
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>
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>
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>
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>
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>
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>
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>
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>
Initial Commit
Signed-off-by: Michel Pollet <buserror@gmail.com>