To: | |
---|---|
Subject: | [ts-7000] Re: TS-7800 green LED woes |
From: | "craignied" <> |
Date: | Tue, 16 Nov 2010 18:55:16 -0000 |
--- In "Harold" <> wrote: > "start" is a pointer to unsigned int, which is a 4-byte data type. Therefore, > "(start + 0x8)" is the address 0xE8000020. Try this: > volatile unsigned char *start; Wow, thanks. Should I change all of the references to unsigned int, e.g. volatile unsigned char *start, *LED; and cast to unsigned char here start = (unsigned char *)mmap(0, getpagesize(), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0xE8000000); and here? LED = (unsigned char *)(start + 0x8); Thanks super, Craig ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ts-7000/join (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: TS-7800 green LED woes, Harold |
---|---|
Next by Date: | [ts-7000] cross-compilation arm toolchain on linux x86_64 missing library, emmanuel_mayssat |
Previous by Thread: | [ts-7000] Re: TS-7800 green LED woes, Harold |
Next by Thread: | [ts-7000] Re: TS-7800 green LED woes, craignied |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU