6 \ to see kernel options, download FastForthSpecs.f
7 \ FastForth kernel options: MSP430ASSEMBLER, CONDCOMP, SD_CARD_LOADER, BOOTLOADER
10 \ MSP_EXP430FR5739 MSP_EXP430FR5969 MSP_EXP430FR5994 MSP_EXP430FR6989
11 \ MSP_EXP430FR4133 MSP_EXP430FR2433 MSP_EXP430FR2355 CHIPSTICK_FR2433
13 \ SYSRSTIV decimal/hex values for MSP430FR5994 (device specific)
14 \ ----------------------------------------------------------
15 \ #00 $00 No interrupt pending
16 \ #02 $02 Brownout (BOR)
17 \ #04 $04 RSTIFG RST/NMI (BOR)
18 \ #06 $06 PMMSWBOR software BOR (BOR)
19 \ #08 $08 LPMx.5 wake up (BOR)
20 \ #10 $0A violation memory protected areas (BOR)
22 \ #14 $0E SVSHIFG SVSH event (BOR)
25 \ #20 $14 PMMSWPOR software POR (POR)
26 \ #22 $16 WDTIFG watchdog timeout (PUC)
27 \ #24 $18 WDTPW password violation (PUC)
28 \ #26 $1A FRCTLPW password violation (PUC)
29 \ #28 $1C Uncorrectable FRAM bit error detection (PUC)
30 \ #30 $1E Peripheral area fetch (PUC)
31 \ #32 $20 PMMPW PMM password violation (PUC)
32 \ #34 $22 MPUPW MPU password violation (PUC)
33 \ #36 $24 CSPW CS password violation (PUC)
34 \ #38 $26 MPUSEGIPIFG encapsulated IP memory segment violation (PUC)
35 \ #40 $28 MPUSEGIIFG information memory segment violation (PUC)
36 \ #42 $2A MPUSEG1IFG segment 1 memory violation (PUC)
37 \ #44 $2C MPUSEG2IFG segment 2 memory violation (PUC)
38 \ #46 $2E MPUSEG3IFG segment 3 memory violation (PUC)
44 \ SYSRSTIV values added by FAST FORTH
45 \ -----------------------------------
46 \ 05 reset after compilation of FAST FORTH kernel
47 \ -1 hardware DEEP RESET: restores state of the lastest FastForth flashed
51 \ Origin of reset is kept in SYSRSTIV register. Their values are device specific.
52 \ WARM displays the content of SYSRSTIV register.
53 \ When BOOT.4TH is called by the FastForth bootstrap, the SYSRSTIV value is on
54 \ the paramater stack, ready to test
56 \ --------------------------------------------------------------------------------
58 \ --------------------------------------------------------------------------------
59 \ it is not recommended to compile then execute a word to perform the bootstrap
60 \ because the risk of crushing thereafter. Interpreting mode as below is required:
61 \ --------------------------------------------------------------------------------
80 $04 = [IF] \ if origin of SYSRST is <reset>