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.

CRC checks and Memory Fill 0xFFFF

Other Parts Discussed in Thread: TMS320F28065, CONTROLSUITE

Hi support,

my customer need to perform CRC on a specific defined range of Flash addresses using TMS320F28065: how can they do this?

In order to obtain reliable results if in this range they are including unused memory, is it possible to fill automatically to 0xFFFF the Flash memory not used in C2000 products? Do we have specific settings under CCS?

Thanks and regards,

Alberto

  • Alberto,

    Alberto Soattin said:

    my customer need to perform CRC on a specific defined range of Flash addresses using TMS320F28065: how can they do this?

    In order to obtain reliable results if in this range they are including unused memory, is it possible to fill automatically to 0xFFFF the Flash memory not used in C2000 products? Do we have specific settings under CCS?

    The erased state of the flash is 0xFFFF.  So, any flash not used for code or data (or otherwise deliberately filled in the code project) will be left as 0xFFFF by the flash programming tool.

    As to how you can do the CRC, I'm not sure I understand what you're asking.  Wouldn't you just code a CRC algorithm and run it on the specified address range?

    Regards,

    David

  • Alberto,

    Take a look at the CRC examples in controlSUITE. If you have it installed in the default directory, you can find them at:
    C:\ti\controlSUITE\libs\dsp\VCU\v2_10_00_00\examples\crc
    These are for F2837x, but the F2806x has VCU0 so you should be able to apply the code.

    To fill an unused area of memory with a known value you can specify that in the linker command file using "fill". See p.196 of the Assembly Language Tools Guide (SPRU513j).

    I hope this helps.

    Regards,

    Richard
  • Thanks Richard and David. This is helping!
    Best regards,
    Alberto