lunix1337 wrote:
> However, I can not seem to make the divisor value stick in the
> register. When I write to 25 to register 0xE80000EC (using a volatile
> short pointer), then read it back, the returned value is 0.
Well in trying to reproduce your problem I've unearthed what appears to
be a bug in peekpoke, namely that 16-bit writes are really 8-bit. You
can verify this is what is happening by writing something like 0x1234.
If you read back 0x1212 (or 0x12 even) then the write was really 8-bit.
Are you compiling your program with "-mcpu=arm9" ?
______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM.com)
|| (480) 16610 East Laser Drive #10
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddedarm.com/~michael
------------------------------------
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/
|