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.

CCS 3.3 F2812 Hex files

Apologize if the question is related to very old environments. Seeking some understanding:

When I build our code with CCS 3.3 for F812, the intel hex file shows that at address 0x3f77f6 a longword value is generated. As I change the code, this value also changes. I am guessing this is a checksum or CRC of the code. If so what is the algorithm used? Is the implementation available in the library?

If not what is this value?

  • Raja,

    To understand what goes in address 0x3F77F6 refer to map file (this file gets generated when you compile your code correctly). Neither .out file (or) HEX file doesn't program any TI provided (calculated) checksum into flash.

    Regards,
    Manoj
  • See

    processors.wiki.ti.com/.../C2000_Archived_Workshops

    Under F2812, there is a Multi-Day Workshop Student Student Guide pdf:

    "Executing from Flash after Reset
    The F2812 device contains a ROM bootloader that will transfer code execution to the flash after
    reset. When the boot mode selection pins are set for “Jump to Flash” mode, the bootloader will
    branch to the instruction located at address 0x3F7FF6 in the flash. An instruction that branches
    to the beginning of your program needs to be placed at this address. "

    So, what you are seeing is a change in the address that is being "jumped to" from build to build.

    Hopefully, that helps.
  • Todd

    That is perfect. Thanks. I slowly was going to that conclusion but this gives the reference.

    Thanks, srini