XCore RSS Feed

Things to do: Search all projects, Create a project


xs1 disassembler, assembler, xc-1a jtag tools

by segher

  • Status: Public release
  • Downloads: 0
  • Licence: GPL
  • Last updated: 18/Jul/2010 at 03:20 PM
  • Sponsors:
  • Wiki entry: View project wiki entry

No download available

Size: 0kb

No older versions

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!

Verified to run on

Images and diagrams

Rate this project


5
Average: 5 (5 votes)
Your rating: None

Share this project!

Aw, go on...

Twitter Icon Share on Twitter

Twitter Icon Share on Facebook

Twitter Icon Digg this project

Comments / Updates

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.