Other Parts Discussed in Thread: TM4C123GH6PM
Hello,
I've got the TM4C123GH6PM and I'm struggling with it right now. I have written a program, which works really fine, if the usb cable is plugged into the computer. But I want to power the microcontroller with some batteries. For this purpose, I use an external switch to turn the uC on or off. My goal is that the software automatically starts running as soon as I power the uC. But nothing happens. I see that the power LED is on but the software should also drive some additional LEDs by using GPIO pins. And when plugging it into the computer and debugging the code, the external LEDs light up as expected.
When googling this problem I found that you need a certain startup.c file, which is currently missing in my project. Is there a possibility to get this startup.c file from somewhere?
Thanks!