In the "TMS320C28x Optimizing C/C++ Compiler v5.0.0 User's Guide" on page 82 you see:
Type | Size | Representation | Minimum | Maximum |
pointers | 32 bits | Binary | 0 | 0xFFFF |
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In the "TMS320C28x Optimizing C/C++ Compiler v5.0.0 User's Guide" on page 82 you see:
Type | Size | Representation | Minimum | Maximum |
pointers | 32 bits | Binary | 0 | 0xFFFF |
Peter,
The typo is actually the size of the pointer on p.82 of SPRU514C. The correct entry is:
TYPE SIZE REPRESENTATION MINIMUM MAXIMUM
pointers 16 bits Binary 0 0xFFFF
far pointers 22 bits Binary 0 0x3FFFFF
"Pointers" is referring to small memory model. That is seldom used, and not supported by the C2000 applications team in Houston. It assumes all data fits on a single 64Kw page. It saves some code size, since the pointers only need to be 16 bits. But again, it really should not be used. Everyone uses large memory model, meaning "far pointers." At the present time, there are no C28x devices with memory above 22 bits reach, which is why far pointers are 22 bits wide.
Regards,
David
P.S. Please submit a errata for the user's guide!