read/write on registers

Luca Cinquepalmi cinquepalmi at planetek.it
Tue May 22 10:15:36 UTC 2012


Hi all,

I'm trying to write/read on a register address of a leon2 processor board.
I used the following C code directly executing on board

*volatile uint32_t *address = (volatile uint32_t *)0x00100000;
*address = 0x00300000*

but it doesn't work.
I'm not able to find other solution. Can you help me? thanks

Luca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120522/bfdfdd08/attachment-0001.html>


More information about the users mailing list