The memory is accessed 32 bits but I know of no other way, than using AMBA protocol signals(single register read/write). My hardware peripheral has registers and offsets which are memory mapped in processor space.
Can I make my C program use memory mapped peripheral as storage locations?
What happens if I do as below?
int * x; // What if I make it volatile int ?
x=0x1234567 //Actual Address of AHB or APB peripheral.
So if I do x[]={10,20,30,40} can all these 4 values be written to my peripheral where I declare Reg A,B,C and D with offsets of 4 bytes between them?
Also if it does happen what would be the sequence of hardware signals??
Any replies specific to Cortex M1 would be very much helpful.
This post has been edited by GaneshK: 14 August 2011 - 04:45 PM















