Software debugging tools for custom micro-controller core

I am looking for a tool chain for a new custom micro-controller. The core has a very basic instruction set and doesn't have to be C- programmable. Still, the software is complicated enough, that we would like to have primitive debug capabilities at least.

Features needed:

-assembler

-linker(possibly)

-source code debugging

-single stepping

-register and memory content display

-breakpoints

-hardware debugging interface

-integratioin of simulator

Are there companies out there that specialize in creating these types of software solutions. The two companies that I have heard of so far are: retarget compilers and isystem. Any comments on these two companies?

Reply to
vlsi4all
Loading thread data ...

Yes, Universities. In a place far far away, long long time ago, we did all those in group projects. Just find a few students to do it.

Reply to
linnix

If I were you, I'd hire somebody to port Gnu binutils and Gdb.

--
Grant Edwards                   grante             Yow!  I joined scientology
                                  at               at a garage sale!!
 Click to see the full signature
Reply to
Grant Edwards

Is the custom microcontroller based on any particular family of processor core? There are Forth systems for many processors. Forth has been used as a bring-up in many a custom hardware situation, even totally new processors.

Included

Not needed

Included

Not really needed but feasible.

Included.

When you are debugging one word at a time the breakpoint is automatically the completion of a word.

Included

Might be a bit trickier but is often possible.

Forth Inc and MPE can probably help out (see their links from my web-site's Forth pages). If you are doing a completely new processor you could build your own Forth on it and grow the system from there, right out to the application.

--
********************************************************************
Paul E. Bennett ....................
 Click to see the full signature
Reply to
Paul E. Bennett

See Cross32 and XDASM on our web site:

formatting link
/xdasm.htm

These are a retargetable assembler and disassembler.

We've written all these, see also:

formatting link
but until we know more about the debug architecture of the CPU we can't say how much work is involved.

Stephen

--
Stephen Pelc, stephenXXX@mpeforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
 Click to see the full signature
Reply to
Stephen Pelc

There is AS assembler, that is open-source

formatting link

and you can also use almost any macro assembler to create object code

Target Source code debug needs a little target HW assistance, what do you have there ? The other tasks are simulator ones, and I think there are also table- Simulators out there.

Lattice Mico8 is also opensource, tho their assembler is pretty basic, (even for an assembler)

What core is this based on / close to ?

-jg

Reply to
-jg

There are many companies that make that sort of tool - IAR, ByteCraft, ImageCraft, Green Hills, and dozens more, that make compiler and debugger suites that target a range of cpus. The trouble is, they will want a large market (or a lot of money up-front, or both) before porting their tools.

As others have pointed out, there are a number of re-targetable toolchains available for you to do the work yourself. And you can always think slightly differently, such as by aiming for Forth rather than traditional C.

You could also turn the problem on its head. Study gcc, and it's internal code representations. Look at some example implementations roughly matching the size of core you are looking for. Then design your core to be a good match for gcc. Similarly with debugging - look at gdb, and make your hardware debugger core a match for gdb's protocols.

Reply to
David Brown

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.