This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[DS-5] Accessing VE RTSM peripherals

Note: This was originally posted on 17th September 2012 at http://forums.arm.com

I've downloaded an evaluation version of the DS-5 IDE to start learning some assembly, but I keep having problems trying to access peripherals.

For instance, I've tried accessing the timer0 control field using:
ldr r0, =0x1C110000 @ defined in DUI0575D VE RTSM model memory map
control .req r1
ldrb control, [r0, #8] @ load Timer1Control byte with offset 8, as defined in DDI0271


Yet I'm always presented with a Data Abort Exception.
I've tried to access the UART0 Line Control Register as well:
ldr r0, =0x1c090000
ldr r2, [r0, #0x02c]


Unfortunately I get a Data Abort Exception once again.
What am I doing wrong?

Thanks
Parents Reply Children
No data