I’m trying to get my tiva C EK-TM4C123GXL evaluation board to execute the libopencm3 example provided by PlatformIO. The example code should cycle colors on the onboard RGB LED upon pressing user switch SW2. The board does nothing after upload. Bear in mind, this is my first dive into trying to program a board using C. I have done some previous course work using Code Composer Studio; nothing too involved so, I’m excited to play around with the libopencm3 framework.
Interestingly enough, the energia example works just fine. I used the PIO Unified debugger on the libopencm3 example and it seems that in the file vector.c (part of the cm3 framework), when executing reset_handler(), I cannot step into the call to main() (vector.c:94). Whenever I try to step into main(), the board seems to be in an infinite loop. When I pause execution, the board is stuck executing blocking_handler() (vector.c:103), which indeed is just an infinite loop.
My goal is to get this program to work so I can then step through it and learn what the libopencm3 functions are doing so I can whip up something simple of my own. What are some things that I could do to resolve this? Is there anything else I can provide y’all with to make resolving this easier?
Thanks in advanced!