[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] avr-as and debugging symbols

From: Neil Johnson
Subject: Re: [avr-gcc-list] avr-as and debugging symbols
Date: Mon, 30 Jun 2003 17:34:21 +0100 (BST)

Mark and all,

Sounds like a worthy effort.

One sugestion (since you asked) is in simulating hardware/IO using
user-written functions.  I've used such schemes in the past, and its
amazing what you can do if you have a full C environment to write hardware
simulators in.

My initial thoughts would be some sort of dynamic library that you can
load in at runtime (perhaps from the command line) that attaches itself to
various "pins" of the simulated processor.  For simple simulations this is
probably about as far as you need to go.

Now extend that, and open a socket to another application, perhaps
simulating a user interface.  You can use the socket to pass data between
the GUI or sensor or whatever (and if you're really keen you could
interface to the real world) and the processor.

And using sockets, the hardware simulation does not have to be on the same
machine as the debugger/processor simulator....


Neil Johnson :: Computer Laboratory :: University of Cambridge ::
http://www.njohnson.co.uk          http://www.cl.cam.ac.uk/~nej22
----  IEE Cambridge Branch: http://www.iee-cambridge.org.uk  ----

reply via email to

[Prev in Thread] Current Thread [Next in Thread]