cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Memory Signature Calculation on STM32MP257F-FK Discovery Board

Aks
Associate III

Hello,

We are working with the STM32MP257F-FK Discovery board and are facing an issue while calculating the signature of a memory region.

We are following the recommended sequence for initiating the signature computation. The CRCEOC flag is being set as expected, indicating that the operation has completed. However, the resulting CRC value in the corresponding register remains 0x00 instead of the expected signature.

Could you please help us understand why the CRC result is not being populated and advise if there are any additional steps or configuration requirements specific to this device?

Below is the exact sequence we followed, as documented:

  1. Write 0x0 to CRCC[1:0] in RAMCFG_xCCR1 to deactivate the CRC.

  2. Write 1 to SRAMHWERDIS in RAMCFG_xCR to disable hardware erase.

  3. Select the buffer size for the CRC computation by configuring CRCBS[2:0] in RAMCFG_xCCR1.

  4. Write 0x1 to CRCC[1:0] in RAMCFG_xCCR1 to activate the CRC.

  5. Write 1 to CRCCS in RAMCFG_xCCR2 to start the CRC computation.

As per the reference manual, the calculated signature should be available in RAMCFG_xCCSR when CRCEOC is set in RAMCFG_xCSR, but we are consistently reading 0x00.

Thank you .

Kind regards,
Akshitha Pattem

0 REPLIES 0