Other Parts Discussed in Thread: AM3358
Hi,
I am seeing a data abort exception when I add a class to my USB driver on AM3358. The platform is WinCE 7 and I know this is not supported by TI but I am looking for generic guidnace/information about the processor so would appreciate any pointers.
The exception occurs only if I declare array of type wchar name[NUM_OF_ELEMENTS] and NUM_OF_ELEMENTS > 4.
If I restrict NUM_OF_ELEMENTS to 4, everything works fine.
If I declare this array a static, that is fine too.
Regardless of it being static or size, if I use the same class in anotehr driver, that is fine too.
So what could be special about USB driver that I should see this issue? I know some LPC ARM cores internally had 'aliasing' of USB RAM with SDRAM and would silently behind the scenes mirror data on both and because of the MMU led to unpredictable behaviours.
I wonder if there is anything like on AM3358 too? This is obviously pure speculation.
Main point is that why is the memory allocation going wrong (believing data abort is occurring due to memory allocation issues).
Any pointers please?
Thanks,
Samie