发明名称 Periodic error detection method and periodic error detection circuit
摘要 According to one embodiment, a method for detecting a periodic error, the method detecting a periodic processing error of a module controlled by a processor, the processor controlling a periodic processing by booting a peripheral module, the peripheral module outputting periodic triggers with a predetermined interval includes storing a first count value acquired from a counter, a second count value when the processing is started, and a third count value when the processing is completed, calculating a processing time on a basis of the three count values, and comparing the processing time with the predetermined interval to determine whether the periodic processing error occurs.
申请公布号 US8887004(B2) 申请公布日期 2014.11.11
申请号 US201213419388 申请日期 2012.03.13
申请人 Kabushiki Kaisha Toshiba 发明人 Terayama Tomoyuki
分类号 G06F11/00;G06F11/22 主分类号 G06F11/00
代理机构 Patterson & Sheridan, LLP 代理人 Patterson & Sheridan, LLP
主权项 1. A method for detecting a periodic error, the method detecting a periodic processing error of a module, execution of processing of the module being controlled by a processor, the processor controlling a periodic processing by booting a peripheral module, the peripheral module outputting periodic triggers with a predetermined interval, comprising: storing a first count value in a register included in a capture timer, the first count value being acquired from a counter included in the capture timer by outputting the periodic triggers as a first capture trigger into the capture timer, the counter performing an up-count operation with free-run; storing a second count value in the register, the second count value being acquired from the counter by outputting a second capture trigger into the capture timer when the processing of the module is started; storing a third count value in the register, the third count value being acquired from the counter by outputting a third capture trigger into the capture timer when the processing of the module is completed; reading out the first count value, the second count value and the third count value from the register when the processor receives a complete notice from the module; calculating a processing time by adding a first value to a second value, wherein the first value is equal to the second count value minus the first count value, and the second value is equal to the third count value minus the second count value; comparing the processing time with the predetermined interval; and determining that the periodic processing error has occurred when the processing time is greater than or equal to the predetermined interval.
地址 Tokyo JP