[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [bug #40586] example/feedback does not work
From: |
Markus Hitter |
Subject: |
[Simulavr-devel] [bug #40586] example/feedback does not work |
Date: |
Fri, 15 Nov 2013 23:32:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 |
Follow-up Comment #4, bug #40586 (project simulavr):
Well, code in atmega128.cpp isn't involved here, other than by defining seven
I/O ports. The next step back in the backtrace (see below) is rwmem.h, which
is a C++ template and as such beyond my C++ skills. I can only guess how the
pieces fall together. The code tries to set single pins to values lie 'A' or
'F' which somehow makes me feel like there's something seriously confused.
The backtrace:
Breakpoint 1, HWPort::SetPin (this=0x15cd6f0, val=68 'D') at hwport.cpp:159
159 void HWPort::SetPin(unsigned char val) {
(gdb) bt
#0 HWPort::SetPin (this=0x15cd6f0, val=68 'D') at hwport.cpp:159
#1 0x000000000045533d in IOReg<HWPort>::set (this=<optimized out>,
val=<optimized out>) at rwmem.h:273
#2 0x0000000000478fa6 in RWMemoryMember::operator= (this=0x15cda48, val=68
'D') at rwmem.cpp:69
#3 0x00000000004332d4 in AvrDevice::SetIOReg (this=<optimized out>,
addr=<optimized out>, val=<optimized out>)
at avrdevice.cpp:451
#4 0x000000000043a6c1 in avr_op_OUT::operator() (this=0x6c37e0) at
decoder.cpp:1178
#5 0x0000000000433e9f in AvrDevice::Step (this=0x6bc790,
address@hidden: false,
nextStepIn_ns=0x7fffffffd998) at avrdevice.cpp:331
#6 0x000000000048071f in SystemClock::Step (address@hidden
<SystemClock::Instance()::obj>,
address@hidden: false) at systemclock.cpp:154
#7 0x0000000000480910 in SystemClock::Endless (this=0x6b9420
<SystemClock::Instance()::obj>) at systemclock.cpp:217
#8 0x0000000000406a42 in main (argc=<optimized out>, argv=<optimized out>) at
cmd/main.cpp:454
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?40586>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/
- [Simulavr-devel] [bug #40586] example/feedback does not work, Markus Hitter, 2013/11/14
- [Simulavr-devel] [bug #40586] example/feedback does not work, Michael Hennebry, 2013/11/15
- [Simulavr-devel] [bug #40586] example/feedback does not work, Markus Hitter, 2013/11/15
- [Simulavr-devel] [bug #40586] example/feedback does not work, Michael Hennebry, 2013/11/15
- [Simulavr-devel] [bug #40586] example/feedback does not work,
Markus Hitter <=
- [Simulavr-devel] [bug #40586] example/feedback does not work, Michael Hennebry, 2013/11/16
- [Simulavr-devel] [bug #40586] example/feedback does not work, Michael Hennebry, 2013/11/16
- [Simulavr-devel] [bug #40586] example/feedback does not work, Thomas K., 2013/11/17
- [Simulavr-devel] [bug #40586] example/feedback does not work, Markus Hitter, 2013/11/17
- Re: [Simulavr-devel] [bug #40586] example/feedback does not work, ThomasK, 2013/11/17