I'm using an stm32f1 and scb_reset_system() works for me when called from
an isr. Writing to the register doesn't reset immediately, that's why there
is while 1 after it.
On Jan 26, 2014 3:18 AM, "Michael Smith" <[email protected]> wrote:

> On 25 Jan 2014, at 11:05 pm, Chuck McManis <[email protected]>
> wrote:
>
> > Wow, what a funny bit of twisty little passages. Who knew there wasn't a
> "standard" way to do a software reset on an ARM chip? That seems like such
> a glaring error.
>
> You, ah, haven’t worked with many ARM designs now, have you? 8) They are
> characterised by the most remarkable cleverness cheek to jowl with a
> healthy dose of WTF.
>
> Although, to be fair, the architecture does say that SYSRESETREQ should
> reset the chip - it just stops short of requiring the implementer to
> actually do it.
>
> (And anything marked “UNPREDICTABLE” in the architecture can safely be
> assumed not to do anything useful or sensible in an actual implementation,
> because SoC vendors are like that...)
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> libopencm3-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libopencm3-devel
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
libopencm3-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to