public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1000781] New: incomplete register flag declarations for AT91 SPI status register
@ 2009-05-23 17:01 bugzilla-daemon
2009-05-23 17:13 ` [Bug 1000781] " bugzilla-daemon
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2009-05-23 17:01 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000781
Summary: incomplete register flag declarations for AT91 SPI
status register
Product: eCos
Version: 3.0
Platform: at91sam7xek_256 (AT91SAM7X-EK board with AT91SAM7X256)
OS/Version: ARM
Status: UNCONFIRMED
Severity: minor
Priority: normal
Component: HAL
AssignedTo: jifl@ecoscentric.com
ReportedBy: peter@niebert.com
QAContact: ecos-bugs@ecos.sourceware.org
Class: ---
Peter Niebert <peter@niebert.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag| |Patch_or_Contribution?
Created an attachment (id=740)
--> (http://bugs.ecos.sourceware.org/attachment.cgi?id=740)
the modified file hal/arm/at91/var/current/include/var_io.h
hal/arm/at91/var/current/include/var_io.h lists a certain number of flags of
the SPI status register:
#define AT91_SPI_SR_RDRF 0x00000001 // Receive Data Register Full
#define AT91_SPI_SR_TDRE 0x00000002 // Tx Data Register Empty
#define AT91_SPI_SR_MODF 0x00000004 // Mode Fault Error
#define AT91_SPI_SR_OVRES 0x00000008 // Overrun Error Status
#define AT91_SPI_SR_ENDRX 0x00000010 // End of Receiver Transfer
#define AT91_SPI_SR_ENDTX 0x00000020 // End of Transmitter Transfer
For obcure reasons, the four remaining flags are not declared and should be
added as follows:
#define AT91_SPI_SR_RXBUFF 0x00000040 // RX Buffer Full
#define AT91_SPI_SR_TXBUFE 0x00000080 // TX Buffer Empty
#define AT91_SPI_SR_NSSR 0x00000100 // NSS Rising
#define AT91_SPI_SR_TXEMPTY 0x00000200 // Transmission Registers
Empty
Attached is the modified file hal/arm/at91/var/current/include/var_io.h
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1000781] incomplete register flag declarations for AT91 SPI status register
2009-05-23 17:01 [Bug 1000781] New: incomplete register flag declarations for AT91 SPI status register bugzilla-daemon
@ 2009-05-23 17:13 ` bugzilla-daemon
2009-05-25 13:43 ` bugzilla-daemon
2009-05-25 13:44 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2009-05-23 17:13 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000781
--- Comment #1 from Peter Niebert <peter@niebert.com> 2009-05-23 18:13:09 ---
Created an attachment (id=741)
--> (http://bugs.ecos.sourceware.org/attachment.cgi?id=741)
Extract from an AT91SAM7X documentation for these flags
For you to check my additions, I add a 2 page extract from the AT91SAM7
documentation.
For SAM9 the flags are the same.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1000781] incomplete register flag declarations for AT91 SPI status register
2009-05-23 17:01 [Bug 1000781] New: incomplete register flag declarations for AT91 SPI status register bugzilla-daemon
2009-05-23 17:13 ` [Bug 1000781] " bugzilla-daemon
@ 2009-05-25 13:43 ` bugzilla-daemon
2009-05-25 13:44 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2009-05-25 13:43 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000781
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john@dallaway.org.uk
AssignedTo|jifl@ecoscentric.com |john@dallaway.org.uk
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1000781] incomplete register flag declarations for AT91 SPI status register
2009-05-23 17:01 [Bug 1000781] New: incomplete register flag declarations for AT91 SPI status register bugzilla-daemon
2009-05-23 17:13 ` [Bug 1000781] " bugzilla-daemon
2009-05-25 13:43 ` bugzilla-daemon
@ 2009-05-25 13:44 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2009-05-25 13:44 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000781
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |CURRENTRELEASE
--- Comment #2 from John Dallaway <john@dallaway.org.uk> 2009-05-25 14:44:38 ---
Thank you for the the bug report. I have added the missing SPI status register
definitions.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-25 13:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-23 17:01 [Bug 1000781] New: incomplete register flag declarations for AT91 SPI status register bugzilla-daemon
2009-05-23 17:13 ` [Bug 1000781] " bugzilla-daemon
2009-05-25 13:43 ` bugzilla-daemon
2009-05-25 13:44 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).