Hi,
I want to use _mem4() intrinsic or related unoptimized c code (*(unsigned int *)(ptr)) for omap4430 Arm 9 processor in CCSv5.1.0 .
(may be i can't use _mem4 for arm , but i can use (*(unsigned int *)(ptr)) in my code to unalligned load and store operation).
I am using CCS v5.1.0.
I checked there is one option in CCS v5.1.0 in Build ->Runtime model option->unaligned Access-> On (for arm processor).
But it is not helpful for me .
I raised same question in omap4430 forum but i didn't get proper answer ,so i think some setting of ccs v5.1.0 will help me.
The scenario is like this :-
#define _mem4(ptr) (*(unsigned int *)(ptr))
Its use is to store/load 32 bit data .
As i mentioned before that am using the address (0x4 series) according to omap TRM only not according to my mind.
So the ptr is having the the value as 0x4 series address (which is according to TRM and can be usable )
As i mentioned some part of code in my previous post :
,i want to do 4byte load.
unsigned short *ptr; //Let us say ptr is 0x4 series address according to TRM
unsigned int val;
val = *((unsigned int *)ptr); // this is giving problem
or
val = _mem4(ptr);
None of the above statement is executing..If I try to execute ,it will show " no source code avaliable ".
I am using the CCS v5.1.0 .I saw one option in CCS v5.1.0 proporties related to unalligned access.
I used this one too but still i am facing the same problem.
Please tell the solution on this.
This is not trelated with normal /basic pointer error.
I think there is some allignment issue ( ARM9 Processor+ ccs V5.1.0 +Windows platform )
-Studinstru