TC275 - memory mapping
Posted: Wed Jan 23, 2019 9:17 am
Hi,
using Erika OS 2.8 and an TC275 I've encountered, that every variable is mapped as a full word, instead of the correct size according to the used integer data type (unsigned char, unsigned short,....). I suspect the linker srcipt to be the problem since the DSPR supports both byte and half-word access, so there souldn't be a problem on that side, but I wasn't able to find a solution.
(I used nm to check the size of the data, using the .elf file as well as the .o files. Results are the same either way)
Anyone got some hints, how to solve this issue?
thanks in advance
Alex
using Erika OS 2.8 and an TC275 I've encountered, that every variable is mapped as a full word, instead of the correct size according to the used integer data type (unsigned char, unsigned short,....). I suspect the linker srcipt to be the problem since the DSPR supports both byte and half-word access, so there souldn't be a problem on that side, but I wasn't able to find a solution.
(I used nm to check the size of the data, using the .elf file as well as the .o files. Results are the same either way)
Anyone got some hints, how to solve this issue?
thanks in advance
Alex