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.

TMS320F280025C: Is it possible to use VCRC during the boot process?

Part Number: TMS320F280025C
Other Parts Discussed in Thread: TMS320F280025

Hello support team,

I was able to perform the CRC calculation for the flash area by referring to led_ex1_blinky.c on one of your forum pages "TMS320F280025: HW CRC programming or code".
I also calculated the CRC value by comparing VCRC with the CRC value calculated by linker and was able to confirm that the results matched.

In led_ex1_blinky.c, I understand that the function vcrc_check() for VCRC calculation is allocated to the flash area, but I would like to know whether I could assign the vcrc_check() to the Boot area and calculate the CRC at boot time, just in case the flash is already corrupted at boot time.

However, I am not sure how to do this process.

Is it possible to incorporate the VCRC calculation into the boot process?
If it is , I would like to know how to do this.

Regards,

Hayao

  • Hayao,

    We do not have a method to enable the Boot ROM to run a CRC check on the flash during the boot process on this device. What I suggest is to ensure the flash code does not disable the WD and put the CRC check as early as possible in your code. If something happens during code execution that doesn't allow the CRC check code to execute properly, either an ECC error on a flash read will occur or the WD will reset the device to try again. So, while we don't have a CRC check as a boot option, there are some other protections that will notify you of an error during boot.

    Regards,

    Dave Foley