We use Code Composer 4.02, but this problem is general. If I allocate a memory array that for some reason ends up crossing a 64K boundary, the memset() function bombs the wraparound part of the memory segment. I am using LARG memory model. If I write the code using a "for" loop, then it works fine.
Looking inside the string.h I find the memset function as an inline function. It looks OK.
If I then open an assembler window and analyze the generated code, I se:
MOV T0,*AR3+
but I expected something like:
MOV T0,*XAR3+
PS: We use a 5509A DSP, with external memory.