avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] port access with avr-gdb


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] port access with avr-gdb
Date: Sat, 12 Jun 2004 14:19:08 +0200 (MET DST)

As =?ISO-8859-1?Q?S=E9bastien_Taylor?= <address@hidden> wrote:

>Is it possible to access the avr's ports from gdb?

Sure.  Simply remember that they're also memory-mapped, so doing
something like

set *(char *)0x800038 = 42

should write `42' to port B.
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

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