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.

AWR1642: How to clear HSRAM data to 0 when power up?

Part Number: AWR1642

Hi:

       When we power up the PCB, and read HSRAM data outside via CAN bus, we find that the data in HSRAM seems to be random data. We want HSRAM data to be zero or some constant, so we can guarantee our flags will not be as same as initial data in HSRAM, or it won't work correctly.

       We want to also use HSRAM to transmit message from SBL to Application when operating a WARM RESET.

       The question is: How can we configure our project to make sure HRAM data is zero or constant when POWER UP, and not clear when operating a WARM RESET? Thank you!

  • Hello,

    For HSRAM there is no hardware based memory initialization as other memories (TCMA/B, Mailbox, VIM, DMA etc.) have.[MSS_RCM: MEMINITSTART].

    Other memories are initialized by either bootloader or by the application (soc_init), whereas same is not available for HSRAM.

    So it is now application responsibility to manually initialize this memory using memset or using DMA (copy fixed data).

    As per your requirement, this init should be done at SBL (before switching to main App).

    Here is similar thread- https://e2e.ti.com/support/sensors/f/1023/t/831919

    Regards,

    Jitendra