#define GPIO_BASE (0x2320000) #define GPIO_DIR_OFFSET (0x10) #define GPIO_SETDATA_OFFSET (0x18) #define GPIO_CLEARDATA_OFFSET (0x1C) void testfunc(); void testfunc() { while (1) { asm(" IDLE"); } } void main(void) { volatile uint32_t *reg_val; reg_val = (volatile uint32_t *)(GPIO_BASE + GPIO_DIR_OFFSET); // configure as output pin -- write 0 to the Direction register *reg_val &= ~ (1 << 8); reg_val = (volatile uint32_t *) (GPIO_BASE + GPIO_SETDATA_OFFSET); // Write value 1 in the set data register, so that Out data register will be 1 *reg_val |= (1 << 8); testfunc(); // After the UART boot, connect to CCS, open the memory browser window and give address 0x02320000 // The value of 0x02320014 will be set as 00000100. // By this way... you can set some register values........and you can confirm that, your UART boot is successful.... :- ) }