在M4手冊內找到 AIRCR 暫存器

mapping的address應該會是在  Application Interrupt and Reset Control Register (SCB->AIRCR, Address0xE000ED0C)

之中,在16-31bitVECTKEY 要打密碼0x5FA

以及, SYSRESETREQ設定為1

重點,他們兩個要同時設定 ,所以為 所以等於0x05FA0004
 

https://dzone.com/articles/how-to-reset-an-arm-cortex-m-with-software

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/Cihehdge.html

https://developer.arm.com/docs/dui0553/b/cortex-m4-peripherals/system-control-block/application-interrupt-and-reset-control-register

http://www.vlsiip.com/arm/

arrow
arrow
    全站熱搜

    JL8051 發表在 痞客邦 留言(0) 人氣()