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.

c6472 - possible CSLR errata in cslr_dev.h



I've had some issues trying to access BOOT_COMPLETE_STAT. I believe the issue is in cslr_dev.h, where line 158:

    volatile Uint8 RSVD15[194770];

should actually be:

    volatile Uint8 RSVD15[194766];

because the assembly shows an access 4 bytes too high.

  • Gyles,

    My calculation agrees with you that this value is wrong and would lead to the problems you are seeing. And it demonstrates how errors like this can happen, but not why it was not caught in testing or by anyone else. I also believe that your corrected version is wrong, even though it works because of the compiler's auto-aligning features.

    The right value should be the distance from the address after RSTMUX5 to the address of RESET_STAT, or 0x02AB0000-0x02A80730=0x0002F8D0 = 194768 (dec). Please use this value in your .h file for now.

    This is in the latest release of the C6472 CSL, 03_00_07_01.

    Thank you for pointing this out.

    Regards,
    RandyP

  • Thanks RandyP. I'll use your corrected value.