Other Parts Discussed in Thread: CODECOMPOSER
Hi,
I've had this Stellaris LaunchPad LM4F12 kit for a while, and finally i got around to play with it. I wanted to develop with Keil 'cause I am familiar with the tool. Everything seems to work fine with the IDE itself but when I tried to run a simple RGB led blinker nothing happened.
So I went into debug mode. And noticed that as soon as the mcu jumps to main an interrupt is triggered, and the execution loops in the default interrupt handler. xPSR shows IN = 3, that is HardFault. To eliminate the possibility of being an error in my code I wrote an empty main function:
int main(){}
Same behaviour.
The only code ran before main is the Startup.s (some assembly commands) that i imported from Keil uVision "Software packages" system.
Has anyone had similar issues?
Am I missing some step and thus accidentally triggering the Hard Fault ?
Should I just switch to a different IDE?
Thanks