Skip to main content
zeke.huang
Associate II
June 18, 2019
Solved

Why program loop in the function of irqSysHalt() ?

  • June 18, 2019
  • 3 replies
  • 1120 views

Hi,

The program has been in irqSysHalt at the time of clock initialization, the clock initialization failed, but I don't know why? Has anyone encountered a similar problem?

Program clock init fail:

The figure below is the clock configuration:

    This topic has been closed for replies.
    Best answer by zeke.huang

    Hi, Erwan

    Thank you for your reply.

    The problem has been solved.

    Best regards

    zeke

    3 replies

    Erwan YVIN
    ST Technical Moderator
    June 27, 2019

    Hello ,

    Sorry , i do not see any screenshot.

    your PC (program counter) should show irqSysHalt

    with the debugger you can check LR (Link register)

    check the clocktree in SPC5Studio.

    Best regards

    Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    zeke.huang
    zeke.huangAuthorBest answer
    Associate II
    June 28, 2019

    Hi, Erwan

    Thank you for your reply.

    The problem has been solved.

    Best regards

    zeke

    DKuma.3
    Associate II
    July 26, 2021

    Hi Zeke,

    I have the same problem of irqSysHalt while clock initialization.

    Could you please explain how did you solve the problem.

    Thanks in advance

    Dipak