The following boards are supported:
m68hc11-32k | 68HC11 generic board with 32K ram and 32K rom
Prefer this board if you want to use the simulator.
| ||||||
m68hc11-cme11 | Axiom Manufacturing CME11 board with Buffalo monitor
| ||||||
bootstrap | 68HC11 bootstrap mode
| ||||||
eeprom-512 | 68HC11 512 eeprom mode
| ||||||
m68hc11-ebcs
| 68HC11 board with 8K ram (SCz board)
| ||||||
m68hc11-6270
| MIT 6.270 68HC11 board
| ||||||
m68hc12-axcmd12 | Axiom Manufacturing CMD12 board with DBug monitor
|
The board is configured either by specifying it to the command line or by updating the file config/board.def. For the first method, type the following command:
make TARGET_BOARD=board-name
where board-name is the name of the board picked from the table above.
Otherwise, in config/board.def change the line:
TARGET_BOARD=to put the board you selected.
Before launching make you should make sure the GNU Binutils and Gcc executables are in your path. Then, proceed with the following commands:
makeor
make TARGET_BOARD=board-name
This will build the examples in all the sub-directories.
To execute the program, .... you have some choice:
Simulator | m6811-elf-run <prog>.elf or m6811-elf-run -v <prog>.elf |
Gdb Sim | m6811-elf-gdb <prog>.elf (gdb) target sim (gdb) load <prog>.elf (gdb) run |
Gdb Buffalo | m6811-elf-gdb <prog>.elf (CME11) (gdb) set remotebaud 9600 (gdb) target buffalo /dev/ttyS2 (gdb) load <prog>.elf (gdb) run |
Gdb Dbug | m6811-elf-gdb <prog>.elf (CMD12) (gdb) set remotebaud 9600 (gdb) target dbug /dev/ttyS2 (gdb) load <prog>.elf (gdb) run |
Bootstrap | Upload the program (either <prog>.elf, or <prog>.s19) with your favorite target manager. |
Prom | Burn the <prog>.b in some prom. |