Hi
Im using a Stellaris Launchpad LM4f120XL (now Tiva c), eval kit and trying to configure the PLL
when simulating the code in IAR using the built in simulator it runs perfectly however when i download it to the board and attempt to run the code, stepping through reveals some interesting behaviour
in the simulator the value 2048 (0x800) is OR'd with 0x80000000 to produce the value seen in R0 the program then proceeds to execute the next instruction as expected
however..
when connected to the launchpad
it adds this strange number to register R0 (which appears to be a combination of the two instruction addresses, then moves the program execution to the location shown below (which subsequently causes the program to stall and become unresponsive)
any ideas whats going on??
the register under consideration is the RCC2 register (0x400FE070)
Thanks