[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Testsuite (Was: How attached are people ...)
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Testsuite (Was: How attached are people ...) |
Date: |
Tue, 6 Dec 2016 23:56:50 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
As Joerg Wunsch wrote:
> This yields a few new simulation errors:
>
> Simulate: avr/eeprom-1.c attiny2313 ... *** simulate failed: 70
> Simulate: avr/eeprom-2.c attiny2313 ... *** simulate failed: 46
> Simulate: avr/eeprom-3.c attiny2313 ... *** simulate failed: 64
>
> Not sure what's wrong here ...
It's a problem with the simulator. In short, CPU registers are
accessed through their SRAM addresses and X+ addressing, but R27 (XH)
is not initialized so contains semi-random values. For an ATtiny2313,
this doesn't matter as it only implements 8-bit SRAM addressing, but
the simulator thinks SRAM outside the address space is being accessed,
and refuses to load the values.
--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
- [avr-libc-dev] How attached are people to the implementation of rand()/random()?, George Spelvin, 2016/12/06
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, Joerg Wunsch, 2016/12/06
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, George Spelvin, 2016/12/06
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, Georg-Johann Lay, 2016/12/06
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, George Spelvin, 2016/12/06
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, Georg-Johann Lay, 2016/12/06
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, George Spelvin, 2016/12/06
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, Georg-Johann Lay, 2016/12/06
- Re: [avr-libc-dev] Testsuite (Was: How attached are people ...), Joerg Wunsch, 2016/12/06
- Re: [avr-libc-dev] Testsuite (Was: How attached are people ...),
Joerg Wunsch <=
- Re: [avr-libc-dev] Testsuite (Was: How attached are people ...), Georg-Johann Lay, 2016/12/07
- Re: [avr-libc-dev] Testsuite (Was: How attached are people ...), Joerg Wunsch, 2016/12/07
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, Pitchumani Sivanupandi, 2016/12/07
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, George Spelvin, 2016/12/07
- Re: [avr-libc-dev] How attached are people to the implementation of rand()/random()?, Joerg Wunsch, 2016/12/07
- [avr-libc-dev] Testsuite (Was: How attached are people ...), George Spelvin, 2016/12/07
- Re: [avr-libc-dev] Testsuite (Was: How attached are people ...), Joerg Wunsch, 2016/12/07
- Re: [avr-libc-dev] Testsuite (Was: How attached are people ...), George Spelvin, 2016/12/07
- Re: [avr-libc-dev] Testsuite (Was: How attached are people ...), Joerg Wunsch, 2016/12/07