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!
What debug probe are you using?
I try to programing ESP32 connect and upload with Cortex M0 (using SWD protocol). The host is ESP32 and target is Samb11.
DHuynh said:ESP32 connect
not familiar with that.
Have you tried asking on a forum relevant to that?
Have you tried with a "conventional" debug probe?