Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6 Forum Discussions

Weeden_ding
Level 2
Level 2
10 questions asked 10 sign-ins 5 questions asked

客户在用双核时dubug CM4核,发现CM0不运行,请问debug时这是正常的吗?如果不正常有可能是哪方面的原因?谢谢

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

打断点就是hold住系统时钟,但是低频时钟还是在跑的,所以说你断点打在CM4的时候,CM0也是不跑的,这个是合理的。

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

M4和M0是从同一路时钟分出来的,如果M4的时钟停掉的话,M0也是不跑的,不确定是不是正确理解了你的疑问。如果理解不正确,你能详细的描述一下你的问题吗?

LinglingG_46_0-1630480313326.png

 

0 Likes
Weeden_ding
Level 2
Level 2
10 questions asked 10 sign-ins 5 questions asked

Hi ,lingling:

    是我没描述清除,我说的debug是 用JLINK在M4核的程序中打断点,此时M4程序停止运行,那MO核程序是应该停止吗?

    另外 ,打断点停止程序运行的 原理是什么?是停时钟吗?谢谢!

0 Likes
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

打断点就是hold住系统时钟,但是低频时钟还是在跑的,所以说你断点打在CM4的时候,CM0也是不跑的,这个是合理的。

0 Likes