We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I try to use SWD protocol connect with ARM Cortex-M0.
The first step I read IDCODE register:
I can read it. IDCODE=0x0BB11477.
The second step I set CDBGRSTREQ and CDBGRSTACK (bits 28 and 29) in the CTRL/STAT (address 0x4) register of the DP.
But when I try to read IDR register, it's only answer 0x00. The right answer is 0x04770021. I don't know what I'm missing?!
Please help me fix its!! Thanks you very much!