Hi all,
could you please help me with the following: To cause a software reset on AURIX while executing code from CPU0 I am writing a 0 to the WDTCPU0CON0 register. is this correct?
Thank you!
Best regards
B.
#8042000 12003
Hi all,
could you please help me with the following: To cause a software reset on AURIX while executing code from CPU0 I am writing a 0 to the WDTCPU0CON0 register. is this correct?
Thank you!
Best regards
B.
#8042000 12003
Hi Bernie,
While this will cause a reset (depending on what is configured for the RSTCON.SMU, default is an application reset).
Within the RSTCON.SW is a configuration to allow you to configure a Software Reset (default is an application reset).
To issue a software reset, you need to read the SWRSTCON register, maintain the bit values for 15..8 and additionally set the bit SWRSTREQ. When written, this will issue a reset (note: this register is EINIT protected).
After a reset occurs, the user can observe that a SW reset occurred by querying the RSTSTAT register.
Best regards
Christine
Hello Bernie,
You can find a code example project for the triggering reset and detecting the source here: Reset training code example.
this example also comes with a tutorial, which can be found here: SCU Reset tutorial.
If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous other trainings from here: AURIX™ Trainings.
If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!
Hope it helps,
teoBits
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.
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.
Bookmarks