Hi,
I had come to a strange problem.
I had a project that worked ok up to yesterday and yesterday it began working strangely.
The Board is eZspF28335.
After several hours I added these few lines to somewhere in my code:
1: long s2=sizeof(MyProcess); // 1116852 goes to s2;
2: uint16_t *gg=(uint16_t *)&MyProcess; // 0x002000c0 goes to gg; // it is in external RAM
3: gg[0]=34;
4: gg[1024]=56;
5: gg[3]=78;
6: gg[1027]=99;
Now when line 3 executes, both gg[0] and gg[1024] would be 34,
when line 4 executes, both gg[0] and gg[1024] would be 56,
when line 5 executes, both gg[3] and gg[1027] would be 78,
and when line 7 executes, both gg[3] and gg[1027] would be 99,
MyProcess is in external RAM
#pragma DATA_SECTION("ZONE7DATA");
CProcess MyProcess;
Do I have a problem in my hardware , or there might be some other kind of problem?
Thanks a lot,
Behzad