BOOTSTS(bootstatus)引导历史状态寄存器以下是UG570对该寄存器的描述Boothistorystatusregister,ItcanonlyberesetbyPOR(Power-OnReset),assertingPROGRAM_B,orissuingaJPROGRAMinstruction.AtEOSoranerrorcondition,status(_0)isshiftedtostatus(_1),andstatus(_0)isupdatedwiththecurrentstatus。Thedefaultpower-upstateforallfieldsintheBOOTSTSregisteris0,indicatingnoerror,fallback,orvalidconfigurationdetected.Afterconfiguration,a1inanybitindicatesanerrorcase,fallback,orcompletedconfigurationhasbeendetected.
大概意思是说引导历史状态寄存器(BOOTSTS),只有在以下三种情况下会复位,包括上电复位(POR),PROGRAM_B信号有效(被拉低),以及发出JPROGRAM指令。言外之意就是Fallback以及internalPROGRAM(IPROG)command都不会复位BOOTSTS寄存器。在配置启动结束(EndOfconfigurationStartup),或者配置时发生了错误,状态寄存器后缀为_0的值会给后缀为_1的状态寄存器,同时状态寄存器后缀为_0的会保持当前状态。复位后BOOTSTS的值为0,只有配置后,BOOTSTS的值才会变化。
BOOTSTS寄存器地址为10110。BOOTSTS寄存器各bit的定义如下