Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6316145B2 - Processing apparatus and weight time measuring method - Google Patents
[go: Go Back, main page]

JP6316145B2 - Processing apparatus and weight time measuring method - Google Patents

Processing apparatus and weight time measuring method Download PDF

Info

Publication number
JP6316145B2
JP6316145B2 JP2014178332A JP2014178332A JP6316145B2 JP 6316145 B2 JP6316145 B2 JP 6316145B2 JP 2014178332 A JP2014178332 A JP 2014178332A JP 2014178332 A JP2014178332 A JP 2014178332A JP 6316145 B2 JP6316145 B2 JP 6316145B2
Authority
JP
Japan
Prior art keywords
wait time
memory
unit
designation information
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014178332A
Other languages
Japanese (ja)
Other versions
JP2016051454A (en
Inventor
藤井 和也
和也 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Infrastructure Systems and Solutions Corp filed Critical Toshiba Corp
Priority to JP2014178332A priority Critical patent/JP6316145B2/en
Publication of JP2016051454A publication Critical patent/JP2016051454A/en
Application granted granted Critical
Publication of JP6316145B2 publication Critical patent/JP6316145B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Memory System (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

本発明の実施形態は、処理装置、及びウエイト時間測定方法に関する。   Embodiments described herein relate generally to a processing apparatus and a weight time measuring method.

プロセッサを有するメイン基板と、メモリを有する周辺基板とを組み合わせた装置では、プロセッサがメモリにアクセスするためのバスのウエイト(Wait)時間は、メイン基板と周辺基板の組み合わせごとに異なる。これは、メイン基板と周辺基板の組み合わせごとに、配線のバッファが異なること等に起因する。しかしながら、従来の装置では、組み合わされた基板における処理速度を向上させることができない場合があった。   In an apparatus in which a main board having a processor and a peripheral board having a memory are combined, the bus wait time for the processor to access the memory varies depending on the combination of the main board and the peripheral board. This is due to the fact that the wiring buffer is different for each combination of the main board and the peripheral board. However, the conventional apparatus sometimes cannot improve the processing speed of the combined substrates.

特開2004−220502号公報JP 2004-220502 A 特開2004−326690号公報JP 2004-326690 A

本発明が解決しようとする課題は、組み合わされた基板における処理速度を向上させることができる処理装置、及びウエイト時間測定方法を提供することである。   The problem to be solved by the present invention is to provide a processing apparatus and a wait time measuring method capable of improving the processing speed of a combined substrate.

実施形態の処理装置は、プロセッサを有するメイン基板と複数のメモリを有する周辺基板とを有する処理装置であって、記憶部と、指定情報読み出し部と、試行部と、ウエイト時間測定部と、切替部とを備える。記憶部は、周辺基板に設けられ、複数のメモリのうち一部又は全部のメモリを指定する指定情報を記憶する。指定情報読み出し部は、メイン基板に設けられ、周辺基板から指定情報を読み出す。試行部は、メイン基板に設けられ、指定情報読み出し部により読み出した指定情報を参照し、指定情報により指定されたメモリを選択し、メモリにアクセスするためのバスのウエイト時間を変更しながら、選択したメモリにデータを書き込んでから、選択したメモリからデータを読み出す。ウエイト時間測定部は、メイン基板に設けられ、試行部によって読み出したデータと書き込んだデータとが一致する場合におけるウエイト時間を、指定されたメモリのウエイト時間と決定する。切替部は、前記メイン基板に設けられ、前記試行部の動作モードを第1の動作モードと第2の動作モードとに切り替える。前記試行部は、前記第1の動作モードでは前記指定情報を参照し、前記指定情報により指定された前記メモリを選択して、選択した前記メモリについて前記ウエイト時間を測定し、前記第2の動作モードでは前記指定情報を参照せずに全ての前記メモリについて前記ウエイト時間を測定するA processing apparatus according to an embodiment is a processing apparatus having a main board having a processor and a peripheral board having a plurality of memories, and includes a storage unit, a designation information reading unit, a trial unit, a wait time measuring unit, and a switching A part . The storage unit is provided on the peripheral board, and stores designation information that designates some or all of the plurality of memories. The designation information reading unit is provided on the main board and reads designation information from the peripheral board. The trial unit is provided on the main board, refers to the designation information read by the designation information reading unit, selects the memory designated by the designation information, and selects while changing the wait time of the bus for accessing the memory The data is written to the selected memory, and then the data is read from the selected memory. The wait time measurement unit is provided on the main board, and determines the wait time when the data read by the trial unit and the written data match as the wait time of the designated memory. The switching unit is provided on the main board, and switches the operation mode of the trial unit between a first operation mode and a second operation mode. The trial unit refers to the designation information in the first operation mode, selects the memory designated by the designation information, measures the wait time for the selected memory, and performs the second operation. In the mode, the wait time is measured for all the memories without referring to the designation information .

一実施形態における、処理装置の構成図。The block diagram of the processing apparatus in one Embodiment. 一実施形態における、メモリマップの図。FIG. 3 is a diagram of a memory map in one embodiment. 一実施形態における、書き込み処理時のウエイト時間と、読み出し処理時のウエイト時間とを個別に設定する場合のウエイト時間測定モードを表すフローチャート。6 is a flowchart illustrating a wait time measurement mode in a case where a wait time during a write process and a wait time during a read process are individually set according to an embodiment. 一実施形態における、書き込み処理時のウエイト時間と、読み出し処理時のウエイト時間とを一体で設定する場合のウエイト時間測定モードを表すフローチャート。9 is a flowchart illustrating a wait time measurement mode in the case where a wait time during a write process and a wait time during a read process are integrally set according to an embodiment. 一実施形態における、書き込み処理時のウエイト時間と、読み出し処理時のウエイト時間とを個別に設定する場合の診断モードを表すフローチャート。6 is a flowchart illustrating a diagnosis mode when a wait time during a write process and a wait time during a read process are individually set according to an embodiment. 一実施形態における、書き込み処理時のウエイト時間と、読み出し処理時のウエイト時間とを一体で設定する場合の診断モードを表すフローチャート。6 is a flowchart illustrating a diagnosis mode when a wait time during a write process and a wait time during a read process are set together in one embodiment.

以下、実施形態の処理装置、及びウエイト時間測定方法を、図面を参照して説明する。
図1は、一実施形態における、処理装置1の構成図である。処理装置1は、例えば、情報処理装置、改札機、精算機、ICカードチャージ機、郵便仕分け機等に組み込まれる。処理装置1は、所定の情報処理を実行する。所定の情報処理は、例えば、画像信号処理や音声信号処理である。処理装置1が組み込まれた改札機は、IC(Integrated Circuit)カードや切符に記録されたデータに基づく処理を実行する。処理装置1が組み込まれた精算機は、電子マネー等のデータや、投入された現金の金額に基づく処理を実行する。処理装置1が組み込まれたICカードチャージ機は、電子マネー、定期券や切符等のデータをICカードにチャージする処理を実行する。処理装置1が組み込まれた郵便仕分け機は、郵便物等の仕分け処理を実行する。
Hereinafter, a processing apparatus and a wait time measuring method according to an embodiment will be described with reference to the drawings.
FIG. 1 is a configuration diagram of a processing apparatus 1 according to an embodiment. The processing device 1 is incorporated in, for example, an information processing device, a ticket gate, a checkout machine, an IC card charging machine, a mail sorting machine, or the like. The processing device 1 executes predetermined information processing. The predetermined information processing is, for example, image signal processing or audio signal processing. The ticket checker in which the processing device 1 is incorporated executes processing based on data recorded on an IC (Integrated Circuit) card or ticket. The checkout machine in which the processing device 1 is incorporated executes processing based on data such as electronic money and the amount of cash that has been input. The IC card charging machine in which the processing device 1 is incorporated executes processing for charging data such as electronic money, a commuter pass and a ticket to the IC card. The mail sorting machine in which the processing device 1 is incorporated executes sorting processing for mails and the like.

処理装置1の構成を説明する。
処理装置1は、周辺基板10と、メイン基板20とを備える。処理装置1は、周辺基板10とメイン基板20とが組み合わされた状態で、周辺基板10のメモリにメイン基板20からアクセスするためのバスのウエイト(Wait)時間を測定する。ウエイト時間は、マイクロ秒といった単位で表現されてもよいし、クロック信号のサイクル数で表現されてもよい。
A configuration of the processing apparatus 1 will be described.
The processing apparatus 1 includes a peripheral substrate 10 and a main substrate 20. The processing apparatus 1 measures the wait time of a bus for accessing the memory of the peripheral substrate 10 from the main substrate 20 in a state where the peripheral substrate 10 and the main substrate 20 are combined. The wait time may be expressed in units such as microseconds, or may be expressed as the number of cycles of the clock signal.

周辺基板10は、少なくとも一つのメモリと、コネクタ13と、記憶部14とを備える。図1では、周辺基板10は、メモリ11とメモリ12を備える。周辺基板10は、更に多くのメモリを備えてもよい。以下では、一例として、メモリ11とメモリ12を周辺基板10が備える場合について説明する。   The peripheral board 10 includes at least one memory, a connector 13, and a storage unit 14. In FIG. 1, the peripheral substrate 10 includes a memory 11 and a memory 12. The peripheral board 10 may include more memories. Below, the case where the peripheral board | substrate 10 is provided with the memory 11 and the memory 12 as an example is demonstrated.

メモリ11は、例えば、RAM(Random Access Memory)やレジスタなどの揮発性の記憶媒体(一時的な記憶媒体)を有する。メモリ11は、フラッシュメモリなどの不揮発性の記憶媒体(非一時的な記憶媒体)を有していてもよい。メモリ12についても同様である。   The memory 11 includes, for example, a volatile storage medium (temporary storage medium) such as a RAM (Random Access Memory) and a register. The memory 11 may have a non-volatile storage medium (non-temporary storage medium) such as a flash memory. The same applies to the memory 12.

コネクタ13は、周辺基板10をメイン基板20に接続するためのコネクタである。つまり、コネクタ13は、メモリ11と、メモリ12と、記憶部14とをメイン基板20に接続する。   The connector 13 is a connector for connecting the peripheral board 10 to the main board 20. That is, the connector 13 connects the memory 11, the memory 12, and the storage unit 14 to the main board 20.

記憶部14は、フラッシュメモリなどの不揮発性の記憶媒体(非一時的な記憶媒体)を有する。記憶部14は、メモリマップを記憶する。このメモリマップは、周辺基板10のメモリ11とメモリ12を含む複数のメモリについてのメモリマップである。記憶部14は、メイン基板20が出力したリードイネーブル信号等に応じて、メイン基板20にメモリマップを転送する。   The storage unit 14 includes a nonvolatile storage medium (non-temporary storage medium) such as a flash memory. The storage unit 14 stores a memory map. This memory map is a memory map for a plurality of memories including the memory 11 and the memory 12 of the peripheral board 10. The storage unit 14 transfers the memory map to the main board 20 in accordance with a read enable signal output from the main board 20.

図2は、一実施形態における、メモリマップの図である。メモリマップは、テーブル数を表す情報と、テーブルデータとを含む。このメモリマップは、テーブルデータをメモリごとに含む。すなわち、テーブル数は、周辺基板10のメモリの数を表す。例えば、周辺基板10のメモリの数が2である場合、テーブル数は2である。   FIG. 2 is a diagram of a memory map in one embodiment. The memory map includes information indicating the number of tables and table data. This memory map includes table data for each memory. That is, the number of tables represents the number of memories of the peripheral board 10. For example, when the number of memories on the peripheral board 10 is 2, the number of tables is 2.

テーブルデータM11は、テーブルデータM11のフラグ情報と、テーブルデータM11のバス幅情報と、テーブルデータM11のスタートアドレス情報と、テーブルデータM11のエンドアドレス情報とを含む。テーブルデータM11のフラグ情報は、テーブルデータM11の先頭であることを表す情報を含む。また、テーブルデータM11のフラグ情報は、メモリ11を指定する指定情報を含む。指定情報は、例えば、周辺基板10が製造される際に定められ、メモリ11がウエイト時間の測定が必要であるか否かを示すものである。テーブルデータM11のバス幅情報は、メモリ11にアクセスするためのバスのバス幅である。バス幅は、例えば16ビットである。テーブルデータM11のスタートアドレス情報は、メモリ11にアクセスする場合における、メモリ11の先頭のアドレスを表す情報である。テーブルデータM11のエンドアドレス情報は、メモリ11にアクセスする場合における、メモリ11の最終のアドレスを表す情報である。   The table data M11 includes flag information of the table data M11, bus width information of the table data M11, start address information of the table data M11, and end address information of the table data M11. The flag information of the table data M11 includes information indicating that it is the head of the table data M11. The flag information of the table data M11 includes designation information that designates the memory 11. The designation information is determined, for example, when the peripheral substrate 10 is manufactured, and indicates whether or not the memory 11 needs to measure the wait time. The bus width information of the table data M11 is the bus width of the bus for accessing the memory 11. The bus width is 16 bits, for example. The start address information of the table data M11 is information representing the head address of the memory 11 when the memory 11 is accessed. The end address information of the table data M11 is information representing the final address of the memory 11 when the memory 11 is accessed.

テーブルデータM12は、テーブルデータM12のフラグ情報と、テーブルデータM12のバス幅情報と、テーブルデータM12のスタートアドレス情報と、テーブルデータM12のエンドアドレス情報とを含む。テーブルデータM12のフラグ情報は、テーブルデータM12の先頭であることを表す情報を含む。また、テーブルデータM12のフラグ情報は、メモリ12を指定する指定情報を含む。指定情報は、例えば、周辺基板10が製造される際に定められ、メモリ12がウエイト時間の測定が必要であるか否かを示すものである。テーブルデータM12のバス幅情報は、メモリ12にアクセスするためのバスのバス幅である。テーブルデータM12のスタートアドレス情報は、メモリ12にアクセスする場合における、メモリ12の先頭のアドレスを表す情報である。テーブルデータM12のエンドアドレス情報は、メモリ12にアクセスする場合における、メモリ12の最終のアドレスを表す情報である。   The table data M12 includes flag information of the table data M12, bus width information of the table data M12, start address information of the table data M12, and end address information of the table data M12. The flag information of the table data M12 includes information indicating the head of the table data M12. Further, the flag information of the table data M12 includes designation information for designating the memory 12. The designation information is determined, for example, when the peripheral substrate 10 is manufactured, and indicates whether or not the memory 12 needs to measure the wait time. The bus width information of the table data M12 is the bus width of the bus for accessing the memory 12. The start address information of the table data M12 is information representing the head address of the memory 12 when the memory 12 is accessed. The end address information of the table data M12 is information representing the final address of the memory 12 when the memory 12 is accessed.

メイン基板20は、コネクタ21と、切替部22と、メモリ23と、処理部24、提示部25とを備える。コネクタ21は、周辺基板10をメイン基板20に接続するためのコネクタである。   The main board 20 includes a connector 21, a switching unit 22, a memory 23, a processing unit 24, and a presentation unit 25. The connector 21 is a connector for connecting the peripheral board 10 to the main board 20.

切替部22は、処理部24の動作モードを指定する。切替部22は、例えば、DIP(Dual In-line Package)スイッチである。切替部22は、オペレータによる操作に応じて、処理部24の動作モードを切り替えるための信号を出力する。動作モードは、例えば、通常モードと、第1のモードであるウエイト時間測定モードと、第2のモードである診断モードとがある。   The switching unit 22 specifies the operation mode of the processing unit 24. The switching unit 22 is, for example, a DIP (Dual In-line Package) switch. The switching unit 22 outputs a signal for switching the operation mode of the processing unit 24 in accordance with an operation by the operator. The operation modes include, for example, a normal mode, a wait time measurement mode that is a first mode, and a diagnostic mode that is a second mode.

メモリ23は、例えば、ROM(Read Only Memory)、フラッシュメモリなどの不揮発性の記憶媒体(非一時的な記憶媒体)を有する。メモリ23は、例えば、RAMやレジスタなどの揮発性の記憶媒体(一時的な記憶媒体)を有していてもよい。メモリ23は、周辺基板10のメモリ11やメモリ12に記憶されているデータを、処理部24による制御に基づいて一時的に記憶してもよい。   The memory 23 includes, for example, a nonvolatile storage medium (non-temporary storage medium) such as a ROM (Read Only Memory) or a flash memory. The memory 23 may include, for example, a volatile storage medium (temporary storage medium) such as a RAM or a register. The memory 23 may temporarily store data stored in the memory 11 or the memory 12 of the peripheral substrate 10 based on control by the processing unit 24.

処理部24は、例えば、CPU(Central Processing Unit)等のプロセッサが、メモリ23に記憶されたプログラムを実行することにより機能するソフトウェア機能部である。また、処理部24は、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウェア機能部であってもよい。   The processing unit 24 is a software function unit that functions when a processor such as a CPU (Central Processing Unit) executes a program stored in the memory 23. The processing unit 24 may be a hardware function unit such as an LSI (Large Scale Integration) or an ASIC (Application Specific Integrated Circuit).

処理部24は、指定情報読み出し部24aと、試行部24bと、ウエイト時間測定部24cと、チップセレクトピンCS0と、チップセレクトピンCS1とを備える。処理部24のチップセレクトピンCS0は、周辺基板10のメモリ11に接続される。処理部24は、メモリ11にアクセスする場合、チップセレクトピンCS0の出力電圧を変更することにより、メモリ11を選択することができる。処理部24は、メモリ11にデータを書き込む場合、アドレス信号と、データ信号と、チップセレクト信号と、ライトイネーブル信号とを、メモリ11に出力する。処理部24は、メモリ11からデータを読み出す場合、アドレス信号と、チップセレクト信号と、リードイネーブル信号とを、メモリ11に出力する。   The processing unit 24 includes a designation information reading unit 24a, a trial unit 24b, a wait time measurement unit 24c, a chip select pin CS0, and a chip select pin CS1. The chip select pin CS0 of the processing unit 24 is connected to the memory 11 of the peripheral substrate 10. When accessing the memory 11, the processing unit 24 can select the memory 11 by changing the output voltage of the chip select pin CS0. When writing data to the memory 11, the processing unit 24 outputs an address signal, a data signal, a chip select signal, and a write enable signal to the memory 11. When reading data from the memory 11, the processing unit 24 outputs an address signal, a chip select signal, and a read enable signal to the memory 11.

処理部24のチップセレクトピンCS1は、周辺基板10のメモリ12に接続される。処理部24は、メモリ12にアクセスする場合、チップセレクトピンCS1の出力電圧を変更することにより、メモリ12を選択することができる。処理部24は、メモリ12にデータを書き込む場合、アドレス信号と、データ信号と、チップセレクト信号と、ライトイネーブル信号とを、メモリ12に出力する。処理部24は、メモリ12からデータを読み出す場合、アドレス信号と、チップセレクト信号と、リードイネーブル信号とを、メモリ12に出力する。   The chip select pin CS1 of the processing unit 24 is connected to the memory 12 of the peripheral substrate 10. When accessing the memory 12, the processing unit 24 can select the memory 12 by changing the output voltage of the chip select pin CS1. When writing data into the memory 12, the processing unit 24 outputs an address signal, a data signal, a chip select signal, and a write enable signal to the memory 12. When reading data from the memory 12, the processing unit 24 outputs an address signal, a chip select signal, and a read enable signal to the memory 12.

処理部24は、リセットされて通常モードで起動した場合、周辺基板10に接続された状態で、予め定められた処理を実行する。この予め定められた処理は、どのような処理でもよく、特定の処理に限定されない。この予め定められた処理は、例えば、画像処理等の所定の情報処理である。この予め定められた処理は、処理装置1が改札機に組み込まれている場合、例えば、電子マネー等のデータに基づく処理である。   When the processing unit 24 is reset and activated in the normal mode, the processing unit 24 executes a predetermined process while being connected to the peripheral board 10. This predetermined process may be any process and is not limited to a specific process. This predetermined processing is, for example, predetermined information processing such as image processing. This predetermined process is a process based on data such as electronic money, for example, when the processing apparatus 1 is incorporated in a ticket gate.

指定情報読み出し部24aは、リセットされて第1のモードであるウエイト時間測定モードで起動した場合、メモリマップを記憶部14から取得し、メモリ23に記憶する。その後、試行部24bは、メモリ23に記憶されたメモリマップに含まれている指定情報を参照する。試行部24bは、周辺基板10の複数のメモリから、指定情報により指定されたメモリを選択する。すなわち、試行部24bは、指定情報によりウエイト時間の測定が必要であると指定されているメモリを選択する。ウエイト時間測定部24cは、選択したメモリにアクセスするためのバスのウエイト時間を、周辺基板10がメイン基板20に接続された状態で測定する。   The designation information reading unit 24 a acquires the memory map from the storage unit 14 and stores the memory map in the memory 23 when it is reset and activated in the wait time measurement mode that is the first mode. Thereafter, the trial unit 24 b refers to the designation information included in the memory map stored in the memory 23. The trial unit 24b selects a memory designated by the designation information from a plurality of memories of the peripheral board 10. In other words, the trial unit 24b selects a memory that is designated by the designation information that the wait time needs to be measured. The wait time measurement unit 24 c measures the wait time of the bus for accessing the selected memory in a state where the peripheral board 10 is connected to the main board 20.

ウエイト時間測定部24cは、データが正しく読み出されたか否かを判定する。つまり、ウエイト時間測定部24cは、書き込んだデータと、読み出したデータとが一致するか否かを判定する。ウエイト時間測定部24cは、データが正しく読み出された場合における測定したウエイト時間を、提示部25に提示させる。   The wait time measuring unit 24c determines whether the data has been read correctly. That is, the wait time measurement unit 24c determines whether the written data matches the read data. The wait time measurement unit 24c causes the presentation unit 25 to present the measured wait time when the data is correctly read.

試行部24bは、データが正しく読み出されなかった場合、ウエイト時間を長くして、再度データの書き込みと読み出しを実行する。ウエイト時間測定部24cは、再度の一致チェックを実行する。ウエイト時間測定部24cは、ウエイト時間を最も長い時間に設定しても正しく読み出せなかったときは、ウエイト時間に基づくエラー情報を、提示部25に提示させる。   When the data is not read correctly, the trial unit 24b extends the wait time and executes data writing and reading again. The wait time measurement unit 24c performs another match check. When the wait time is not correctly read out even if the wait time is set to the longest time, the wait time measurement unit 24c causes the presentation unit 25 to present error information based on the wait time.

指定情報読み出し部24aは、リセットされて第2のモードである診断モードで起動した場合、メモリマップを記憶部14から取得する。試行部24bは、診断モードで起動した場合、指定情報を参照しない。ウエイト時間測定部24cは、周辺基板10の全てのメモリにアクセスが可能であるか否かを、周辺基板10がメイン基板20に接続された状態で、周辺基板10の全てのメモリについて診断する。   The designation information reading unit 24a acquires the memory map from the storage unit 14 when it is reset and started in the diagnosis mode that is the second mode. The trial unit 24b does not refer to the designation information when activated in the diagnosis mode. The wait time measuring unit 24c diagnoses all the memories on the peripheral substrate 10 with the peripheral substrate 10 connected to the main substrate 20 to determine whether or not all the memories on the peripheral substrate 10 are accessible.

試行部24bは、選択したメモリにアクセスするためのバスのウエイト時間を変更しながら、周辺基板10の全てのメモリに、予め定められたデータを書き込む。試行部24bは、選択したメモリのアドレスごとに異なるデータを書き込んでもよい。その後、試行部24bは、周辺基板10の複数のメモリから選択したメモリから、データを読み出す。   The trial unit 24b writes predetermined data to all the memories on the peripheral board 10 while changing the wait time of the bus for accessing the selected memory. The trial unit 24b may write different data for each address of the selected memory. Thereafter, the trial unit 24b reads data from a memory selected from the plurality of memories of the peripheral substrate 10.

ウエイト時間測定部24cは、データが正しく読み出されたか否かを判定する。つまり、ウエイト時間測定部24cは、書き込んだデータと、読み出したデータとが一致するか否かを判定する。ウエイト時間測定部24cは、データが正しく読み出された場合における、ウエイト時間に基づく情報を提示部25に提示させる。試行部24bは、データが正しく読み出されなかった場合、ウエイト時間を長くして、再度データの書き込みと読み出しを実行する。ウエイト時間測定部24cは、再度の一致チェックを実行する。ウエイト時間測定部24cは、ウエイト時間をもっとも長い時間に設定しても正しく読み出せなかったときは、ウエイト時間に基づくエラー情報を、提示部25に提示させる。   The wait time measuring unit 24c determines whether the data has been read correctly. That is, the wait time measurement unit 24c determines whether the written data matches the read data. The wait time measurement unit 24c causes the presentation unit 25 to present information based on the wait time when the data is correctly read. When the data is not read correctly, the trial unit 24b extends the wait time and executes data writing and reading again. The wait time measurement unit 24c performs another match check. The wait time measurement unit 24c causes the presentation unit 25 to present error information based on the wait time when the wait time is not correctly read out even when the longest time is set.

提示部25は、データがウエイト時間測定部24cによって正しく読み出された場合における、バスのウエイト時間を提示する。提示部25は、ウエイト時間に基づくエラー情報を提示してもよい。このエラー情報は、周辺基板10のメモリ11又はメモリ12に試行部24bがアクセスできなかったことを表す情報である。提示部25は、例えば、7セグメントLED(Light Emitting Diode)である。提示部25は、例えば、液晶画面を有していてもよい。   The presenting unit 25 presents the bus wait time when the data is correctly read out by the wait time measuring unit 24c. The presentation unit 25 may present error information based on the wait time. The error information is information indicating that the trial unit 24b cannot access the memory 11 or the memory 12 of the peripheral board 10. The presentation unit 25 is, for example, a 7-segment LED (Light Emitting Diode). The presentation unit 25 may have a liquid crystal screen, for example.

処理装置1の動作を説明する。
図3は、書き込み処理時のウエイト時間と、読み出しのウエイト時間とを個別に設定する場合における、ウエイト時間測定モードを表すフローチャートである。すなわち、書き込み処理時のウエイト時間と、読み出しのウエイト時間とを、処理部24の仕様として個別に設定できる場合、試行部24bは、切替部22によって指定された第1のモードであるウエイト時間測定モードに基づく処理として、図3に表す処理を実行する。
The operation of the processing apparatus 1 will be described.
FIG. 3 is a flowchart showing the wait time measurement mode in the case where the wait time during the writing process and the read wait time are individually set. That is, when the wait time during the writing process and the read wait time can be individually set as the specifications of the processing unit 24, the trial unit 24b performs the wait time measurement which is the first mode designated by the switching unit 22. As the process based on the mode, the process shown in FIG. 3 is executed.

試行部24bは、第1のモードであるウエイト時間測定モードで起動する(ステップS101)。
指定情報読み出し部24aは、メモリマップ情報を、周辺基板10の記憶部14から受信する(ステップS102)。
試行部24bは、周辺基板10のメモリ11とメモリ12とのうち、フラグ情報に含まれる指定情報により指定されたメモリについて、書き込み処理時のウエイト時間を最短にする(ステップS103)。最短のウエイト時間は、処理部24、バスやメモリの仕様として予め定められる。試行部24bは、指定されたメモリの特定のアドレスについてのみ、書き込み処理時のウエイト時間を最短にしてもよい。
The trial unit 24b is activated in the wait time measurement mode that is the first mode (step S101).
The designation information reading unit 24a receives the memory map information from the storage unit 14 of the peripheral board 10 (step S102).
The trial unit 24b minimizes the wait time during the writing process for the memory designated by the designation information included in the flag information among the memory 11 and the memory 12 of the peripheral board 10 (step S103). The shortest wait time is determined in advance as the specifications of the processing unit 24, bus, and memory. The trial unit 24b may minimize the wait time during the writing process for only a specific address of the designated memory.

試行部24bは、周辺基板10のメモリ11とメモリ12とのうち、フラグ情報に含まれる指定情報により指定されたメモリについて、読み出し処理時のウエイト時間を最長にする(ステップS104)。最長のウエイト時間は、処理部24、バスやメモリの仕様として予め定められる。
試行部24bは、周辺基板10のメモリ11とメモリ12とのうち、指定されたメモリから選択したメモリの所定のアドレスに、データを書き込む。この所定のアドレスは、どのアドレスでもよく、特定のアドレスに限定されない。次に、試行部24bは、書き込んだデータを読み出す(ステップS105)。
The trial unit 24b maximizes the wait time during the read process for the memory designated by the designation information included in the flag information among the memory 11 and the memory 12 of the peripheral board 10 (step S104). The longest wait time is determined in advance as the specifications of the processing unit 24, bus, and memory.
The trial unit 24 b writes data to a predetermined address of a memory selected from the designated memory among the memory 11 and the memory 12 of the peripheral substrate 10. The predetermined address may be any address and is not limited to a specific address. Next, the trial unit 24b reads the written data (step S105).

ウエイト時間測定部24cは、書き込んだデータが正しく読み出されたか否かを判定する。すなわち、ウエイト時間測定部24cは、書き込んだデータと、読み出したデータとが一致しているか否かを判定する(ステップS106)。   The wait time measuring unit 24c determines whether the written data has been read correctly. In other words, the wait time measuring unit 24c determines whether the written data and the read data match (step S106).

書き込んだデータと、読み出したデータとが一致していない場合(ステップS106:NO)、試行部24bは、書き込み処理時のウエイト時間を、所定時間だけ長くする(ステップS107)。この所定時間(時間の刻み幅)は、処理部24の仕様として予め定められる。この所定時間は、例えば、クロックの周期の整数倍で表現される。試行部24bは、ステップS105に処理を戻す。   If the written data does not match the read data (step S106: NO), the trial unit 24b increases the wait time during the writing process by a predetermined time (step S107). The predetermined time (time increment) is determined in advance as the specification of the processing unit 24. This predetermined time is expressed by, for example, an integral multiple of the clock cycle. The trial unit 24b returns the process to step S105.

書き込んだデータと、読み出したデータとが一致している場合(ステップS106:YES)、ウエイト時間測定部24cは、そのときのウエイト時間を、書き込み処理時のウエイト時間と決定する(ステップS108)。
試行部24bは、周辺基板10のメモリ11とメモリ12とのうち、指定されたメモリについて、読み出し処理時のウエイト時間を最短にする(ステップS109)。
When the written data matches the read data (step S106: YES), the wait time measurement unit 24c determines the wait time at that time as the wait time at the time of the writing process (step S108).
The trial unit 24b minimizes the wait time during the reading process for the designated memory out of the memory 11 and the memory 12 of the peripheral board 10 (step S109).

試行部24bは、周辺基板10のメモリ11とメモリ12とのうち、指定されたメモリから選択したメモリの所定のアドレスに、データを書き込む。試行部24bは、選択したメモリから、書き込んだデータを読み出す(ステップS110)。
ウエイト時間測定部24cは、書き込んだデータが正しく読み出されたか否かを判定する。すなわち、ウエイト時間測定部24cは、書き込んだデータと、読み出したデータとが一致しているか否かを判定する(ステップS111)。
The trial unit 24 b writes data to a predetermined address of a memory selected from the designated memory among the memory 11 and the memory 12 of the peripheral substrate 10. The trial unit 24b reads the written data from the selected memory (step S110).
The wait time measuring unit 24c determines whether the written data has been read correctly. That is, the wait time measurement unit 24c determines whether the written data matches the read data (step S111).

書き込んだデータと、読み出したデータとが一致していない場合(ステップS110:NO)、試行部24bは、読み出し処理時のウエイト時間を、所定時間だけ長くする(ステップS112)。この所定時間(時間の刻み幅)は、処理部24の仕様として予め定められる。この所定時間は、例えば、クロックの周期の整数倍で表現される。試行部24bは、ステップS110に処理を戻す。   If the written data does not match the read data (step S110: NO), the trial unit 24b increases the wait time during the read process by a predetermined time (step S112). The predetermined time (time increment) is determined in advance as the specification of the processing unit 24. This predetermined time is expressed by, for example, an integral multiple of the clock cycle. The trial unit 24b returns the process to step S110.

書き込んだデータと、読み出したデータとが一致している場合(ステップS111:YES)、ウエイト時間測定部24cは、書き込んだデータと読み出したデータとが一致したときのウエイト時間を、読み出し処理時のウエイト時間と決定する(ステップS113)。   When the written data matches the read data (step S111: YES), the wait time measurement unit 24c uses the wait time when the written data matches the read data as the read processing time. The wait time is determined (step S113).

ウエイト時間測定部24cは、決定した書き込み処理時と読み出し処理時のウエイト時間を測定した結果を、提示部25に提示させる。提示部25は、ウエイト時間測定部24cによって測定されたウエイト時間を提示する(ステップS114)。
ウエイト時間測定部24cは、指定情報により指定された全てのメモリについてウエイト時間の測定が完了したか否かを判定する(ステップS113)。指定されたメモリのうち測定が完了していないメモリが存在する場合、すなわち、測定されていないメモリが残っている場合(ステップS113:NO)、ウエイト時間測定部24cは、ステップS104に処理を戻す。
指定された全てのメモリについて測定結果を提示した場合(ステップS113:YES)、試行部24bは、図3に表す処理を終了する。
The wait time measurement unit 24c causes the presentation unit 25 to present the result of measuring the wait time during the determined write process and read process. The presentation unit 25 presents the wait time measured by the wait time measurement unit 24c (step S114).
The wait time measurement unit 24c determines whether or not the measurement of the wait time has been completed for all the memories designated by the designation information (step S113). When there is a memory that has not been measured among the designated memories, that is, when there is a memory that has not been measured (step S113: NO), the wait time measurement unit 24c returns the process to step S104. .
When the measurement results are presented for all the specified memories (step S113: YES), the trial unit 24b ends the process illustrated in FIG.

図4は、書き込みの処理時ウエイト時間と、読み出し処理時のウエイト時間とを一体で設定する場合における、ウエイト時間測定モードを表すフローチャートである。書き込みの処理時ウエイト時間と、読み出しのウエイト時間とを、処理部24の仕様として個別には設定できない場合、試行部24bは、切替部22によって指定されたウエイト時間測定モードに基づく処理として、図4に表す処理を実行する。   FIG. 4 is a flowchart showing a wait time measurement mode in the case where the wait time at the time of writing and the wait time at the time of reading are set together. When the write processing wait time and the read wait time cannot be individually set as the specifications of the processing unit 24, the trial unit 24b performs processing based on the wait time measurement mode specified by the switching unit 22 as a process. 4 is executed.

ステップS201の処理は、図3に表されたステップS101の処理と同様である。
ステップS202の処理は、図3に表されたステップS102の処理と同様である。
試行部24bは、周辺基板10のメモリ11とメモリ12とのうち、指定されたメモリについて、書き込み処理時及び読み出し処理時のウエイト時間を最短にする(ステップS203)。
ステップS204の処理は、図3に表されたステップS105の処理と同様である。
ステップS205の処理は、図3に表されたステップS106の処理と同様である。
The process of step S201 is the same as the process of step S101 shown in FIG.
The process in step S202 is the same as the process in step S102 shown in FIG.
The trial unit 24b minimizes the wait time during the writing process and the reading process for the designated memory out of the memory 11 and the memory 12 of the peripheral substrate 10 (step S203).
The process in step S204 is the same as the process in step S105 shown in FIG.
The process of step S205 is the same as the process of step S106 shown in FIG.

書き込んだデータと、読み出したデータとが一致していない場合(ステップS205:NO)、試行部24bは、書き込み処理時及び読み出し処理時のウエイト時間を、所定時間だけ長くする(ステップS206)。この所定時間(時間の刻み幅)は、処理部24の仕様として予め定められる。この所定時間は、例えば、クロックの周期の整数倍で表現される。試行部24bは、ステップS204に処理を戻す。   When the written data and the read data do not match (step S205: NO), the trial unit 24b lengthens the wait time during the write process and the read process by a predetermined time (step S206). The predetermined time (time increment) is determined in advance as the specification of the processing unit 24. This predetermined time is expressed by, for example, an integral multiple of the clock cycle. The trial unit 24b returns the process to step S204.

書き込んだデータと、読み出したデータとが一致している場合(ステップS205:YES)、ウエイト時間測定部24cは、書き込んだデータと読み出したデータとが一致したときのウエイト時間を、書き込み処理時及び読み出し処理時のウエイト時間と決定する(ステップS207)。   When the written data matches the read data (step S205: YES), the wait time measuring unit 24c determines the wait time when the written data matches the read data at the time of the writing process and The wait time for the read process is determined (step S207).

ウエイト時間測定部24cは、決定した書き込み処理時と読み出し処理時のウエイト時間を測定した結果を、提示部25に提示させる。提示部25は、ウエイト時間測定部24cによって測定されたウエイト時間を提示する(ステップS208)。   The wait time measurement unit 24c causes the presentation unit 25 to present the result of measuring the wait time during the determined write process and read process. The presentation unit 25 presents the wait time measured by the wait time measurement unit 24c (step S208).

ウエイト時間測定部24cは、指定された全てのメモリについて測定結果を提示部25が提示したか否かを判定する(ステップS209)。指定されたメモリのうち測定結果を提示していないメモリが存在する場合、すなわち、測定されていないメモリが残っている場合(ステップS209:NO)、試行部24bは、ステップS204に処理を戻す。
指定された全てのメモリについて測定結果を提示した場合(ステップS209:YES)、試行部24bは、図4に表す処理を終了する。
The wait time measurement unit 24c determines whether or not the presentation unit 25 has presented the measurement results for all specified memories (step S209). When there is a memory that does not present the measurement result among the designated memories, that is, when there is a memory that has not been measured (step S209: NO), the trial unit 24b returns the process to step S204.
When the measurement results are presented for all the specified memories (step S209: YES), the trial unit 24b ends the process illustrated in FIG.

図5は、書き込み処理時のウエイト時間と、読み出し処理時のウエイト時間とを個別に設定する場合における、診断モードを表すフローチャートである。書き込み処理時のウエイト時間と、読み出しのウエイト時間とを、処理部24の仕様として個別に設定できる場合、試行部24bは、切替部22によって指定された診断モードに基づく処理として、図5に表す処理を実行する。   FIG. 5 is a flowchart showing a diagnosis mode in the case where the wait time during the writing process and the wait time during the reading process are individually set. When the wait time during the writing process and the read wait time can be individually set as the specifications of the processing unit 24, the trial unit 24b is shown in FIG. 5 as a process based on the diagnosis mode specified by the switching unit 22. Execute the process.

試行部24bは、診断モードで起動し、メイン基板20のメモリ23にデータをコピーする(ステップS301)。
指定情報読み出し部24aは、メモリマップ情報を、周辺基板10の記憶部14から受信する(ステップS202)。
試行部24bは、周辺基板10の全てのメモリについて、書き込み処理時のウエイト時間を最短にする(ステップS303)。
The trial unit 24b starts up in the diagnosis mode and copies data to the memory 23 of the main board 20 (step S301).
The designation information reading unit 24a receives the memory map information from the storage unit 14 of the peripheral board 10 (Step S202).
The trial unit 24b minimizes the wait time during the writing process for all the memories of the peripheral substrate 10 (step S303).

試行部24bは、周辺基板10の全てのメモリについて、読み出し処理時のウエイト時間を最長にする(ステップS304)。
試行部24bは、周辺基板10の全てのメモリの所定のアドレスに、データを書き込む。試行部24bは、周辺基板10の全てのメモリから、書き込んだデータを読み出す(ステップS305)。
The trial unit 24b maximizes the wait time during the reading process for all the memories of the peripheral substrate 10 (step S304).
The trial unit 24b writes data to predetermined addresses in all the memories of the peripheral board 10. The trial unit 24b reads the written data from all the memories of the peripheral board 10 (step S305).

ウエイト時間測定部24cは、書き込んだデータが正しく読み出されたか否かを判定する。すなわち、ウエイト時間測定部24cは、書き込んだデータと、読み出したデータとが一致しているか否かを判定する(ステップS306)。   The wait time measuring unit 24c determines whether the written data has been read correctly. That is, the wait time measurement unit 24c determines whether the written data matches the read data (step S306).

書き込んだデータと、読み出したデータとが一致していない場合(ステップS306:NO)、試行部24bは、書き込み処理時のウエイト時間を、所定時間だけ長くする(ステップS307)。この所定時間(時間の刻み幅)は、処理部24の仕様として予め定められる。この所定時間は、例えば、クロックの周期の整数倍で表現される。試行部24bは、ステップS305に処理を戻す。   If the written data does not match the read data (step S306: NO), the trial unit 24b increases the wait time during the writing process by a predetermined time (step S307). The predetermined time (time increment) is determined in advance as the specification of the processing unit 24. This predetermined time is expressed by, for example, an integral multiple of the clock cycle. The trial unit 24b returns the process to step S305.

書き込んだデータと、読み出したデータとが一致している場合(ステップS306:YES)、ウエイト時間測定部24cは、そのときのウエイト時間を、書き込み処理時のウエイト時間と決定する(ステップS308)。
試行部24bは、周辺基板10の全てのメモリについて、読み出し処理時のウエイト時間を最短にする(ステップS309)。
When the written data matches the read data (step S306: YES), the wait time measurement unit 24c determines the wait time at that time as the wait time for the write process (step S308).
The trial unit 24b minimizes the wait time during the reading process for all the memories of the peripheral substrate 10 (step S309).

試行部24bは、周辺基板10のメモリ11とメモリ12とのうち、指定されたメモリから選択したメモリの所定のアドレスに、データを書き込む。試行部24bは、選択したメモリから、書き込んだデータを読み出す(ステップS310)。
ウエイト時間測定部24cは、書き込んだデータが正しく読み出されたか否かを判定する。すなわち、ウエイト時間測定部24cは、書き込んだデータと、読み出したデータとが一致しているか否かを判定する(ステップS311)。
The trial unit 24 b writes data to a predetermined address of a memory selected from the designated memory among the memory 11 and the memory 12 of the peripheral substrate 10. The trial unit 24b reads the written data from the selected memory (step S310).
The wait time measuring unit 24c determines whether the written data has been read correctly. That is, the wait time measurement unit 24c determines whether the written data and the read data match (step S311).

書き込んだデータと、読み出したデータとが一致していない場合(ステップS311:NO)、試行部24bは、読み出し処理時のウエイト時間を、所定時間だけ長くする(ステップS312)。この所定時間(時間の刻み幅)は、処理部24の仕様として予め定められる。この所定時間は、例えば、クロックの周期の整数倍で表現される。試行部24bは、ステップS310に処理を戻す。   If the written data does not match the read data (step S311: NO), the trial unit 24b lengthens the wait time during the read process by a predetermined time (step S312). The predetermined time (time increment) is determined in advance as the specification of the processing unit 24. This predetermined time is expressed by, for example, an integral multiple of the clock cycle. The trial unit 24b returns the process to step S310.

書き込んだデータと、読み出したデータとが一致している場合(ステップS311:YES)、ウエイト時間測定部24cは、そのときのウエイト時間を、読み出し処理時のウエイト時間と決定する(ステップS313)。   When the written data matches the read data (step S311: YES), the wait time measurement unit 24c determines the wait time at that time as the wait time for the read process (step S313).

ウエイト時間測定部24cは、ウエイト時間を測定した結果を、提示部25に提示させる。提示部25は、ウエイト時間測定部24cによって測定されたウエイト時間を提示する(ステップS314)。
ウエイト時間測定部24cは、周辺基板10の全てのメモリについて測定結果を提示したか否かを判定する(ステップS315)。
The wait time measurement unit 24c causes the presentation unit 25 to present the result of measuring the wait time. The presenting unit 25 presents the wait time measured by the wait time measuring unit 24c (step S314).
The wait time measurement unit 24c determines whether measurement results have been presented for all the memories of the peripheral substrate 10 (step S315).

指定された全てのメモリについて測定結果を提示した場合(ステップS315:YES)、ウエイト時間測定部24cは、ステップS304からステップS311までの処理を実行した回数が所定回数以内であるか否かを判定する(ステップS316)。この所定回数は、例えば、3回である。なお、ウエイト時間測定部24cは、所定回数以内であるか否かを判定するのではなく、ステップS304からステップS315までの処理を実行した回数が所定回数以上であるか否かを判定してもよい。   When the measurement results are presented for all the specified memories (step S315: YES), the wait time measurement unit 24c determines whether or not the number of times the processing from step S304 to step S311 has been performed is within a predetermined number. (Step S316). This predetermined number of times is, for example, three times. Note that the wait time measurement unit 24c does not determine whether or not the number of times is within a predetermined number of times, but determines whether or not the number of times the processing from step S304 to step S315 has been performed is equal to or more than the predetermined number of times. Good.

ステップS304からステップS315までの処理を実行した回数が所定回数以内であると判定された場合(ステップS316:YES)、試行部24bは、メイン基板20のメモリのデータを、周辺基板10のメモリに書き戻す(ステップS317)。試行部24bは、図5に表す処理を終了する。   When it is determined that the number of executions of the processing from step S304 to step S315 is within a predetermined number (step S316: YES), the trial unit 24b stores the data in the memory of the main board 20 in the memory of the peripheral board 10. Write back (step S317). The trial unit 24b ends the process illustrated in FIG.

ステップS304からステップS315までの処理を実行した回数が所定回数以内でないと判定された場合(ステップS316:NO)、ウエイト時間測定部24cは、エラー情報を提示部25に表示させる(ステップS316)。試行部24bは、図5に表す処理を終了する。   When it is determined that the number of executions of the processing from step S304 to step S315 is not within the predetermined number (step S316: NO), the wait time measurement unit 24c displays error information on the presentation unit 25 (step S316). The trial unit 24b ends the process illustrated in FIG.

指定されたメモリのうち測定結果を提示していないメモリが存在する場合、すなわち、測定されていないメモリが残っている場合(ステップS315:NO)、試行部24bは、ステップS304に処理を戻す。   When there is a memory that does not present the measurement result among the designated memories, that is, when there is a memory that has not been measured (step S315: NO), the trial unit 24b returns the process to step S304.

図6は、書き込み処理時のウエイト時間と、読み出し処理時のウエイト時間とを一体で設定する場合における、診断モードを表すフローチャートである。書き込み処理時のウエイト時間と、読み出しのウエイト時間とを、処理部24の仕様として個別には設定できない場合、試行部24bは、切替部22によって指定された診断モードに基づく処理として、図6に表す処理を実行する。   FIG. 6 is a flowchart showing a diagnostic mode in the case where the wait time during the writing process and the wait time during the reading process are set together. When the wait time during the writing process and the read wait time cannot be individually set as the specifications of the processing unit 24, the trial unit 24b performs processing based on the diagnosis mode designated by the switching unit 22 as shown in FIG. The process to represent is executed.

ステップS401の処理は、図5に表されたステップS301の処理と同様である。
ステップS402の処理は、図5に表されたステップS302の処理と同様である。
試行部24bは、周辺基板10の全てのメモリについて、書き込み処理時及び読み出し処理時のウエイト時間を最短にする(ステップS403)。
ステップS404の処理は、図5に表されたステップS305の処理と同様である。
ステップS405の処理は、図5に表されたステップS306の処理と同様である。
The process in step S401 is the same as the process in step S301 shown in FIG.
The process of step S402 is the same as the process of step S302 shown in FIG.
The trial unit 24b minimizes the wait time during the writing process and the reading process for all the memories of the peripheral substrate 10 (step S403).
The process in step S404 is the same as the process in step S305 shown in FIG.
The processing in step S405 is the same as the processing in step S306 shown in FIG.

書き込んだデータと、読み出したデータとが一致していない場合(ステップS405:NO)、試行部24bは、書き込み処理時及び読み出し処理時のウエイト時間を、所定時間だけ長くする(ステップS406)。この所定時間(時間の刻み幅)は、処理部24の仕様として予め定められる。この所定時間は、例えば、クロックの周期の整数倍で表現される。試行部24bは、ステップS404に処理を戻す。   If the written data does not match the read data (step S405: NO), the trial unit 24b increases the wait time during the writing process and the reading process by a predetermined time (step S406). The predetermined time (time increment) is determined in advance as the specification of the processing unit 24. This predetermined time is expressed by, for example, an integral multiple of the clock cycle. The trial unit 24b returns the process to step S404.

書き込んだデータと、読み出したデータとが一致している場合(ステップS405:YES)、ウエイト時間測定部24cは、書き込んだデータと読み出したデータとが一致したときのウエイト時間を、書き込み処理時及び読み出し処理時のウエイト時間と決定する(ステップS407)。   When the written data matches the read data (step S405: YES), the wait time measuring unit 24c determines the wait time when the written data matches the read data at the time of the writing process and The wait time for the read process is determined (step S407).

ウエイト時間測定部24cは、決定した書き込み処理時と読み出し処理時のウエイト時間を測定した結果を、提示部25に提示させる。提示部25は、ウエイト時間測定部24cによって測定されたウエイト時間を提示する(ステップS408)。   The wait time measurement unit 24c causes the presentation unit 25 to present the result of measuring the wait time during the determined write process and read process. The presentation unit 25 presents the wait time measured by the wait time measurement unit 24c (step S408).

ウエイト時間測定部24cは、指定された全てのメモリについて測定結果を提示部25が提示したか否かを判定する(ステップS409)。指定されたメモリのうち測定結果を提示していないメモリが存在する場合、すなわち、測定されていないメモリが残っている場合(ステップS409:NO)、試行部24bは、ステップS404に処理を戻す。   The wait time measurement unit 24c determines whether or not the presentation unit 25 has presented the measurement results for all specified memories (step S409). When there is a memory that does not present the measurement result among the designated memories, that is, when there is a memory that has not been measured (step S409: NO), the trial unit 24b returns the process to step S404.

指定された全てのメモリについて測定結果を提示した場合(ステップS409:YES)、ウエイト時間測定部24cは、ステップS404からステップS409までの処理を実行した回数が所定回数以内であるか否かを判定する(ステップS410)。この所定回数は、例えば、3回である。なお、ウエイト時間測定部24cは、所定回数以内であるか否かを判定するのではなく、ステップS404からステップS409までの処理を実行した回数が所定回数以上であるか否かを判定してもよい。   When the measurement results are presented for all the specified memories (step S409: YES), the wait time measurement unit 24c determines whether or not the number of times the processing from step S404 to step S409 has been performed is within a predetermined number. (Step S410). This predetermined number of times is, for example, three times. Note that the wait time measurement unit 24c does not determine whether or not the number of times is within a predetermined number of times, but determines whether or not the number of times the processing from step S404 to step S409 has been performed is equal to or more than the predetermined number of times. Good.

ステップS404からステップS409までの処理を実行した回数が所定回数以内であると判定された場合(ステップS410:YES)、試行部24bは、メイン基板20のメモリのデータを、周辺基板10のメモリに書き戻す(ステップS411)。試行部24bは、図6に表す処理を終了する。   When it is determined that the number of executions of the processing from step S404 to step S409 is within a predetermined number (step S410: YES), the trial unit 24b stores the data in the memory of the main board 20 in the memory of the peripheral board 10. Write back (step S411). The trial unit 24b ends the process illustrated in FIG.

ステップS404からステップS409までの処理を実行した回数が所定回数以内でないと判定された場合(ステップS410:NO)、ウエイト時間測定部24cは、エラー情報を提示部25に表示させる(ステップS411)。試行部24bは、図6に表す処理を終了する。   When it is determined that the number of times the processing from step S404 to step S409 has been executed is not within the predetermined number (step S410: NO), the wait time measurement unit 24c causes the presentation unit 25 to display error information (step S411). The trial unit 24b ends the process illustrated in FIG.

指定されたメモリのうち測定結果を提示していないメモリが存在する場合、すなわち、測定されていないメモリが残っている場合(ステップS409:NO)、試行部24bは、ステップS404に処理を戻す。   When there is a memory that does not present the measurement result among the designated memories, that is, when there is a memory that has not been measured (step S409: NO), the trial unit 24b returns the process to step S404.

以上のように、実施形態の処理装置1は、プロセッサを有するメイン基板20と、複数のメモリを有する周辺基板10とを有する処理装置であって、記憶部14と、指定情報読み出し部24aと、試行部24bと、ウエイト時間測定部24cを備える。記憶部14は、周辺基板10に設けられ、周辺基板10の複数のメモリのうち一部又は全部のメモリを指定する指定情報を記憶する。指定情報読み出し部24aは、メイン基板20に設けられ、周辺基板10から指定情報を読み出す。試行部24bは、メイン基板20に設けられ、指定情報読み出し部24aにより読み出した指定情報を参照する。試行部24bは、指定情報により指定されたメモリを選択する。試行部24bは、メモリにアクセスするためのバスのウエイト時間を変更しながら、選択したメモリにデータを書き込む。試行部24bは、選択したメモリからデータを読み出す。ウエイト時間測定部24cは、メイン基板20に設けられる。ウエイト時間測定部24cは、試行部24bによって読み出したデータと書き込んだデータとが一致する場合におけるウエイト時間を、指定されたメモリのウエイト時間と決定する。   As described above, the processing apparatus 1 according to the embodiment is a processing apparatus including the main substrate 20 having a processor and the peripheral substrate 10 having a plurality of memories, and includes a storage unit 14, a specified information reading unit 24a, A trial unit 24b and a wait time measurement unit 24c are provided. The storage unit 14 is provided in the peripheral substrate 10 and stores designation information for designating a part or all of the plurality of memories of the peripheral substrate 10. The designation information reading unit 24 a is provided on the main board 20 and reads designation information from the peripheral board 10. The trial unit 24b is provided on the main board 20 and refers to the designation information read by the designation information reading unit 24a. The trial unit 24b selects the memory designated by the designation information. The trial unit 24b writes data to the selected memory while changing the wait time of the bus for accessing the memory. The trial unit 24b reads data from the selected memory. The wait time measuring unit 24 c is provided on the main board 20. The wait time measuring unit 24c determines the wait time when the data read by the trial unit 24b matches the written data as the specified memory wait time.

実施形態のウエイト時間測定方法は、プロセッサを有するメイン基板20と複数のメモリを有する周辺基板10とを有する処理装置1におけるウエイト時間測定方法であって、読み出すステップと、決定するステップとを含む。読み出すステップでは、指定情報読み出し部24aは、メイン基板20に設けられ、周辺基板10から指定情報を読み出す。試行部24bは、メイン基板20に設けられ、指定情報読み出し部24aにより読み出した指定情報を参照する。試行部24bは、指定情報により指定されたメモリを選択する。試行部24bは、メモリにアクセスするためのバスのウエイト時間を変更しながら、選択したメモリにデータを書き込む。試行部24bは、選択したメモリからデータを読み出す。決定するステップでは、ウエイト時間測定部24cは、試行部24bによって読み出したデータと書き込んだデータとが一致する場合におけるウエイト時間を、指定されたメモリのウエイト時間と決定する。   The wait time measuring method of the embodiment is a wait time measuring method in the processing apparatus 1 having the main substrate 20 having a processor and the peripheral substrate 10 having a plurality of memories, and includes a reading step and a determining step. In the reading step, the designation information reading unit 24 a is provided on the main board 20 and reads the designation information from the peripheral board 10. The trial unit 24b is provided on the main board 20 and refers to the designation information read by the designation information reading unit 24a. The trial unit 24b selects the memory designated by the designation information. The trial unit 24b writes data to the selected memory while changing the wait time of the bus for accessing the memory. The trial unit 24b reads data from the selected memory. In the determining step, the wait time measuring unit 24c determines the wait time when the data read by the trial unit 24b matches the written data as the wait time of the designated memory.

この構成によって、試行部24bは、指定情報を参照する。試行部24bは、指定情報により指定されたメモリを選択する。試行部24bは、メモリにアクセスするためのバスのウエイト時間を変更しながら、選択したメモリにデータを書き込む。試行部24bは、選択したメモリからデータを読み出す。実施形態の処理装置1、及びウエイト時間測定方法は、組み合わされた基板における処理速度を向上させることができる。   With this configuration, the trial unit 24b refers to the designation information. The trial unit 24b selects the memory designated by the designation information. The trial unit 24b writes data to the selected memory while changing the wait time of the bus for accessing the memory. The trial unit 24b reads data from the selected memory. The processing apparatus 1 and the weight time measuring method of the embodiment can improve the processing speed of the combined substrates.

実施形態の処理装置1、及びウエイト時間測定方法は、複数のメモリに対し、ウエイト時間を設定することが必要なメモリに対してのみ、ウエイト時間を設定することができる。実施形態の処理装置1、及びウエイト時間測定方法は、ウエイト時間を設定するために必要な時間を、短縮することができる。実施形態の処理装置1、及びウエイト時間測定方法は、メモリの不具合を検査する場合、診断モードで起動して、周辺基板10の全てのメモリを検査することができる。   The processing apparatus 1 and the wait time measuring method of the embodiment can set the wait time only for a memory that needs to set the wait time for a plurality of memories. The processing apparatus 1 and the wait time measuring method of the embodiment can reduce the time required for setting the wait time. The processing apparatus 1 and the wait time measuring method according to the embodiment can be started in the diagnosis mode and inspect all the memories on the peripheral board 10 when inspecting a memory defect.

実施形態の処理装置1は、以下のように表現できる。
プロセッサを有するメイン基板20と複数のメモリを有する周辺基板10とを有する処理装置1であって、
周辺基板10に設けられ、周辺基板10の複数のメモリうち一部又は全部のメモリを選択するための指定情報を記憶する記憶部14と、
メイン基板20に設けられ、周辺基板10から指定情報を読み出す指定情報読み出し部24aと、
メイン基板20に設けられ、指定情報を参照し、記憶部14により指定されたメモリを選択し、選択したメモリにアクセスすることによって最短のウエイト時間を求める試行部24bと、
メイン基板20に設けられ、試行部24bによって読み出したデータと書き込んだデータとが一致する場合におけるウエイト時間を、指定されたメモリのウエイト時間と決定するウエイト時間測定部24cと、
を備える処理装置。
The processing apparatus 1 of the embodiment can be expressed as follows.
A processing apparatus 1 having a main substrate 20 having a processor and a peripheral substrate 10 having a plurality of memories,
A storage unit 14 provided on the peripheral substrate 10 for storing designation information for selecting some or all of the plurality of memories of the peripheral substrate 10;
A designation information reading unit 24a provided on the main board 20 for reading the designation information from the peripheral board 10,
A trial unit 24b that is provided on the main board 20, refers to the designation information, selects a memory designated by the storage unit 14, and accesses the selected memory to obtain the shortest wait time;
A wait time measurement unit 24c that is provided on the main board 20 and determines the wait time when the data read by the trial unit 24b matches the written data as the wait time of the designated memory;
A processing apparatus comprising:

以上述べた少なくともひとつの実施形態の処理装置1によれば、プロセッサを有するメイン基板と複数のメモリを有する周辺基板とを有する処理装置の試行部24bであって、指定情報を参照し、指定情報により指定されたメモリを選択し、メモリにアクセスするためのバスのウエイト時間を変更しながら、選択したメモリにデータを書き込んでから、選択したメモリからデータを読み出す試行部24bを持つことにより、組み合わされた基板における処理速度を向上させることができる。   According to the processing apparatus 1 of at least one embodiment described above, it is a trial unit 24b of a processing apparatus having a main substrate having a processor and a peripheral substrate having a plurality of memories. By selecting the memory specified by the above, and changing the wait time of the bus for accessing the memory, writing the data to the selected memory and then reading the data from the selected memory, the combination unit is provided. The processing speed in the processed substrate can be improved.

以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   As mentioned above, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are also included in the invention described in the claims and the equivalents thereof.

1…処理装置、10…周辺基板、11…メモリ、12…メモリ、13…コネクタ、14…記憶部、20…メイン基板、21…コネクタ、22…切替部、23…メモリ、24…制御部、24…処理部、24a…指定情報読み出し部、24b…試行部、24c…ウエイト時間測定部、25…提示部、M11…テーブルデータ、M12…テーブルデータ、CS0…チップセレクトピン、CS1…チップセレクトピン DESCRIPTION OF SYMBOLS 1 ... Processing apparatus, 10 ... Peripheral board | substrate, 11 ... Memory, 12 ... Memory, 13 ... Connector, 14 ... Memory | storage part, 20 ... Main board | substrate, 21 ... Connector, 22 ... Switching part, 23 ... Memory, 24 ... Control part, 24 ... Processing unit, 24a ... Specified information reading unit, 24b ... Trial unit, 24c ... Wait time measuring unit, 25 ... Presentation unit, M11 ... Table data, M12 ... Table data, CS0 ... Chip select pin, CS1 ... Chip select pin

Claims (5)

プロセッサを有するメイン基板と複数のメモリを有する周辺基板とを有する処理装置であって、
前記周辺基板に設けられ、複数のメモリのうち一部又は全部のメモリを指定する指定情報を記憶する記憶部と、
前記メイン基板に設けられ、前記周辺基板から前記指定情報を読み出す指定情報読み出し部と、
前記メイン基板に設けられ、前記指定情報読み出し部により読み出した前記指定情報を参照し、前記指定情報により指定されたメモリを選択し、前記メモリにアクセスするためのバスのウエイト時間を変更しながら、選択した前記メモリにデータを書き込んでから、選択した前記メモリから前記データを読み出す試行部と、
前記メイン基板に設けられ、前記試行部によって読み出したデータと書き込んだデータとが一致する場合における前記ウエイト時間を、指定されたメモリのウエイト時間と決定するウエイト時間測定部と、
前記メイン基板に設けられ、前記試行部の動作モードを第1の動作モードと第2の動作モードとに切り替える切替部と、
を備え、
前記試行部は、前記第1の動作モードでは前記指定情報を参照し、前記指定情報により指定された前記メモリを選択して、選択した前記メモリについて前記ウエイト時間を測定し、前記第2の動作モードでは前記指定情報を参照せずに全ての前記メモリについて前記ウエイト時間を測定する、処理装置。
A processing apparatus having a main substrate having a processor and a peripheral substrate having a plurality of memories,
A storage unit that is provided on the peripheral substrate and stores designation information that designates some or all of the plurality of memories;
A designation information reading unit provided on the main board and reading the designation information from the peripheral board;
Provided on the main board, referring to the designation information read by the designation information reading unit, selecting a memory designated by the designation information, while changing a wait time of a bus for accessing the memory, A trial unit that writes data to the selected memory and then reads the data from the selected memory;
A wait time measurement unit that is provided on the main board and determines the wait time when the data read by the trial unit and the written data match, the wait time of the designated memory;
A switching unit that is provided on the main board and switches the operation mode of the trial unit between a first operation mode and a second operation mode;
With
The trial unit refers to the designation information in the first operation mode, selects the memory designated by the designation information, measures the wait time for the selected memory, and performs the second operation. The processing apparatus that measures the wait time for all the memories without referring to the designation information in the mode .
前記試行部は、前記メモリのアドレスごとに異なるデータを前記メモリに書き込む、請求項に記載の処理装置。 The processing device according to claim 1 , wherein the trial unit writes different data to the memory for each address of the memory. 前記メイン基板に設けられ、前記ウエイト時間測定部によって決定された前記ウエイト時間を提示する提示部
をさらに有する、請求項1または請求項に記載の処理装置。
Wherein provided on the main board further includes a presentation unit for presenting the wait time determined by the wait time measuring unit, the processing apparatus according to claim 1 or claim 2.
前記ウエイト時間測定部は、前記試行部が前記メモリに所定回数以上アクセスしても、前記読み出したデータと書き込んだデータとが一致しなかった場合、前記試行部が前記メモリにアクセスできなかったと決定する、請求項1から請求項のいずれか一項に記載の処理装置。 The wait time measurement unit determines that the trial unit cannot access the memory if the read data does not match the written data even if the trial unit accesses the memory a predetermined number of times or more. The processing apparatus according to any one of claims 1 to 3 . プロセッサを有するメイン基板と複数のメモリを有する周辺基板とを有する処理装置におけるウエイト時間測定方法であって、
複数のメモリのうち一部又は全部のメモリを指定する指定情報を読み出し、読み出した指定情報を参照し、前記指定情報により指定されたメモリを選択し、前記メモリにアクセスするためのバスのウエイト時間を変更しながら、選択した前記メモリにデータを書き込んでから、選択した前記メモリから前記データを読み出す試行ステップと、
読み出したデータと書き込んだデータとが一致する場合における前記ウエイト時間を、指定されたメモリのウエイト時間と決定するウエイト時間測定ステップと、
前記試行ステップにおける動作モードを第1の動作モードと第2の動作モードとに切り替える切替ステップとを含み、
前記第1の動作モードでは前記指定情報を参照し、前記指定情報により指定された前記メモリを選択して、選択した前記メモリについて前記ウエイト時間を測定し、前記第2の動作モードでは前記指定情報を参照せずに全ての前記メモリについて前記ウエイト時間を測定する、
ウエイト時間測定方法。
A wait time measuring method in a processing apparatus having a main substrate having a processor and a peripheral substrate having a plurality of memories,
Wait time of a bus for reading designation information for designating a part or all of the plurality of memories, referring to the read designation information, selecting a memory designated by the designation information, and accessing the memory while changing the a trial step of the write data to the memory selected, reading the data from said memory the selected,
A wait time measurement step for determining the wait time when the read data and the written data match with the designated memory wait time;
A switching step of switching the operation mode in the trial step between the first operation mode and the second operation mode,
The designation information is referred to in the first operation mode, the memory designated by the designation information is selected, the wait time is measured for the selected memory, and the designation information is designated in the second operation mode. Measuring the wait time for all the memories without referring to
Wait time measurement method.
JP2014178332A 2014-09-02 2014-09-02 Processing apparatus and weight time measuring method Active JP6316145B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014178332A JP6316145B2 (en) 2014-09-02 2014-09-02 Processing apparatus and weight time measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014178332A JP6316145B2 (en) 2014-09-02 2014-09-02 Processing apparatus and weight time measuring method

Publications (2)

Publication Number Publication Date
JP2016051454A JP2016051454A (en) 2016-04-11
JP6316145B2 true JP6316145B2 (en) 2018-04-25

Family

ID=55658875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014178332A Active JP6316145B2 (en) 2014-09-02 2014-09-02 Processing apparatus and weight time measuring method

Country Status (1)

Country Link
JP (1) JP6316145B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6997943B2 (en) 2017-09-22 2022-01-18 トヨタ自動車株式会社 Positive electrode material and lithium secondary battery using it

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53108243A (en) * 1977-03-03 1978-09-20 Omron Tateisi Electronics Co Measurement system for memory access time
JPH0844615A (en) * 1994-07-29 1996-02-16 Nkk Corp Central processing unit
JPH08110872A (en) * 1994-10-11 1996-04-30 Fuji Photo Film Co Ltd Computer system
JP2000076122A (en) * 1998-08-31 2000-03-14 Hitachi Ltd Data processing device

Also Published As

Publication number Publication date
JP2016051454A (en) 2016-04-11

Similar Documents

Publication Publication Date Title
US11442107B2 (en) System-on-chip for AT-SPEED test of logic circuit and operating method thereof
US20080016415A1 (en) Evaluation system and method
US20100195425A1 (en) Semiconductor device, semiconductor package and memory repair method
JP5545718B2 (en) System and method for testing and providing an integrated circuit having a plurality of modules or sub-modules
US10839931B2 (en) Zero test time memory using background built-in self-test
JP4889792B2 (en) Test equipment
US6934205B1 (en) Bist for parallel testing of on chip memory
KR20160005570A (en) Methods for maunfacturing and operating memory device and method for operating thereof
US9971682B2 (en) Wear-leveling system and method for reducing stress on memory device using erase counters
JP6316145B2 (en) Processing apparatus and weight time measuring method
CN104881338B (en) semiconductor equipment
US20220318121A1 (en) Semiconductor device
US8930783B2 (en) pBIST read only memory image compression
US7047444B2 (en) Address selection for testing of a microprocessor
CN105825898B (en) Dynamic memory testing device and testing method thereof
JP5261770B2 (en) Data processing device
CN100468578C (en) Semiconductor device and test method thereof
CN103871476B (en) In-line memory tests system
CN111984456B (en) SoC capable of verifying the correctness of memory data
US7333106B1 (en) Method and apparatus for Z-buffer operations
US20140085994A1 (en) Integrated circuitry, chip, method for testing a memory device, method for manufacturing an integrated circuit and method for manufacturing a chip
JPWO2009060495A1 (en) Semiconductor memory device and control method thereof
CN119088301A (en) Data access control circuit, data calibration method, chip and electronic device
US20070226573A1 (en) System on chip having test circuit
JP4656063B2 (en) How to identify the memory card

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170317

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170911

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180208

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180227

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180327

R150 Certificate of patent or registration of utility model

Ref document number: 6316145

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150