Project Overview
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 (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.
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;
- regs -- print out all CPU registers on all threads;
- term -- a minimalistic terminal emulator (needs a bit of work);
- pregs (new) -- print out all pswitch regs;
- sregs (new) -- print out all sswitch regs;
- psregs (new) -- print out all processor status regs.
All tools work on CPU #0 only (the lib can handle all CPUs, but there is no way in the tools to select a CPU yet).
Any questions or comments are more then welcome, of course!
Thanks
Segher, these look great. You might want to post this to the forum too so people notice it - you'll get some more responses.
I'll try to test these in the next few days.