摘要 |
PROBLEM TO BE SOLVED: To record log data for debugging while suppressing influence on a circuit scale.SOLUTION: A device for an electronic apparatus includes: an input/output device that inputs/outputs data; a memory 7 that stores the data; an engine control unit 1 that controls transfer of the data to the memory; and a controller 2 that performs transfer of the data between the input/output device and the memory. The engine control unit 1 includes: a buffer that temporarily stores the data; and a debug control unit 413 that generates log data for debugging and stores the generated log data to the buffer or transfers it to the controller according to the vacancy state of the buffer in the engine control unit and the data transfer state of the controller. |