time() function holds on software breakpoint

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

time() function holds on software breakpoint

ソリューションへジャンプ
1,153件の閲覧回数
Freddy_
Contributor I

Hello,

I'm using a MIMXRT1170 EVK Board and a Segger JLINK debugger. I've imported some COTS code that makes use of the time() function. 

The issue is that the software holds during the execution of the time() function on some software breakpoint (bkpt 0xAB).

My question is how does the time() function actually gets the time ? Why does the software hold on that breakpoint ?

0 件の賞賛
返信
1 解決策
1,115件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Freddy_,

I wouldn't be able to tell you with certainty how the time() function works, as it is not part of the API functions we provide on our SDK. Further inspections would have to be done on the code you imported, but I would expect it to use the RTC module. As to why the software holds on that breakpoint, it would depend on the implementation of the code that you are using.

BR,
Edwin.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,116件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Freddy_,

I wouldn't be able to tell you with certainty how the time() function works, as it is not part of the API functions we provide on our SDK. Further inspections would have to be done on the code you imported, but I would expect it to use the RTC module. As to why the software holds on that breakpoint, it would depend on the implementation of the code that you are using.

BR,
Edwin.

0 件の賞賛
返信
1,097件の閲覧回数
Freddy_
Contributor I

Hi,

Thank you for you answer.

Freddy

0 件の賞賛
返信