Hi,
I'm Using TIVA TM4C1231H6PZ Controller.
i want to update my firmware by pin-based forced update check.
for that i connected a switch to Pin 48 (PK1) in the controller.
my application is when we switch on the power supply if the switch is in pressed state it should go to bootloader mode.
for this i uncomment the
#define ENABLE_UPDATE_CHECK
in the bl_config.h (C:\ti\TivaWare_C_Series-2.0.1.11577\examples\boards\dk-tm4c123g\boot_serial\ccs)
i have to configure PK1.
i have to replace SYSCTL_RCGC2_GPIOB with SYSCTL_RCGC2_GPIOK in below
#define FORCED_UPDATE_PERIPH SYSCTL_RCGC2_GPIOB
but in hw_sysctl.h i didnt find SYSCTL_RCGC2_GPIOK
//***************************************************************************** // // The following are defines for the bit fields in the SYSCTL_RCGC2 register. // //***************************************************************************** #define SYSCTL_RCGC2_USB0 0x00010000 // USB0 Clock Gating Control #define SYSCTL_RCGC2_UDMA 0x00002000 // Micro-DMA Clock Gating Control #define SYSCTL_RCGC2_GPIOJ 0x00000100 // Port J Clock Gating Control #define SYSCTL_RCGC2_GPIOH 0x00000080 // Port H Clock Gating Control #define SYSCTL_RCGC2_GPIOG 0x00000040 // Port G Clock Gating Control #define SYSCTL_RCGC2_GPIOF 0x00000020 // Port F Clock Gating Control #define SYSCTL_RCGC2_GPIOE 0x00000010 // Port E Clock Gating Control #define SYSCTL_RCGC2_GPIOD 0x00000008 // Port D Clock Gating Control #define SYSCTL_RCGC2_GPIOC 0x00000004 // Port C Clock Gating Control #define SYSCTL_RCGC2_GPIOB 0x00000002 // Port B Clock Gating Control #define SYSCTL_RCGC2_GPIOA 0x00000001 // Port A Clock Gating Control
is there any other way to configure that port, help me to resolve this problem
Thank You.