Hi,
I'm just starting out with the Tiva TM4C123 launchpad and CCS. I noticed that after I modify my program and start a debug session (which loads the new program), the register values visible in the debugger are the same as they were from the previous run. I expected that loading a new program will reset the target, and thus set all the registers to their reset values described in the datasheet. that is however not the case.
I found and checked the options "reset the target on a program load or restart" and "restart the target on a symbol load as well as a program load". I expected these are exactly what will solve this, but it changed nothing.
this behavior can be a source for bugs - for example, as I fiddle with various initialization commands for a peripheral, I can reach a state where it finally works and I think my code is correct - but it only worked because of a combination of the current code and some previous code runs that modified registers, which never went back to their initial power-on state... running this supposedly good code on a "clean" device (e.g. after power off) will result in incorrect behavior.
so, how can I make all the registers automatically revert to their proper reset values that I see in the datasheet?
thanks,
Guy.