time() function holds on software breakpoint

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

time() function holds on software breakpoint

跳至解决方案
554 次查看
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 解答
516 次查看
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 回复数
517 次查看
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 项奖励
回复
498 次查看
Freddy_
Contributor I

Hi,

Thank you for you answer.

Freddy

0 项奖励
回复