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.

AM6548: Hyperbus supports inline CRC

Part Number: AM6548

Hi,

does AM6548 or DRA80M support inline CRC on hyperbus when XIP is used on hyperflash?

Is this the MCRC that drives the CRC even for hyperflash XIP?

Many thanks,

Thorsten

  • Hi Thorsten,

    Yes. XiP allows support for 7-bit ECC plus a single parity bit. Hyperbus must use the S0 path, which has the FSAS block, including ECC and OTFA.

    "The Flash Security Authentication and Safety (FSAS) block consists of OTFA (On the Fly Authentication) and ECC (Error Correction Code) sub-blocks. The OTFA module performs encryption/decryption and authentication. It supports four programmable regions for encryption and authentication. The FSAS module enables secure boot using XIP mode to external flash memory device (Quad SPI, Octal SPI, and HyperFlash) with optional ECC, encryption/decryption, and authentication. The FSAS module can be used for either Octal SPI 0 or Hyperbus interface."

    Refer to AM65x TRM section 12.3.1.4.2 ECC Support

    For the S0 path when the OTFA and ECC modules are used:
    OTFA - The output from the OTFA module includes 32-byte data block and 4-byte MAC (Message Authentication Code)
    ECC module generates ECC codes for the 32-byte data block

    Section 12.3.1.4.2.1 ECC Calculation adds that the 79-bit portion uses a standard 7-bit ECC calculation plus a parity bit (8-bit value).

    Table 12-4777. FSS Modes mode 4 specifies support for XiP with ECC and OTF Encryption supported.

    This is covered in the AM6x Flash Subsystem (FSS) Overview: training.ti.com/am6x-fss-overview

    Is this the information you were seeking?

    Hope this helps,
    Mark
  • Hi Mark,

    this is exactly what I was looking for. Many thanks. 

    Regards, 

    Thorsten