|
From: | Petr Hluzin |
Subject: | [Simulavr-devel] [bug #26045] Example spi: spsr is read only! |
Date: | Sat, 19 Nov 2011 15:06:53 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0 |
Update of bug #26045 (project simulavr): Status: None => Ready For Test Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: In current source [1] the function HWSpi::SetSPSR() does distinguish between "mega" version of SPI peripheral (which has writable SPI2X bit) and maybe a tiny version (where all bits are read-only). It seems to be fixed by Onno Kortmann in commit [2]. Can you verify the current code works as requested? What argument do you use for `--device'? [1] http://git.savannah.gnu.org/cgit/simulavr.git/tree/src/hwspi.cpp#n106 [2] http://git.savannah.gnu.org/cgit/simulavr.git/commit/?id=8bd0a902d371e2359e96de498e702083927032a9 _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?26045> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |