Hello Guys. I just received my Tiva C Series TM4C123G Dev Board.
Following the video tutorial on youtube I wasn't able to make my led blinking. I understand that the memory map of the Tiva kit is different from the Stellaris one, but I changed the addresses accordingly the datasheet for TM4C123GH6PM. So there the Data Register for Port F is at different address. I changed the pointers to addresses according the datasheet, and yet my RED LED doesn't flash. Here is my code:
int main()
{
*((unsigned int *)0x400FE608U) = 0x20U; //Clock Gating address____allow clock sourcing for port F
*((unsigned int *)0x40025400U) = 0x0EU; //Port Direction____Set port F pins 1,2,3 as outputs
*((unsigned int *)0x400255C1U) = 0x0EU; //Digital Enable___Set port F pins 1,2,3 as digital I/O
*((unsigned int *)0x40025000U) = 0x02U; //Data Register___shuld set the red LED
return 0;
}
The adjustments of my the Debugger are OK since I successfully detected and ran the Board in Debug mode.
Thank you in advance.
