simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [support #102189] display coprocesses / setting IO-Port


From: nobody
Subject: [Simulavr-devel] [support #102189] display coprocesses / setting IO-Ports
Date: Fri, 03 Oct 2003 13:16:11 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1


Support Request #102189, was updated on Sun 06/08/03 at 02:45
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=102189&group_id=997

Category: features
Status: Open
Priority: 5
Summary: display coprocesses / setting IO-Ports

By: troth
Date: Fri 10/03/03 at 10:16
Logged In: YES 
user_id=4216
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 
Debian/1.0.0-0.woody.1

Did you try the simulavr-disp program? It can be started by

simulavr as such:



simulavr -g -P simulavr-disp -d at90s8515



That will display the IO registers for you (at least the

ones that simulavr supports).



To write to a register from gdb, you need to do something

like this (if remember correctly):



(gdb) set var *(unsigned char *)0x800038 = 0xAA



which would write 0xAA to PORTB.

----------------------------------------------------------------------

By: euphi
Date: Sun 06/08/03 at 02:45
Logged In: YES 
user_id=19814
Browser: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030425

Hi!



Yesterday I played around a while with simulavr, gdb

and ddd.

Simulation of test programs worked fine, but I haven't

found a possibility to read and set I/O ports.



After reading the docs (and exercising USTL), I think I

have to use a display process to show IO-Ports. But

I've seen no way to set them.



1. Is this right?

2. Are there any good display programs out there?







Thanks, Euphi

----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=102189&group_id=997

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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