I am trying to run a program on OMAP4430 on ARM cortexA9 core (using CCSv5.1.0 on Windows platform) which consists of 4 byte(32bit) loads and stores. While running on the board its giving problem as "No source available". For example,i want to do 4byte load.
unsigned short *ptr; //Let us say ptr is 0x80000000
unsigned int val;
val = *((unsigned int *)ptr); // this is giving above problem.
---------------------------------------------------------------------------------
But if i try to load 1 byte there is absolutely no problem.i.e
unsigned short *ptr; //Let us say ptr is 0x80000000
unsigned short val;
val = *(ptr); // this is giving no problem.
--------------------------------------------------------------------------
whether ARM cortex-9 doesn't support 4 byte load/store or does it need any compiler settings or is it an alignment issue....?????
-Studinstru