resetOn a stm32
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-11-26 10:09 PM
Posted on November 27, 2008 at 07:09
resetOn a stm32
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:54 AM
Posted on May 17, 2011 at 12:54Could you post some code to demonstrate the software-reset? I tried typedef struct { u32 VECTRESET : 1; u32 VECTCLRACTIVE : 1; u32 SYSRESETREQ : 1; u32 __1 : 5; u32 PRIGROUP : 3; u32 __2 : 4; u32 ENDIANESS : 1; u32 VECTKEY : 16; } SCB_AIRCR_BITS; typedef union { u32 all; SCB_AIRCR_BITS bit; } SCB_AIRCR_REG; #define Scb_test (*(volatile SCB_AIRCR_REG *)0xE000ED0C) then when calling it: Scb_test.bit.VECTRESET = 1; nor Scb_test.bit.SYSRESETREQ =1; work? (sorry for not using code-tags, but when I do my message turns op empty....) [ This message was edited by: niek_ebbers on 27-11-2008 11:16 ]
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:54 AM
Posted on May 17, 2011 at 12:54
have a look at
