xs1 disassembler, assembler, xc-1a/xc-1/xtag jtag tools
Posted: Sun Jul 11, 2010 11:41 pm
Version: 1628
Status: Public release
License: GPL
Download: http://git.infradead.org/users/segher/dis-xs1.git
http://git.infradead.org/users/segher/dis-xs1.git
Licensed under the GPL, version 2.
Current contents:
A full disassembler
An embryonic assembler
Command-line JTAG tools for XC-1A, XC-1, XTAG (or other 2232-based JTAG)
The assembler and disassembler are written in Forth; they are tested with gforth, but should work
with any ISO Forth. If not, please report.
XC-1 support has some shortcomings, to do with the hardware design.
XTAG support was tested with XC-2.
The JTAG tools are written in C. Current tools are:
reset -- do a hard reset, no debug mode (so it starts the rom code);
run -- upload a binary file from stdin to ram, and start it. This is a binary file, no checksum, no nothing;
dump -- write all ram contents to stdout;
dump-rom -- write rom contents to stdout;
regs -- print out all CPU registers on all threads;
term -- a terminal emulator;
pregs -- print out all pswitch regs;
sregs -- print out all sswitch regs;
psregs -- print out all processor status regs.
resources -- print out all resources.
You can use any core on any device in the JTAG chain on any debug adapter;
see --help for the options to use.
Images:
Status: Public release
License: GPL
Download: http://git.infradead.org/users/segher/dis-xs1.git
http://git.infradead.org/users/segher/dis-xs1.git
Licensed under the GPL, version 2.
Current contents:
A full disassembler
An embryonic assembler
Command-line JTAG tools for XC-1A, XC-1, XTAG (or other 2232-based JTAG)
The assembler and disassembler are written in Forth; they are tested with gforth, but should work
with any ISO Forth. If not, please report.
XC-1 support has some shortcomings, to do with the hardware design.
XTAG support was tested with XC-2.
The JTAG tools are written in C. Current tools are:
reset -- do a hard reset, no debug mode (so it starts the rom code);
run -- upload a binary file from stdin to ram, and start it. This is a binary file, no checksum, no nothing;
dump -- write all ram contents to stdout;
dump-rom -- write rom contents to stdout;
regs -- print out all CPU registers on all threads;
term -- a terminal emulator;
pregs -- print out all pswitch regs;
sregs -- print out all sswitch regs;
psregs -- print out all processor status regs.
resources -- print out all resources.
You can use any core on any device in the JTAG chain on any debug adapter;
see --help for the options to use.
Images: