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.

TMS320C28x User's Guide

 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
 
With 32 bits I expect a maximum value of 0xFFFFFFFF
 
Is this a typo?
 
Best regards
Peter Forstner
  • 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!