This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What does Debug->Reset CPU actually do?



Is there a list of the actions taken when you select Debug->Reset CPU? For example, peripheral registers cleared, etc.? Does it change based on target (I am working with C6747)?

  • I think for resetting peripherals, you need to do a System Reset. And what the System Reset does will vary with the target.

    Thanks

    ki

  • TimHarron said:
    Is there a list of the actions taken when you select Debug->Reset CPU? For example, peripheral registers cleared, etc.? Does it change based on target (I am working with C6747)?

    I can't answer for your target, but as an example: on 28x devices a debugger reset will reset peripherals, core registers, most everything except for some of the clocking registers - like the PLL setup.

    -Lori

  • Ki,

    I agree, but I am more curious about what the CPU->Reset CPU actually does rather than "is this good enough." I am sure I have seen it modify the contents of some memory and/or registers, but I have no clue as to how extensive it is.

  • Lori Heustess said:
    I can't answer for your target, but as an example: on 28x devices a debugger reset will reset peripherals, core registers, most everything except for some of the clocking registers - like the PLL setup.

    Thanks Lori,

    This is what I am looking for. I am fairly sure that C6000 targets do something similar, but was hoping for some help narrowing down what specifically is modified.

  • Make sure to check the GEL file to see what is being done in the OnReset() callback

     

    John