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.

RTC scratch register

Hi,

We using RTC scratch register in secured c6748.

We managed to read/write this register in nonesecure context, however in secured context read or write to this register cause application to stop executing.

What can be done here?

Thanks

Dani

  • Hi Dani,

    Usually questions on Secured devices will be handled either through local FAEs or through email but not through Forum.

    Not sure whether this register will behave differently in secure devices vs non secure devices.

    Check whether the following post helps you

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/p/305160/1064476.aspx#1064476

    If not, please revert to us.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hi, Shankari

    The above post was helpless for my issue, is there something else that you can point for it?

     

    Thanks.

    Dani. 

  • Hi Dani Vain,

    I have looked in "TMS320C674x/OMAP-L1x Processor Security User's Guide"; There were registers like

    "Hardware Security Controller Registers" but there is no mention about the scratch register.

    Most likely I don't think this will be different for secure Vs Non-secure.

    However, I have forwarded your post to right experts. Hope this will be addressed soon.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Thanks I will wait for your answer.

    I also thought that those registers will be working without any difference, but failed as described in my first post.

    There all kind of protection registers in the secure mode (I used them),  from the documentation its definitely  there is a difference.

    Thanks

  • Hi Dani,

    Can you provide what settingsthat  you are using on the Memory protection registers. Are you trying to access the registers with secure supervisor privileges. If you are trying to access them after boot then you may need to change to secure privileges to access those registers.

    Regards,

    Rahul 

  • Hi 

    Following my configs:

    [MPUCONFIG]
    MPUSELECT = 0x000002ff
    STARTADDR = 0x00000000
    ENDADDR = 0xFFFFFFFF
    MPPAVALUE = 0xFFFFFFFF

    I am trying to access RTC registers just after boot configured to SECUREWITHSK boot mode.

    Thanks.