I am trying to code on TM4C123GH6PM for the first time on keil. I have installed the necessary package from 'Pack Installer' but I am now facing two issues. I dont have a board, but what i expect is to see a led glowing on PF3 pin of PORTF.
This is my code:
#define SYSCTL_RCGCGPIO_R (*(( volatile unsigned long *)0x400FE608 ) )#define GPIO_PORTF_DATA_R (*(( volatile unsigned long *)0x40025038 ) ) #define GPIO_PORTF_DIR_R (*(( volatile unsigned long *)0x40025400 ) ) #define GPIO_PORTF_DEN_R (*(( volatile unsigned long *)0x4002551C ) )
int main ( void ){SYSCTL_RCGCGPIO_R |= 0x20; // Enable clock for PORTFGPIO_PORTF_DEN_R = 0x0E; // Enable PORTF Pin1, 2 and 3 as a digital pinsGPIO_PORTF_DIR_R = 0x0E; // Configure ORTF Pin1, 2 and 3 digital output pins while (1) { GPIO_PORTF_DATA_R |= 0x02; // turn on red LED }}
Here are the pop up that i get everytime i try to debug:
This is on my build output screen:
I dont have a ULINK2 and nothing is plugged into my USB ports.
Please help
You configure your project to use the simulator instead of trying to find an external hardware target.
The manuals are all available online: https://www.keil.com/support/man_arm.htm
Specifically: https://www.keil.com/support/man/docs/uv4/uv4_dg_debug.htm