Skip to main content
sdrad
Associate
October 1, 2018
Question

SPC560B jtag debugging

  • October 1, 2018
  • 0 replies
  • 645 views

Hello friends

I am working on a SPC560B50L5 microcontroller and I want to learn debugging it.

According to"AN4035 Application note" I can do a single step by loading appropriate values in CPUSCR registers. I do everything that is mentioned in Document. for example to

read a value from memory with lwz instruction I Enable OnCE, entere Debug Mode

and enable external tool debugging and then put appropriate values in WBBRlow, IR

and CTL , then I perform a Go+NoExit Write

in OCMD. If everything Is OK(that I think is) I should have the read value in

WBBRlow register. But I see no updates in WBBRlow value.

Would you please help me if I’m wrong…

Thanks so much

    This topic has been closed for replies.