TC4xx promo banner Banner_Aurix_Competition Banner_AURIX_Security-Solution Banner_AURIX_Safety_Products ShieldBuddy TC275 Banner_AURIX_DevelopmentStudio


+ Reply to Thread
Results 1 to 4 of 4

Thread: SRAM Corruption After Application Reset

  1. #1
    Beginner Beginner mjkinfhtx is on a distinguished road
    Join Date
    Mar 2019
    Posts
    13
    Points
    73.75

    SRAM Corruption After Application Reset

    Hi All,

    Does anyone know how to set the TC275D into a Safe State so that the CSS0, 1 & 2 fields from the RSTCON2 register do not report corrupted SRAM after an Application reset?

    The User Manual says that a '0' for CSS0, 1 or 2 means that 'safe state not achieved prior to last reset'.

    There are a few references to Safe State, but I cannot find a clear link.

  2. #2
    Intermediate Intermediate
    Infineon Employee
    Infineon Employee
    Darren Galpin is on a distinguished road
    Join Date
    May 2020
    Posts
    119
    Points
    2475
    These come from the CPUs and indicate that the problem was that it hasn't correctly flushed before being reset, so something was wrong in the sequence preparing for reset, or you have a RAM problem which prevented this. Can only suggest that you run a debugger, halt before the reset is applied, and step through/interrogate the CPU to find which step isn't completing correctly. I've next to no experience in this area though.....
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner mjkinfhtx is on a distinguished road
    Join Date
    Mar 2019
    Posts
    13
    Points
    73.75
    The reset sequence is definitely not correct. My customer (there own design) is resetting the Aurix by turning off the power to the TLF35584 Watchdog via a combination of the Ignition signal and an Aurix GPIO!

    I was interested is knowing if it's possible to force the CPU Cores in a safe state, but I guess that this is what the System / Application reset is for.

    Alternatively, maybe there is way to reset the CSSn flags after the restart?

    I'm still unsure why the flags are set in the first place, as this is supposed to be Cold Start.

  4. #4
    Intermediate Intermediate
    Infineon Employee
    Infineon Employee
    Darren Galpin is on a distinguished road
    Join Date
    May 2020
    Posts
    119
    Points
    2475
    The CSSn bits are defined as rh, and there is no clear for them in another register, so no, I don't believe that they can be cleared without clearing the original issue and doing a reset. If it was due to an SRAM corruption, cleaning the SRAM and hitting reset should solve the problem.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.