WO2009145512A2 - Wireless program downloader and embedded device having the same - Google Patents

Wireless program downloader and embedded device having the same Download PDF

Info

Publication number
WO2009145512A2
WO2009145512A2 PCT/KR2009/002472 KR2009002472W WO2009145512A2 WO 2009145512 A2 WO2009145512 A2 WO 2009145512A2 KR 2009002472 W KR2009002472 W KR 2009002472W WO 2009145512 A2 WO2009145512 A2 WO 2009145512A2
Authority
WO
WIPO (PCT)
Prior art keywords
embedded device
wireless
downloader
program downloader
image
Prior art date
Application number
PCT/KR2009/002472
Other languages
French (fr)
Korean (ko)
Other versions
WO2009145512A3 (en
Inventor
이주현
김석봉
Original Assignee
주식회사 아이뉴정보통신
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 주식회사 아이뉴정보통신 filed Critical 주식회사 아이뉴정보통신
Publication of WO2009145512A2 publication Critical patent/WO2009145512A2/en
Publication of WO2009145512A3 publication Critical patent/WO2009145512A3/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Definitions

  • the present invention relates to a program downloader capable of writing and debugging a program in a target memory of an embedded device.
  • the present invention also relates to an embedded device including the program downloader.
  • the invention also relates to a method of writing and debugging a program in a target memory of an embedded device.
  • the embedded device may generally include an FPGA, a PLD, and the like such as ALTERA, XILINX, and the like, and a CPU, an MCU, and the like.
  • an image for configuring the configuration of the FPGA, PLD, etc. may be downloaded, or an image that will be a program for controlling the operation of the CPU, MCU, etc. may be downloaded (hereinafter, the configuration for configuring the FPGA, PLD, etc.) may be downloaded.
  • downloading and recording a program such as a CPU or MCU is simply called 'programming'.
  • the operation is tested and debugging is performed step by step for error verification.
  • FIG. 1 is a diagram conceptually showing an entire configuration for recording an image in the target memory 15 of the conventional embedded device 14.
  • the PC 10 or notebook 20 is connected to the program downloader 12 via a serial, parallel or USB connection 11, and the program downloader 12 is connected via the connection device 13 and the embedded device 14. do.
  • the PC 10 or the notebook 20 transmits the image to the program downloader 12, and the program downloader 12 sequentially writes the image to the target memory 15 of the embedded device 14, thereby providing the FPGA, PLD, and CPU. Program the MCU, etc.
  • the embedded device 14 is often inserted into a large main unit or mounted in a rack rather than operated as a single board. If it is necessary to reprogram the FPGA, PLD, CPU, MCU, etc. of the embedded device 14 for function correction or function improvement, according to the conventional method, the embedded device 14 may be connected to the PC 10 or the like. It should be brought near the notebook 20. In addition, even if the embedded device 14 is in the vicinity of the PC 10 or the notebook 20, when the embedded device 14 is mounted in a rack, the connection cable 13 of the program downloader 12 is connected to the embedded device. It is often difficult to connect to the connector of (14).
  • the embedded device 14 is detached from the main device or the rack to perform an image download, and when the image download is completed, the embedded device 14 must be coupled to the main device or the rack again. If so, if it is necessary to correct or improve the function while operating the embedded device 14, there is a problem that the operation downtime of the system is long.
  • the conventional program downloader 12 may be combined with one embedded device 14, and thus, when a plurality of embedded devices 14 are to be programmed, the program downloader 12 may be sequentially connected to each embedded device 14 and downloaded. There is no choice but to. Therefore, a large amount of time and manpower is required to program a plurality of embedded devices 14.
  • the present invention has been made in view of solving the problems of the background technologies described above or in consideration of the situations in which the background technologies are located, and has the following technical problems.
  • One technical problem of the present invention is to provide a programming method and a program downloader that make it easier to program an embedded device.
  • Another technical problem of the present invention is to provide a programming method and a program downloader capable of minimizing downtime of a system including an embedded device.
  • Another technical problem of the present invention is to provide a programming method and a program downloader capable of simultaneously programming a plurality of embedded devices.
  • the wireless program downloader 23 of the present invention includes a wireless module unit 122 for wirelessly receiving an image for recording in the target memory 15 of the embedded device 14; A download connector unit 126 for establishing an electrical connection with the embedded device 14; And a MCU 123 for controlling the transmission of the received image through the download connector 126 so that the received image can be sequentially recorded in the target memory 15 of the embedded device 14. It features.
  • the control device 134 for controlling the overall operation of the embedded device 14;
  • a target memory (15) for recording an image for programming the control device (134) or a programmable device;
  • a wireless module unit (122) for wirelessly receiving an image for recording in the target memory (15);
  • a MCU (123) for controlling the received image to be sequentially recorded in the target memory 15 or controlling the image to be sequentially recorded in the target memory 15 through the control device 134 of the embedded device 14;
  • the wireless program downloader 23 is configured to be integrally formed.
  • the program download method of the present invention includes: a first process (210) for receiving a message indicating that the wireless program downloader 211 is in operation and searching for and displaying the operating wireless program downloader 23; Select the wireless program downloader 23 to be programmed among the searched wireless program downloaders 23 and transmit the fact of this selection to the selected wireless program downloader 23, and select a download mode to send a message regarding the download mode to the wireless program downloader 23.
  • the embedded device 14 can be programmed wirelessly via the wireless program downloader 23 without removing the embedded device 14 from the main unit or rack, thereby making programming with the embedded device 14 easier. It has the effect of downloading an image to do.
  • the embedded device 14 can be programmed wirelessly via the wireless program downloader 23 without removing the embedded device 14 from the system or the rack, the system including the embedded device 14 This has the effect of minimizing downtime.
  • FIG. 1 is a diagram conceptually showing an entire configuration for recording an image in the target memory 15 of the conventional embedded device 14.
  • FIG. 2 exemplarily illustrates a situation in which the wireless program downloader 23 of the present invention is connected to the embedded device 14 and the PC 10 or the notebook 20.
  • FIG. 3 is a diagram conceptually showing a detailed configuration of the wireless program downloader 23 and the embedded device 14 according to an embodiment of the present invention.
  • FIG. 4 is a diagram illustrating a situation in which a plurality of embedded devices 14 are programmed using the wireless program downloader 23 of the present invention.
  • FIG. 5 is a flowchart sequentially illustrating a flow of messages or signals transmitted and received between the PC 10 or the notebook 20, the wireless program downloader 23, and the embedded device 14.
  • One feature of the present invention is the wireless connection between the PC 10 or the notebook 20 and the wireless program downloader 23.
  • the conventional method of connecting the program downloader 12 by wire is useful as it is in the development process of the embedded device 14, but there are many inconveniences in correcting errors or improving the function of the embedded device 14 in operation.
  • FIG. 2 exemplarily illustrates a situation in which the wireless program downloader 23 of the present invention is connected to the embedded device 14 and the PC 10 or the notebook 20.
  • the wireless client device 21 of the PC 10 or the notebook 20 is connected to the wireless program downloader 23 of the present invention through the wireless relay device 22.
  • the wireless program downloader 23 is connected to the embedded device 14 via a connector, and the wireless program downloader 23 records an image for programming in the target memory 15 of the embedded device 14.
  • the wireless program downloader 23 may be integrally configured on the board of the embedded device 14.
  • the wireless program downloader 23 is connected to the PC 10 or the notebook 20 through the wireless relay device 22.
  • the wireless program downloader 23 is directly connected to the PC 10 or the notebook.
  • 20 may be connected to the PC 10 or the notebook 20 via another wireless program download 23.
  • the wireless connection may be performed in various ways such as wireless LAN, UWB, Bluetooth, and the like.
  • FIG. 3 is a diagram conceptually showing a detailed configuration of the wireless program downloader 23 and the embedded device 14 according to an embodiment of the present invention.
  • the wireless program downloader 23 may transmit and receive data to and from the embedded device 14 through the download connector unit 126 and receive power.
  • the wireless program downloader 23 may include a HW password / decryption unit 121, a wireless module unit 122, a download connector unit 126, and a memory unit 127, and may optionally include a power supply unit 120. have.
  • Power is received from the embedded device 14 via the download connector unit 126.
  • the power supply unit 120 may be included, and the power supply unit 120 may convert power received from the embedded device 14 or supply power with its own battery, and supply external power through an AC adapter. You can get it.
  • the HW encryption / decoding unit 121 is for protecting data transmitted and received wirelessly. Since the PC 10 or the notebook 20 needs to be programmed for the plurality of wireless program downloaders 23, it is necessary to accurately identify the embedded device 14 to be programmed. There is also a need to prevent unauthorized users from programming the embedded device 14.
  • the HW encryption / decryption unit 121 records the necessary encryption key and then encrypts and transmits the encrypted key using the encryption key when transmitting and receiving data, and decrypts the received data using the encryption key.
  • the wireless module unit 122 is a hardware module unit for short-range wireless communication, such as a wireless LAN, UWB, or Bluetooth, and may use a conventional wireless LAN module, a UWB module, or a Bluetooth module.
  • the download connector unit 126 is for establishing an electrical connection with the download connector unit 133 of the embedded device 14, for example, a 10 pin connector.
  • the MCU 123 is for controlling the overall operation of the wireless program downloader 23.
  • the MCU 123 controls the wireless module unit 122 to download programming images from the PC 10 or the notebook 20, and sequentially records the downloaded images into the target memory 15 of the embedded device 14. To be able.
  • the MCU 123 receives the message indicating the sequential debugging and transmits the message to the embedded device 14, and transmits a result value of the sequential debugging from the embedded device 14 to the wireless module unit ( 122) to transmit.
  • FIG. 3 additionally illustrates a conventional general embedded device 14, and the embedded device 14 may include a power supply unit 131, a download connector unit 133, a target memory 15, and a controller 134. ), And the like.
  • the control device 134 is a device for controlling the overall operation of the embedded device 14, may be a general CPU or MCU.
  • the target memory 15 is an area in which the image to be downloaded is stored.
  • the memory area stores a configuration of an FPGA, a PLD, and the like (hereinafter, referred to as a "programmable device"), or an area in which a software program for the control device 134 is stored.
  • the target memory 15 may be inside or outside the programmable device, and may be inside or outside the control device 134.
  • the power supply unit 131 may not only supply power to the embedded device 14 but may also be connected to the download connector unit 133 to supply power to the wireless program downloader 23.
  • the target memory 132 is an area in which an image downloaded through the wireless program downloader 23 is recorded, and the recorded image programs the programmable device of the embedded device 14.
  • the download connector unit 126 of the wireless program downloader 23 and the download connector unit 133 of the embedded device 14 are unnecessary. However, wiring for electrical connection is necessary.
  • FIG. 4 is a diagram showing a situation in which a plurality of embedded devices 14 are programmed using the wireless program downloader 23 of the present invention.
  • the wireless program downloader 23 may record a unique number for identifying itself and an encryption key for encryption / decryption.
  • the wireless program downloader 23 connects to the application of the PC 10 or the notebook 20 by using the recorded unique number and the encryption key, so that a plurality of embedded devices 14 can be simultaneously programmed.
  • FIG. 5 is a flowchart sequentially illustrating a flow of messages or signals transmitted and received between the PC 10 or the notebook 20, the wireless program downloader 23, and the embedded device 14.
  • the flowchart includes a wireless program downloader operation checking process 210, a downloadable state switching and image recording mode setting process 220, an image recording process 230, a sequential debugging process 250, and a standby process 260. .
  • the wireless program downloader operation checking process 210 transmits a message to the PC 10 or the notebook 20 informing that the wireless program download is in operation, and the PC 10 or the notebook 20 transmits the wireless program download in operation ( 23) The process of searching and displaying.
  • the wireless program downloader 23 is initially set to a non-downloadable state (212), and in a non-downloadable state periodically broadcasts a live message including a unique number and an encryption key (211).
  • the live message is a message informing the PC 10 or the notebook 20 that the wireless program downloader 23 is operating.
  • the PC 10 or the notebook 20 searches for the presence of a live message, and if the live message is found, displays the corresponding wireless program downloader 23 (214).
  • the PC 10 or the notebook 20 transmits a Live_OK message to the wireless program downloader 23 as a response to the live message (215).
  • the downloadable state switching and image recording mode setting process 220 is a process of changing the wireless program downloader 23 into a downloadable state and setting the download mode.
  • a wireless program downloader 23 to be programmed is selected among the searched wireless program downloaders 23, a Choice message including a unique number is transmitted to the wireless program downloader 23 (222).
  • the wireless program downloader 23 receives the Choice message, the wireless program downloader 23 changes to the downloadable state (233), and transmits a Choice_OK message to inform the PC 10 or the notebook 20 that the change is completed (244).
  • the download mode which is a download method, is selected in the PC 10 or the notebook 20 (225)
  • a ModeSelection message is transmitted (226) to inform the wireless program downloader 23 of the selected download mode.
  • the wireless program downloader 23 sets the download mode (227), and sends a ModeSelection_OK message to inform that the mode setting is completed (228).
  • the image recording process 230 is a process of recording an image in the target memory 15 of the embedded device via the wireless program download 23.
  • the PC 10 or the notebook 20 loads an image to be recorded in the wireless program downloader 23 (231).
  • the wireless program downloader 23 transmits an ImageWrite message including an image to be recorded (233).
  • the wireless program downloader 23 receives the ImageWrite message and sequentially records the images in the target memory 15 of the embedded device 14 or transmits the images to the MCU 134 of the embedded device 14 (234).
  • the MCU 134 writes the image to the target memory 15 (235).
  • This image recording or image transmission 234 continues sequentially until image recording is completed, but the illustration is omitted in FIG.
  • the embedded device 14 transmits an ImageDone message to the wireless program downloader 23 to inform that the image recording is completed, and the wireless program downloader 23 sends an ImageWrite_OK message to the PC 10. Or transmits to the notebook 20 (240).
  • the sequential debugging process 250 is a process of sequentially executing the operation of the embedded device 14 in the PC 10 or the notebook 20 and confirming the result of the execution.
  • the PC 10 or the notebook 20 may sequentially debug the embedded device 14 through the wireless program downloader 23. If sequential debugging is selected (251), the PC 10 or notebook 20 sends a StepDebug1 message to the wireless program downloader 23 (252), and the wireless program download 23 sends a StepDebug2 message to the embedded device 14. It transmits (253).
  • the StepDebug1 message contains the unique number of the wireless program downloader 23 associated with the embedded device 14 to be debugged and the sequence number of the program to be executed by the embedded device 14.
  • the program here refers to software that the embedded device 14 will execute.
  • the StepDebug2 message contains the sequence number of the program to be executed by the embedded device 14.
  • the embedded device 14 proceeds debugging 254 sequentially, and as a result, the status value is returned to the wireless program downloader 23 as a StepStatus1 message (255), and the wireless program downloader 23 has its own unique number and the state.
  • the StepStaus2 message containing the value is transmitted to the PC 10 or the notebook 20 (256).
  • the standby process 260 is a process of operating the embedded device in which recording is completed.
  • the PC 10 or the notebook 20 transmits a StandBy message including the unique number of the wireless program downloader 23 to the wireless program downloader 262 (262).
  • the wireless program downloader 23 receives the StandBy message, the wireless program downloader 23 transmits a reset command to the embedded device 14 (263), and changes itself to a non-downloadable state (265).
  • the wireless program downloader 23 transmits a StandBy_OK message to the PC 10 or the notebook 20 (264), and broadcasts a live message (267).
  • a message transmitted and received between the PC 10 or the notebook 20 and the wireless program downloader 23 is encrypted before being transmitted, and the received message is recovered through a decryption process.
  • the encryption and decryption process is processed by the HW encryption / decryption unit 121 in the case of the wireless program downloader 23 and in the application program in the case of the PC 10 or the notebook 20.
  • the embedded device can be programmed wirelessly through the wireless program downloader without removing the embedded device from the system or rack, it is easier to download an image to be programmed into the embedded device, and includes the embedded device. It is possible to minimize downtime of the system, and to download and record programming images to multiple embedded devices at once through a wireless connection, thereby minimizing manpower and time for download. There is a possibility.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a program downloader (23) providing functions that download an image in a target memory (15) of an embedded device (14) and perform sequential debugging. The wireless downloader (23) of the present invention includes: a wireless module (122) for wirelessly receiving an image which is to be stored in the target memory (15) of the embedded device (14); a download connector (126) for establishing the electrical connection with the embedded device (14); and an MCU (123) for controling the received image to be transmitted through the download connector (126) so that the received image may be sequentially recorded in the target memory (15) of the embedded device (14). The program downloading method of the present invention comprises: a first step (210) of receiving a message that reports the activation of wireless program downloader (211) and searching and displaying the activated wireless program downloader (23); a second step (220) of selecting from the searched wireless program downloaders (23) a wireless program downloader (23) to be programmed, then transmitting the selection information to the selected wireless program downloader, selecting a download mode, and transmitting a message relating to the download mode to the wireless program downloader (23); and a third step (230) of transmitting to the wireless program downloader (23) the image which is to be recorded in the target memory (15) of the embedded device (14).

Description

무선 프로그램 다운로더 및 무선 프로그램 다운로더 일체형 임베디드 장치 Wireless program downloader and wireless program downloader all-in-one embedded device
본 발명은 임베디드 장치의 타겟 메모리에 프로그램을 기록하고 디버깅할 수 있는 프로그램 다운로더에 관한 것이다.The present invention relates to a program downloader capable of writing and debugging a program in a target memory of an embedded device.
또한, 본 발명은 상기 프로그램 다운로더를 포함하는 임베디드 장치에 관한 것이다.The present invention also relates to an embedded device including the program downloader.
또한, 본 발명은 임베디드 장치의 타겟 메모리에 프로그램을 기록하고 디버깅하는 방법에 관한 것이다. The invention also relates to a method of writing and debugging a program in a target memory of an embedded device.
임베디드 장치는 통상 ALTERA, XILINX 등과 같은 FPGA, PLD 등과, CPU, MCU 등을 포함하여 구성될 수 있다. 임베디드 장치의 개발과정에서는 FPGA, PLD 등의 구성을 configuration하는 이미지를 다운로드하거나, CPU, MCU 등의 동작을 제어하는 프로그램이 될 이미지를 다운로드할 수 있다(이하, FPGA, PLD 등의 구성을 configure하는 것과, CPU, MCU 등의 프로그램을 다운로드하여 기록하는 것을 간단히 '프로그래밍'이라 한다.). 또한, 임베디드 장치의 개발과정에서는 그 동작을 시험하며, 오류 검증을 위하여 단계별 디버깅을 수행한다.The embedded device may generally include an FPGA, a PLD, and the like such as ALTERA, XILINX, and the like, and a CPU, an MCU, and the like. In the development process of the embedded device, an image for configuring the configuration of the FPGA, PLD, etc. may be downloaded, or an image that will be a program for controlling the operation of the CPU, MCU, etc. may be downloaded (hereinafter, the configuration for configuring the FPGA, PLD, etc.) may be downloaded. In addition, downloading and recording a program such as a CPU or MCU is simply called 'programming'. In the development process of the embedded device, the operation is tested and debugging is performed step by step for error verification.
도 1은 종래 임베디드 장치(14)의 타겟 메모리(15)에 이미지를 기록하기 위한 전체 구성을 개념적으로 도시한 도면이다. FIG. 1 is a diagram conceptually showing an entire configuration for recording an image in the target memory 15 of the conventional embedded device 14.
PC(10) 또는 노트북(20)은 직렬, 병렬 또는 USB 연결(11)을 통하여 프로그램 다운로더(12)와 연결되고, 프로그램 다운로더(12)는 임베디드 장치(14)와 연결 케이블(13)을 통하여 연결된다. PC(10) 또는 노트북(20)은 프로그램 다운로더(12)에 이미지를 전송하며, 프로그램 다운로더(12)는 임베디드 장치(14)의 타겟 메모리(15)에 순차적으로 이미지를 기록하여 FPGA, PLD, CPU, MCU 등을 프로그램밍한다.The PC 10 or notebook 20 is connected to the program downloader 12 via a serial, parallel or USB connection 11, and the program downloader 12 is connected via the connection device 13 and the embedded device 14. do. The PC 10 or the notebook 20 transmits the image to the program downloader 12, and the program downloader 12 sequentially writes the image to the target memory 15 of the embedded device 14, thereby providing the FPGA, PLD, and CPU. Program the MCU, etc.
한편, 임베디드 장치(14)는 단독의 보드로 운영되기보다는 큰 주장치에 삽입되거나 랙에 탑재되어 운영되는 경우가 많다. 그렇다면, 이러한 임베디드 장치(14)의 FPGA, PLD, CPU, MCU 등에 대하여 기능 수정이나 기능 개선을 위하여 다시 프로그래밍할 필요가 있는 경우, 종래의 방식에 따르면, 임베디드 장치(14)를 PC(10) 또는 노트북(20)의 근방으로 가져와야 된다. 또한, 임베디드 장치(14)가 PC(10) 또는 노트북(20)의 근방에 있다고 하여도 임베디드 장치(14)가 랙에 탑재되어 있는 경우에는 프로그램 다운로더(12)의 연결케이블(13)을 임베디드 장치(14)의 커넥터에 연결하기 곤란한 경우가 많다.On the other hand, the embedded device 14 is often inserted into a large main unit or mounted in a rack rather than operated as a single board. If it is necessary to reprogram the FPGA, PLD, CPU, MCU, etc. of the embedded device 14 for function correction or function improvement, according to the conventional method, the embedded device 14 may be connected to the PC 10 or the like. It should be brought near the notebook 20. In addition, even if the embedded device 14 is in the vicinity of the PC 10 or the notebook 20, when the embedded device 14 is mounted in a rack, the connection cable 13 of the program downloader 12 is connected to the embedded device. It is often difficult to connect to the connector of (14).
또한, 종래의 방식에 따르면, 임베디드 장치(14)를 주장치 또는 랙에서 분리하여 이미지 다운로드를 실행하고 이미지 다운로드가 완료되면 다시 임베디드 장치(14)를 주장치 또는 랙에 결합시켜야 한다. 그렇다면, 임베디드 장치(14)를 운용하는 중에 기능 수정이나 기능 개선을 할 필요가 있는 경우, 시스템의 운용 중단 시간이 길어지는 문제가 있다. In addition, according to the conventional method, the embedded device 14 is detached from the main device or the rack to perform an image download, and when the image download is completed, the embedded device 14 must be coupled to the main device or the rack again. If so, if it is necessary to correct or improve the function while operating the embedded device 14, there is a problem that the operation downtime of the system is long.
또한, 종래의 프로그램 다운로더(12)는 하나의 임베디드 장치(14)와 결합될 수 있고, 따라서 여러 개의 임베디드 장치(14)를 프로그래밍하고자 하는 경우, 각 임베디드 장치(14)와 순차적으로 연결하여 다운로드할 수밖에 없다. 그러므로, 다수의 임베디드 장치(14)를 프로그램하기 위해서는 많은 시간과 인력이 필요하게 된다.In addition, the conventional program downloader 12 may be combined with one embedded device 14, and thus, when a plurality of embedded devices 14 are to be programmed, the program downloader 12 may be sequentially connected to each embedded device 14 and downloaded. There is no choice but to. Therefore, a large amount of time and manpower is required to program a plurality of embedded devices 14.
본 발명은 상기한 배경 기술들이 가진 문제점들을 해결하기 위해서, 또는 상기한 배경 기술들이 처한 상황들을 고려하여 안출된 것으로서 다음과 같은 기술적 과제를 가진다.The present invention has been made in view of solving the problems of the background technologies described above or in consideration of the situations in which the background technologies are located, and has the following technical problems.
본 발명의 한 기술적 과제는, 보다 용이하게 임베디드 장치를 프로그래밍할 수 있도록 하는 프로그래밍 방법 및 프로그램 다운로더를 제공하기 위한 것이다.One technical problem of the present invention is to provide a programming method and a program downloader that make it easier to program an embedded device.
본 발명의 또 다른 기술적 과제는, 임베디드 장치를 포함하는 시스템의 운용 중단 시간을 최소화할 수 있도록 하는 프로그래밍 방법 및 프로그램 다운로더를 제공하기 위한 것이다.Another technical problem of the present invention is to provide a programming method and a program downloader capable of minimizing downtime of a system including an embedded device.
본 발명의 또 다른 기술적 과제는, 다수의 임베디드 장치를 동시에 프로그래밍할 수 있는 프로그래밍 방법 및 프로그램 다운로더를 제공하기 위한 것이다.Another technical problem of the present invention is to provide a programming method and a program downloader capable of simultaneously programming a plurality of embedded devices.
본 발명의 무선 프로그램 다운로더(23)는, 임베디드 장치(14)의 타겟 메모리(15)에 기록되기 위한 이미지를 무선으로 수신하는 무선 모듈부(122); 상기 임베디드 장치(14)와의 전기적 연결을 확립하는 다운로드 커넥터부(126); 수신된 상기 이미지가 상기 임베디드 장치(14)의 타겟 메모리(15)에 순차 기록될 수 있도록, 수신된 상기 이미지를 상기 다운로드 커넥터(126)를 통하여 전송하도록 제어하는 MCU(123);를 포함하는 것을 특징으로 한다.The wireless program downloader 23 of the present invention includes a wireless module unit 122 for wirelessly receiving an image for recording in the target memory 15 of the embedded device 14; A download connector unit 126 for establishing an electrical connection with the embedded device 14; And a MCU 123 for controlling the transmission of the received image through the download connector 126 so that the received image can be sequentially recorded in the target memory 15 of the embedded device 14. It features.
본 발명의 임베디드 장치는, 임베디드 장치(14)의 전반적인 동작을 제어하는 제어장치(134); 상기 제어장치(134) 또는 프로그래머블 디바이스를 프로그래밍하는 이미지를 기록하기 위한 타겟 메모리(15);를 포함하되, 상기 타겟 메모리(15)에 기록되기 위한 이미지를 무선으로 수신하는 무선 모듈부(122); 수신된 상기 이미지가 상기 타겟 메모리(15)에 순차 기록되도록 제어하거나, 임베디드 장치(14)의 제어장치(134)를 통하여 상기 타겟 메모리(15)에 순차 기록되도록 제어하는 MCU(123);를 포함하여 구성되는 무선 프로그램 다운로더(23)가 일체로 형성되는 것을 특징으로 한다.Embedded device of the present invention, the control device 134 for controlling the overall operation of the embedded device 14; A target memory (15) for recording an image for programming the control device (134) or a programmable device; a wireless module unit (122) for wirelessly receiving an image for recording in the target memory (15); A MCU (123) for controlling the received image to be sequentially recorded in the target memory 15 or controlling the image to be sequentially recorded in the target memory 15 through the control device 134 of the embedded device 14; The wireless program downloader 23 is configured to be integrally formed.
본 발명의 프로그램 다운로드 방법은, 무선 프로그램 다운로더(211)가 동작 중임을 알려주는 메시지를 수신하며, 동작 중인 무선 프로그램 다운로더(23)를 검색하여 표시하는 제 1 과정(210); 검색된 상기 무선 프로그램 다운로더(23) 중에서 프로그래밍할 무선 프로그램 다운로더(23)를 선택하고 선택된 무선 프로그램 다운로더(23)에게 이러한 선택의 사실을 전송하며, 다운로드 모드를 선택하여 상기 다운로드 모드에 관한 메시지를 상기 무선 프로그램 다운로더(23)에게 전송하는 제 2 과정(220); 임베디드 장치(14)의 타겟 메모리(15)에 기록할 이미지를 무선 프로그램 다운로더(23)에게 전송하는 제 3 과정(230);을 포함하는 것을 특징으로 한다.The program download method of the present invention includes: a first process (210) for receiving a message indicating that the wireless program downloader 211 is in operation and searching for and displaying the operating wireless program downloader 23; Select the wireless program downloader 23 to be programmed among the searched wireless program downloaders 23 and transmit the fact of this selection to the selected wireless program downloader 23, and select a download mode to send a message regarding the download mode to the wireless program downloader 23. A second step 220 of transmitting to the program downloader 23; And a third process 230 of transmitting an image to be recorded in the target memory 15 of the embedded device 14 to the wireless program downloader 23.
본 발명에 따르면, 임베디드 장치(14)를 주장치 또는 랙에서 제거하지 않고도 무선 프로그램 다운로더(23)를 개재하여 무선으로 임베디드 장치(14)를 프로그래밍할 수 있으므로, 보다 용이하게 임베디드 장치(14)에 프로그래밍할 이미지를 다운로드할 수 있는 효과가 있다.According to the present invention, the embedded device 14 can be programmed wirelessly via the wireless program downloader 23 without removing the embedded device 14 from the main unit or rack, thereby making programming with the embedded device 14 easier. It has the effect of downloading an image to do.
본 발명에 따르면, 임베디드 장치(14)를 시스템 또는 랙에서 제거하지 않고도 무선 프로그램 다운로더(23)를 개재하여 무선으로 임베디드 장치(14)를 프로그래밍할 수 있으므로, 임베디드 장치(14)를 포함하는 시스템의 운용 중단 시간을 최소화할 수 있도록 하는 효과가 있다.According to the present invention, since the embedded device 14 can be programmed wirelessly via the wireless program downloader 23 without removing the embedded device 14 from the system or the rack, the system including the embedded device 14 This has the effect of minimizing downtime.
본 발명에 따르면, 무선 접속을 통하여 한꺼번에 다수의 임베디드 장치(14)에 프로그래밍용 이미지를 다운로드하여 기록할 수 있으므로, 다운로드를 위한 인력과 시간을 최소화할 수 있는 효과가 있다.According to the present invention, since it is possible to download and record programming images to a plurality of embedded devices 14 at once through a wireless connection, there is an effect of minimizing manpower and time for download.
도 1은 종래 임베디드 장치(14)의 타겟 메모리(15)에 이미지를 기록하기 위한 전체 구성을 개념적으로 도시한 도면이다. FIG. 1 is a diagram conceptually showing an entire configuration for recording an image in the target memory 15 of the conventional embedded device 14.
도 2는 본 발명의 무선 프로그램 다운로더(23)가 임베디드 장치(14) 및, PC(10) 또는 노트북(20)과 연결되는 상황을 예시적으로 도시한 도면이다.2 exemplarily illustrates a situation in which the wireless program downloader 23 of the present invention is connected to the embedded device 14 and the PC 10 or the notebook 20.
도 3은 본 발명의 일 실시예에 따른 무선 프로그램 다운로더(23)와 임베디드 장치(14)의 세부 구성을 개념적으로 도시한 도면이다.3 is a diagram conceptually showing a detailed configuration of the wireless program downloader 23 and the embedded device 14 according to an embodiment of the present invention.
도 4는 본 발명의 무선 프로그램 다운로더(23)를 사용하여 복수의 임베디드 장치(14)를 프로그밍하는 상황을 도시한 도면이다.4 is a diagram illustrating a situation in which a plurality of embedded devices 14 are programmed using the wireless program downloader 23 of the present invention.
도 5는 PC(10) 또는 노트북(20), 무선 프로그램 다운로더(23), 임베디드 장치(14) 사이에서 송수신 되는 메시지 또는 신호의 흐름을 순차적으로 보여주는 흐름도이다.5 is a flowchart sequentially illustrating a flow of messages or signals transmitted and received between the PC 10 or the notebook 20, the wireless program downloader 23, and the embedded device 14.
본 발명의 목적, 특징 및 장점은 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이, 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 실시예를 상세히 설명하기로 한다.The objects, features and advantages of the present invention will become more apparent from the following detailed description. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명에서는 PC(10) 또는 노트북(20)과 무선 프로그램 다운로더(23)를 무선으로 연결하는 점이 한 특징이다. 종래 프로그램 다운로더(12)를 유선으로 연결하는 방식은, 임베디드 장치(14)의 개발과정에서 그런대로 유용하지만 운용 중인 임베디드 장치(14)에 대한 오류 수정이나 기능 개선에는 많은 불편이 있었다. One feature of the present invention is the wireless connection between the PC 10 or the notebook 20 and the wireless program downloader 23. The conventional method of connecting the program downloader 12 by wire is useful as it is in the development process of the embedded device 14, but there are many inconveniences in correcting errors or improving the function of the embedded device 14 in operation.
도 2는 본 발명의 무선 프로그램 다운로더(23)가 임베디드 장치(14) 및, PC(10) 또는 노트북(20)과 연결되는 상황을 예시적으로 도시한 도면이다.2 exemplarily illustrates a situation in which the wireless program downloader 23 of the present invention is connected to the embedded device 14 and the PC 10 or the notebook 20.
PC(10) 또는 노트북(20)의 무선 클라이언트 장치(21)는 무선 중계 장치(22)를 통하여, 본 발명의 무선 프로그램 다운로더(23)와 연결된다. 무선 프로그램 다운로더(23)는 커넥터를 통하여 임베디드 장치(14)와 연결되며, 무선 프로그램 다운로더(23)는 임베디드 장치(14)의 타겟 메모리(15)에 프로그래밍하는 이미지를 기록한다. 다른 실시 형태로서, 무선 프로그램 다운로더(23)는 임베디드 장치(14)의 보드에 일체로 구성될 수도 있다.The wireless client device 21 of the PC 10 or the notebook 20 is connected to the wireless program downloader 23 of the present invention through the wireless relay device 22. The wireless program downloader 23 is connected to the embedded device 14 via a connector, and the wireless program downloader 23 records an image for programming in the target memory 15 of the embedded device 14. As another embodiment, the wireless program downloader 23 may be integrally configured on the board of the embedded device 14.
한편, 상기에서는 무선 프로그램 다운로더(23)가 무선 중계 장치(22)를 통하여 PC(10) 또는 노트북(20)과 연결되었으나, 다른 실시 형태로서 무선 프로그램 다운로더(23)는 직접 PC(10) 또는 노트북(20)에 연결되거나, 다른 무선 프로그램 다운로드(23)를 개재하여 PC(10) 또는 노트북(20)에 연결될 수도 있다. 무선 접속의 방식은 무선랜, UWB, 블루투스 등 다양한 방식이 가능하며, 특별히 한가지 방식에 한정될 필요는 없다.Meanwhile, in the above, the wireless program downloader 23 is connected to the PC 10 or the notebook 20 through the wireless relay device 22. In another embodiment, the wireless program downloader 23 is directly connected to the PC 10 or the notebook. 20 may be connected to the PC 10 or the notebook 20 via another wireless program download 23. The wireless connection may be performed in various ways such as wireless LAN, UWB, Bluetooth, and the like.
도 3은 본 발명의 일 실시예에 따른 무선 프로그램 다운로더(23)와 임베디드 장치(14)의 세부 구성을 개념적으로 도시한 도면이다.3 is a diagram conceptually showing a detailed configuration of the wireless program downloader 23 and the embedded device 14 according to an embodiment of the present invention.
무선 프로그램 다운로더(23)는 다운로드 커넥터부(126)를 통하여 임베디드 장치(14)와 데이터를 송수신하고 전원도 공급받을 수 있다. 무선 프로그램 다운로더(23)는 HW암호/복호부(121), 무선모듈부(122), 다운로드 커넥터부(126) 및 메모리부(127)를 포함하며, 선택적으로 전원공급부(120)를 포함할 수 있다.The wireless program downloader 23 may transmit and receive data to and from the embedded device 14 through the download connector unit 126 and receive power. The wireless program downloader 23 may include a HW password / decryption unit 121, a wireless module unit 122, a download connector unit 126, and a memory unit 127, and may optionally include a power supply unit 120. have.
전원은 다운로드 커넥터부(126)을 통하여 임베디드 장치(14)로부터 수신된다. 선택적으로 전원공급부(120)를 포함할 수 있으며, 전원공급부(120)는 임베디드 장치(14)로부터 수신된 전원을 변환하거나, 자체 배터리를 두고 전원을 공급할 수도 있으며, AC 어댑터를 통하여 외부 전원을 공급받을 수도 있다.Power is received from the embedded device 14 via the download connector unit 126. Optionally, the power supply unit 120 may be included, and the power supply unit 120 may convert power received from the embedded device 14 or supply power with its own battery, and supply external power through an AC adapter. You can get it.
HW암호/복호부(121)는 무선으로 송수신되는 데이터를 보호하기 위한 것이다. PC(10) 또는 노트북(20)은 복수의 무선 프로그램 다운로더(23)에 대하여 프로그래밍하여야 하므로, 프로그래밍하고자 하는 임베디드 장치(14)를 정확히 식별할 필요가 있다. 또한, 인증받지 않는 사용자가 임베디드 장치(14)를 프로그래밍할 수 없도록 할 필요가 있다. HW암호/복호부(121)는 필요한 암호키를 기록하고 있다가 데이터를 송수신할 때 암호키를 이용하여 암호화하여 전송하고 수신된 데이터는 암호키를 이용하여 복호화한다.The HW encryption / decoding unit 121 is for protecting data transmitted and received wirelessly. Since the PC 10 or the notebook 20 needs to be programmed for the plurality of wireless program downloaders 23, it is necessary to accurately identify the embedded device 14 to be programmed. There is also a need to prevent unauthorized users from programming the embedded device 14. The HW encryption / decryption unit 121 records the necessary encryption key and then encrypts and transmits the encrypted key using the encryption key when transmitting and receiving data, and decrypts the received data using the encryption key.
무선모듈부(122)는 무선랜, UWB, 또는 블루투스등과 같이 근거리 무선 통신을 위한 하드웨어 모듈부로서, 통상의 무선랜 모듈, UWB 모듈, 또는 블루투스 모듈을 사용하면 된다. 다운로드 커넥터부(126)는 임베디드 장치(14)의 다운로드 커넥터부(133)와의 전기적 연결을 확립하기 위한 것으로서, 예를 들면 10 pin 커넥터이다. The wireless module unit 122 is a hardware module unit for short-range wireless communication, such as a wireless LAN, UWB, or Bluetooth, and may use a conventional wireless LAN module, a UWB module, or a Bluetooth module. The download connector unit 126 is for establishing an electrical connection with the download connector unit 133 of the embedded device 14, for example, a 10 pin connector.
MCU(123)는 무선 프로그램 다운로더(23)의 동작을 전반적으로 제어하기 위한 것이다. MCU(123)는 무선모듈부(122)를 제어하여 PC(10) 또는 노트북(20)으로부터 프로그래밍용 이미지를 다운로드하며, 다운로드된 이미지를 임베디드 장치(14)의 타겟 메모리(15)에 순차 기록될 수 있도록 한다. 또한, 상기 MCU(123)는, 순차 디버깅을 지시하는 메시지를 수신하여 상기 임베디드 장치(14)로 전달하도록 제어하며, 상기 임베디드 장치(14)로부터 상기 순차 디버깅의 결과 상태값을 상기 무선 모듈부(122)로 하여금 전송하도록 제어한다.The MCU 123 is for controlling the overall operation of the wireless program downloader 23. The MCU 123 controls the wireless module unit 122 to download programming images from the PC 10 or the notebook 20, and sequentially records the downloaded images into the target memory 15 of the embedded device 14. To be able. In addition, the MCU 123 receives the message indicating the sequential debugging and transmits the message to the embedded device 14, and transmits a result value of the sequential debugging from the embedded device 14 to the wireless module unit ( 122) to transmit.
한편, 도 3에서는 종래의 일반적인 임베디드 장치(14)를 부가적으로 도시하고 있으며, 임베디드 장치(14)는 전원공급부(131), 다운로드 커넥터부(133), 타겟 메모리(15) 및 제어장치(134) 등을 포함한다. 상기 제어장치(134)는 임베디드 장치(14)의 전반적인 동작을 제어하는 장치로서, 일반적인 CPU 또는 MCU가 될 수 있다.Meanwhile, FIG. 3 additionally illustrates a conventional general embedded device 14, and the embedded device 14 may include a power supply unit 131, a download connector unit 133, a target memory 15, and a controller 134. ), And the like. The control device 134 is a device for controlling the overall operation of the embedded device 14, may be a general CPU or MCU.
한편 타겟 메모리(15)는 다운로드되는 이미지가 기억되는 영역이다. 본 실시 형태에서는 FPGA, PLD 등(이하, '프로그래머블 디바이스'로 지칭한다.)의 구성(configuration)을 기억하는 메모리 영역이거나, 제어장치(134)를 위한 소프트웨어 프로그램이 기억되는 영역이다. 타겟 메모리(15)는 상기 프로그래머블 디바이스의 내부에 있을 수도 있고 외부에 있을 수도 있으며, 상기 제어장치(134)의 내부에 있을 수도 있고 외부에 있을 수도 있다.On the other hand, the target memory 15 is an area in which the image to be downloaded is stored. In this embodiment, the memory area stores a configuration of an FPGA, a PLD, and the like (hereinafter, referred to as a "programmable device"), or an area in which a software program for the control device 134 is stored. The target memory 15 may be inside or outside the programmable device, and may be inside or outside the control device 134.
전원공급부(131)는 임베디드 장치(14)에 전원을 공급할 뿐만 아니라 다운로드 커넥터부(133)와 연결되어 무선 프로그램 다운로더(23)에 전원을 공급할 수 있다. 타겟 메모리(132)는 무선 프로그램 다운로더(23)를 통하여 다운로드되는 이미지가 기록되는 영역으로서, 기록된 이미지는 임베디드 장치(14)의 프로그래머블 디바이스를 프로그래밍하게 된다.The power supply unit 131 may not only supply power to the embedded device 14 but may also be connected to the download connector unit 133 to supply power to the wireless program downloader 23. The target memory 132 is an area in which an image downloaded through the wireless program downloader 23 is recorded, and the recorded image programs the programmable device of the embedded device 14.
한편, 무선 프로그램 다운로더(23)가 임베디드 장치(14)와 일체로 형성되는 경우에는 무선 프로그램 다운로더(23)의 다운로드 커넥터부(126)과 임베디드 장치(14)의 다운로드 커넥터부(133)는 필요 없게 되며, 다만, 전기적 연결을 위한 배선이 필요하다.On the other hand, when the wireless program downloader 23 is integrally formed with the embedded device 14, the download connector unit 126 of the wireless program downloader 23 and the download connector unit 133 of the embedded device 14 are unnecessary. However, wiring for electrical connection is necessary.
도 4는 본 발명의 무선 프로그램 다운로더(23)를 사용하여 복수의 임베디드 장치(14)를 프로그래밍하는 상황을 도시한 도면이다. 4 is a diagram showing a situation in which a plurality of embedded devices 14 are programmed using the wireless program downloader 23 of the present invention.
무선 프로그램 다운로더(23)에는 자신을 식별할 수 있는 고유 번호와, 암호화/복호화를 위한 암호키가 기록될 수 있다. 무선 프로그램 다운로더(23)는 기록된 고유번호와 암호키를 이용하여, PC(10) 또는 노트북(20)의 응용 어플리케이션과 연결되어, 동시에 다수의 임베디드 장치(14)를 프로그래밍할 수 있게 한다.The wireless program downloader 23 may record a unique number for identifying itself and an encryption key for encryption / decryption. The wireless program downloader 23 connects to the application of the PC 10 or the notebook 20 by using the recorded unique number and the encryption key, so that a plurality of embedded devices 14 can be simultaneously programmed.
도 5는 PC(10) 또는 노트북(20), 무선 프로그램 다운로더(23), 임베디드 장치(14) 사이에서 송수신 되는 메시지 또는 신호의 흐름을 순차적으로 보여주는 흐름도이다. 5 is a flowchart sequentially illustrating a flow of messages or signals transmitted and received between the PC 10 or the notebook 20, the wireless program downloader 23, and the embedded device 14.
상기 흐름도는 무선 프로그램 다운로더 동작 검사 과정(210), 다운로드 가능상태 전환 및 이미지 기록모드 설정과정(220), 이미지 기록 과정(230), 순차 디버깅 과정(250), 스텐바이 과정(260)을 포함한다.The flowchart includes a wireless program downloader operation checking process 210, a downloadable state switching and image recording mode setting process 220, an image recording process 230, a sequential debugging process 250, and a standby process 260. .
무선 프로그램 다운로더 동작 검사 과정(210)은 무선 프로그램 다운로드가 동작 중임을 알려주는 메시지를 PC(10) 또는 노트북(20)에게 전송하며, PC(10) 또는 노트북(20)은 동작 중인 무선 프로그램 다운로드(23)을 검색하여 표시하는 과정이다. 무선 프로그램 다운로더(23)는 초기에 다운로드 불가 상태로 세팅되며(212), 다운로드 불가상태에서 주기적으로 고유번호와 암호키가 포함된 Live 메시지를 방송한다(211). Live 메시지는 무선 프로그램 다운로더(23)가 동작중임을 PC(10) 또는 노트북(20)에 알려주는 메시지이다. PC(10) 또는 노트북(20)은 Live 메시지가 있는지를 검색하고, Live 메시지가 검색되는 경우에는 해당 무선 프로그램 다운로더(23)를 표시한다(214). 그리고 PC(10) 또는 노트북(20)은 Live 메시지에 대한 수신 응답으로서 Live_OK 메시지를 무선 프로그램 다운로더(23)에게 전송한다(215).The wireless program downloader operation checking process 210 transmits a message to the PC 10 or the notebook 20 informing that the wireless program download is in operation, and the PC 10 or the notebook 20 transmits the wireless program download in operation ( 23) The process of searching and displaying. The wireless program downloader 23 is initially set to a non-downloadable state (212), and in a non-downloadable state periodically broadcasts a live message including a unique number and an encryption key (211). The live message is a message informing the PC 10 or the notebook 20 that the wireless program downloader 23 is operating. The PC 10 or the notebook 20 searches for the presence of a live message, and if the live message is found, displays the corresponding wireless program downloader 23 (214). The PC 10 or the notebook 20 transmits a Live_OK message to the wireless program downloader 23 as a response to the live message (215).
다운로드 가능상태전환 및 이미지 기록모드 설정과정(220)은 무선 프로그램 다운로더(23)를 다운로드 가능상태로 변경하고, 다운로드 모드를 설정하는 과정이다. 검색된 무선 프로그램 다운로더(23) 가운데 프로그래밍할 무선 프로그램 다운로더(23)가 선택되면, 고유번호가 포함된 Choice 메시지를 무선 프로그램 다운로더(23)에게 전송한다(222). 무선 프로그램 다운로더(23)는 Choice 메시지를 수신하면, 다운로드 가능상태로 변경을 하고(233), 변경이 완료되었음을 PC(10) 또는 노트북(20)에게 알려주기 위하여 Choice_OK 메시지를 전송한다(244). PC(10) 또는 노트북(20)에서 다운로드 방식인 다운로드 모드가 선택되면(225), 선택된 다운로드 모드를 무선 프로그램 다운로더(23)에게 알려주기 위하여 ModeSelection 메시지를 전송한다(226). 무선 프로그램 다운로더(23)는 다운로드 모드를 설정하고(227), 모드 설정이 완료되었음을 알려주기 위하여 ModeSelection_OK 메시지를 전송한다(228).The downloadable state switching and image recording mode setting process 220 is a process of changing the wireless program downloader 23 into a downloadable state and setting the download mode. When a wireless program downloader 23 to be programmed is selected among the searched wireless program downloaders 23, a Choice message including a unique number is transmitted to the wireless program downloader 23 (222). When the wireless program downloader 23 receives the Choice message, the wireless program downloader 23 changes to the downloadable state (233), and transmits a Choice_OK message to inform the PC 10 or the notebook 20 that the change is completed (244). When the download mode, which is a download method, is selected in the PC 10 or the notebook 20 (225), a ModeSelection message is transmitted (226) to inform the wireless program downloader 23 of the selected download mode. The wireless program downloader 23 sets the download mode (227), and sends a ModeSelection_OK message to inform that the mode setting is completed (228).
이미지 기록과정(230)은 무선 프로그램 다운로드(23)를 개재하여 임베디드 장치의 타겟 메모리(15)에 이미지를 기록하는 과정이다. PC(10) 또는 노트북(20)은 무선 프로그램 다운로더(23)에 기록할 이미지를 불러온다(231). 사용자로부터 이미지 기록 명령이 수신되면(232), 무선 프로그램 다운로더(23)에게 기록할 이미지가 포함된 ImageWrite 메시지를 전송한다(233). 무선 프로그램 다운로더(23)는 ImageWrite 메시지를 수신하여 임베디드 장치(14)의 타겟 메모리(15)에 순차적으로 이미지를 기록하거나 임베디드 장치(14)의 MCU(134)에게 이미지를 전송한다(234). 임베디드 장치(14)의 MCU(134)에게 이미지를 전송한 경우에는, MCU(134)가 타겟 메모리(15)에 이미지를 기록한다(235). 이러한 이미지 기록 또는 이미지 전송(234)은 이미지 기록을 완료할 때까지 순차적으로 계속되나, 도 5에서는 그 도시를 생략한다. 임베디드 장치(14)는 이미지의 기록이 완료되면(238), 이미지 기록이 완료되었음을 알려주기 위하여 ImageDone 메시지를 무선 프로그램 다운로더(23)에게 전송하며, 무선 프로그램 다운로더(23)는 ImageWrite_OK 메시지를 PC(10) 또는 노트북(20)에게 전송한다(240).The image recording process 230 is a process of recording an image in the target memory 15 of the embedded device via the wireless program download 23. The PC 10 or the notebook 20 loads an image to be recorded in the wireless program downloader 23 (231). When an image recording command is received from the user (232), the wireless program downloader 23 transmits an ImageWrite message including an image to be recorded (233). The wireless program downloader 23 receives the ImageWrite message and sequentially records the images in the target memory 15 of the embedded device 14 or transmits the images to the MCU 134 of the embedded device 14 (234). When the image is transmitted to the MCU 134 of the embedded device 14, the MCU 134 writes the image to the target memory 15 (235). This image recording or image transmission 234 continues sequentially until image recording is completed, but the illustration is omitted in FIG. When the recording of the image is completed (238), the embedded device 14 transmits an ImageDone message to the wireless program downloader 23 to inform that the image recording is completed, and the wireless program downloader 23 sends an ImageWrite_OK message to the PC 10. Or transmits to the notebook 20 (240).
순차 디버깅 과정(250)은 PC(10) 또는 노트북(20)에서 임베디드 장치(14)의 동작을 순차적으로 실행하고 그 실행의 결과를 확인하는 과정이다. PC(10) 또는 노트북(20)은 무선 프로그램 다운로더(23)를 통하여 임베디드 장치(14)를 순차적으로 디버깅할 수 있다. 순차 디버깅이 선택되면(251), PC(10) 또는 노트북(20)은 무선 프로그램 다운로더(23)에게 StepDebug1 메시지를 전송하며(252), 무선 프로그램 다운로드(23)는 임베디드 장치(14)로 StepDebug2 메시지를 전송한다(253). StepDebug1 메시지에는 디버깅할 임베디드 장치(14)와 관련된 무선 프로그램 다운로더(23)의 고유번호와 임베디드 장치(14)가 실행할 프로그램의 순차번호가 포함되어 있다. 여기서의 프로그램은 임베디드 장치(14)가 실행할 소프트웨어를 말한다. StepDebug2 메시지에는 임베디드 장치(14)가 실행할 프로그램의 순차번호가 포함되어 있다. 임베디드 장치(14)는 순차 디버깅을 진행하고(254), 그 결과 상태 값을 StepStatus1 메시지로 무선 프로그램 다운로더(23)로 돌려주며(255), 무선 프로그램 다운로더(23)는 자신의 고유번호와 상기 상태값을 포함한 StepStaus2 메시지를 PC(10) 또는 노트북(20)으로 전송한다(256).The sequential debugging process 250 is a process of sequentially executing the operation of the embedded device 14 in the PC 10 or the notebook 20 and confirming the result of the execution. The PC 10 or the notebook 20 may sequentially debug the embedded device 14 through the wireless program downloader 23. If sequential debugging is selected (251), the PC 10 or notebook 20 sends a StepDebug1 message to the wireless program downloader 23 (252), and the wireless program download 23 sends a StepDebug2 message to the embedded device 14. It transmits (253). The StepDebug1 message contains the unique number of the wireless program downloader 23 associated with the embedded device 14 to be debugged and the sequence number of the program to be executed by the embedded device 14. The program here refers to software that the embedded device 14 will execute. The StepDebug2 message contains the sequence number of the program to be executed by the embedded device 14. The embedded device 14 proceeds debugging 254 sequentially, and as a result, the status value is returned to the wireless program downloader 23 as a StepStatus1 message (255), and the wireless program downloader 23 has its own unique number and the state. The StepStaus2 message containing the value is transmitted to the PC 10 or the notebook 20 (256).
스탠바이 과정(260)은 기록이 완료된 임베디드 장치를 정상동작시키는 과정이다. PC(10) 또는 노트북(20)은 사용자에 의하여 스탠바이가 선택되면(261), 무선 프로그램 다운로더(262)에게 무선 프로그램 다운로더(23)의 고유번호가 포함된 StandBy 메시지를 전송한다(262). 무선 프로그램 다운로더(23)는 StandBy 메시지를 수신하면, 임베디드 장치(14)에게 리셋 명령을 전송하고(263), 자신은 다운로드 불가 상태로 변경된다(265). 무선 프로그램 다운로더(23)는 PC(10) 또는 노트북(20)에게 StandBy_OK 메시지를 전송하고(264), 자신은 Live 메시지를 방송한다(267).The standby process 260 is a process of operating the embedded device in which recording is completed. When standby is selected by the user (261), the PC 10 or the notebook 20 transmits a StandBy message including the unique number of the wireless program downloader 23 to the wireless program downloader 262 (262). When the wireless program downloader 23 receives the StandBy message, the wireless program downloader 23 transmits a reset command to the embedded device 14 (263), and changes itself to a non-downloadable state (265). The wireless program downloader 23 transmits a StandBy_OK message to the PC 10 or the notebook 20 (264), and broadcasts a live message (267).
도 5에서 PC(10) 또는 노트북(20)과 무선 프로그램 다운로더(23) 사이에서 송수신 되는 메시지는 전송되기전 암호화되며, 수신된 메시지는 복호화 과정을 거쳐서 복구된다. 상기 암호화 및 복호화 과정은 무선 프로그램 다운로더(23)인 경우 HW암호/복호부(121)에서 처리하며, PC(10) 또는 노트북(20)인 경우 응용 프로그램에서 처리한다.In FIG. 5, a message transmitted and received between the PC 10 or the notebook 20 and the wireless program downloader 23 is encrypted before being transmitted, and the received message is recovered through a decryption process. The encryption and decryption process is processed by the HW encryption / decryption unit 121 in the case of the wireless program downloader 23 and in the application program in the case of the PC 10 or the notebook 20.
본 발명에 따르면, 임베디드 장치를 시스템 또는 랙에서 제거하지 않고도 무선 프로그램 다운로더를 개재하여 무선으로 임베디드 장치를 프로그래밍할 수 있으므로, 보다 용이하게 임베디드 장치에 프로그래밍할 이미지를 다운로드할 수 있으며, 임베디드 장치를 포함하는 시스템의 운용 중단 시간을 최소화할 수 있고, 무선 접속을 통하여 한꺼번에 다수의 임베디드 장치에 프로그래밍용 이미지를 다운로드하여 기록할 수 있으므로, 다운로드를 위한 인력과 시간을 최소화할 수 있는 효과가 있으므로 산업상 이용가능성이 있다.According to the present invention, since the embedded device can be programmed wirelessly through the wireless program downloader without removing the embedded device from the system or rack, it is easier to download an image to be programmed into the embedded device, and includes the embedded device. It is possible to minimize downtime of the system, and to download and record programming images to multiple embedded devices at once through a wireless connection, thereby minimizing manpower and time for download. There is a possibility.

Claims (7)

  1. 임베디드 장치(14)의 타겟 메모리(15)에 기록되기 위한 이미지를 무선으로 수신하는 무선 모듈부(122);A wireless module unit 122 for wirelessly receiving an image to be recorded in the target memory 15 of the embedded device 14;
    상기 임베디드 장치(14)와의 전기적 연결을 확립하는 다운로드 커넥터부(126);A download connector unit 126 for establishing an electrical connection with the embedded device 14;
    수신된 상기 이미지가 상기 임베디드 장치(14)의 타겟 메모리(15)에 순차 기록될 수 있도록, 수신된 상기 이미지를 상기 다운로드 커넥터부(126)를 통하여 전송하도록 제어하며, 이러한 제어와는 별도로, 순차 디버깅을 지시하는 메시지를 수신하여 상기 임베디드 장치(14)로 전달하도록 제어하며, 상기 임베디드 장치(14)로부터 상기 순차 디버깅의 결과 상태값을 상기 무선 모듈부(122)로 하여금 전송하도록 제어하는 MCU(123);를 포함하는 것을 특징으로 하는 무선 프로그램 다운로더.The received image is transmitted through the download connector unit 126 so that the received image can be sequentially recorded in the target memory 15 of the embedded device 14, and apart from this control, the received image is sequentially Receiving a message instructing the debugging to control the transfer to the embedded device 14, MCU for controlling the wireless module unit 122 to transmit a result value of the sequential debugging from the embedded device 14 ( 123); a wireless program downloader comprising a.
  2. 청구항 1에 있어서,The method according to claim 1,
    상기 무선 모듈부(122)를 통하여 송수신되는 메시지를 암호화 또는 복호화하는 HW 암호/복호부(121);An HW encryption / decryption unit 121 for encrypting or decrypting a message transmitted and received through the wireless module unit 122;
    를 더 포함하는 것을 특징으로 하는 무선 프로그램 다운로더.Wireless program downloader further comprising a.
  3. 청구항 1에 있어서,The method according to claim 1,
    무선 프로그램 다운로더는 자신을 식별할 수 있는 고유번호를 가지며,The wireless program downloader has a unique number to identify itself.
    상기 무선 모듈부(122)를 통하여 메시지를 송수신할 때,When transmitting and receiving a message through the wireless module unit 122,
    상기 메시지에 상기 고유번호가 포함되도록 하는 것을 특징으로 하는 무선 프로그램 다운로더.And the unique number included in the message.
  4. 청구항 1에 있어서,The method according to claim 1,
    상기 타겟 메모리(15)는,The target memory 15,
    상기 임베디드 장치(14)의 제어장치(134) 또는 상기 임베디드 장치(14)의 프로그래머블 디바이스를 프로그래밍하는 이미지를 기록하기 위한 것임을 특징으로 하는 무선 프로그램 다운로더.Wireless program downloader for recording an image of programming the control device (134) of the embedded device (14) or the programmable device of the embedded device (14).
  5. 임베디드 장치의 전반적인 동작을 제어하는 제어장치(134);A controller 134 for controlling the overall operation of the embedded device;
    상기 제어장치(134) 또는 프로그래머블 디바이스를 프로그래밍하는 이미지를 기록하기 위한 타겟 메모리(15)를 포함하는 상기 임베디드 장치 내에,In the embedded device comprising a target memory 15 for recording an image for programming the control device 134 or a programmable device,
    상기 타겟 메모리(15)에 기록되기 위한 이미지를 무선으로 수신하는 무선 모듈부(122);A wireless module unit 122 for wirelessly receiving an image to be recorded in the target memory 15;
    수신된 상기 이미지가 상기 타겟 메모리(15)에 순차 기록되도록 하거나, 상기 임베디드 장치의 상기 제어장치(134)를 통하여 상기 타겟 메모리(15)에 순차 기록되도록 제어하며, 이러한 제어와는 별도로, 순차 디버깅을 지시하는 메시지를 수신하며, 상기 순차 디버깅의 결과 상태값을 상기 무선 모듈부(122)로 하여금 전송하도록 제어하는 MCU(123);The received image is sequentially recorded in the target memory 15 or controlled to be sequentially recorded in the target memory 15 through the control device 134 of the embedded device. A MCU (123) for receiving a message indicating a, and controlling the wireless module unit (122) to transmit a status value of the sequential debugging;
    를 포함하여 구성되는 무선 프로그램 다운로더(23)가 일체로 형성되는 것을 특징으로 하는 임베디드 장치.Embedded device, characterized in that the wireless program downloader (23) is configured to include integrally formed.
  6. 청구항 5에 있어서,The method according to claim 5,
    상기 무선 프로그램 다운로더(23)는,The wireless program downloader 23,
    상기 무선 모듈부(122)를 통하여 송수신되는 메시지를 암호화 또는 복호화하는 HW 암호/복호부(121);An HW encryption / decryption unit 121 for encrypting or decrypting a message transmitted and received through the wireless module unit 122;
    를 더 포함하는 것을 특징으로 하는 임베디드 장치.Embedded device further comprising a.
  7. 임베디드 장치(14)를 프로그래밍하는 이미지를 다운로드하는 프로그램 다운로드 방법에 있어서,In the program download method for downloading an image for programming the embedded device 14,
    무선 프로그램 다운로더(211)가 동작 중임을 알려주는 메시지를 수신하며, 동작 중인 무선 프로그램 다운로더(23)를 검색하여 표시하는 제 1 과정(210);A first step 210 of receiving a message indicating that the wireless program downloader 211 is in operation and searching for and displaying an operating wireless program downloader 23;
    표시된 상기 무선 프로그램 다운로더(23) 중에서 프로그래밍할 무선 프로그램 다운로더(23)를 선택하고 선택된 무선 프로그램 다운로더(23)에게 이러한 선택의 사실을 전송하며, 다운로드 모드를 선택하여 상기 다운로드 모드에 관한 메시지를 상기 선택된 무선 프로그램 다운로더(23)에게 전송하는 제 2 과정(220);Select the wireless program downloader 23 to be programmed from among the displayed wireless program downloader 23 and send the fact of this selection to the selected wireless program downloader 23, and select the download mode to send a message regarding the download mode to the selected program. A second step 220 of transmitting to the wireless program downloader 23;
    임베디드 장치(14)의 타겟 메모리(15)에 기록할 이미지를 무선 프로그램 다운로더(23)에게 전송하는 제 3 과정(230);A third process 230 of transmitting an image to be recorded in the target memory 15 of the embedded device 14 to the wireless program downloader 23;
    상기 임베디드 장치(14)의 순차 디버깅을 지시하는 메시지를 상기 무선 프로그램 다운로더(14)로 전송하며, 상기 무선 프로그램 다운로더(15)로부터 상기 순차 디버깅의 결과 상태값을 수신하는 제 4 과정(250);A fourth step (250) of transmitting a message indicating sequential debugging of the embedded device (14) to the radio program downloader (14), and receiving a result value of the sequential debugging from the radio program downloader (15);
    을 포함하는 것을 특징으로 하는 프로그램 다운로드 방법.Program download method comprising a.
PCT/KR2009/002472 2008-05-30 2009-05-11 Wireless program downloader and embedded device having the same WO2009145512A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020080051081A KR100880592B1 (en) 2008-05-30 2008-05-30 Wireless program downloader and compound embedded device having wireless program downloader
KR10-2008-0051081 2008-05-30

Publications (2)

Publication Number Publication Date
WO2009145512A2 true WO2009145512A2 (en) 2009-12-03
WO2009145512A3 WO2009145512A3 (en) 2010-03-11

Family

ID=40680846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2009/002472 WO2009145512A2 (en) 2008-05-30 2009-05-11 Wireless program downloader and embedded device having the same

Country Status (2)

Country Link
KR (1) KR100880592B1 (en)
WO (1) WO2009145512A2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101744998B1 (en) * 2011-08-26 2017-06-21 현대자동차주식회사 Re-programming control module and re-programming system and method using the re-programming control module
KR101509523B1 (en) * 2013-12-18 2015-04-16 목원대학교 산학협력단 Uploading method using blutooth communication in the education system of embedded software
KR101509522B1 (en) 2013-12-18 2015-04-08 목원대학교 산학협력단 Education system of programming embedded software and compile method thereof
CN112764770B (en) * 2021-02-01 2024-06-11 珠海市运泰利自动化设备有限公司 Device and method for downloading wearable medical product mainboard program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002351807A (en) * 2001-05-30 2002-12-06 Toshiba Corp Electronic equipment system, driver supply system, and card type electronic device
KR20060054840A (en) * 2004-11-16 2006-05-23 엘지전자 주식회사 System and method for upgrade software of an air conditioner
KR20060084710A (en) * 2005-01-20 2006-07-25 삼성전자주식회사 The firmware download device and the method of updating the firmware using it
US20070072599A1 (en) * 2005-09-27 2007-03-29 Romine Christopher M Device manufacturing using the device's embedded wireless technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002351807A (en) * 2001-05-30 2002-12-06 Toshiba Corp Electronic equipment system, driver supply system, and card type electronic device
KR20060054840A (en) * 2004-11-16 2006-05-23 엘지전자 주식회사 System and method for upgrade software of an air conditioner
KR20060084710A (en) * 2005-01-20 2006-07-25 삼성전자주식회사 The firmware download device and the method of updating the firmware using it
US20070072599A1 (en) * 2005-09-27 2007-03-29 Romine Christopher M Device manufacturing using the device's embedded wireless technology

Also Published As

Publication number Publication date
WO2009145512A3 (en) 2010-03-11
KR100880592B1 (en) 2009-02-02

Similar Documents

Publication Publication Date Title
WO2009145512A2 (en) Wireless program downloader and embedded device having the same
JP4586089B2 (en) COMMUNICATION SYSTEM, HOST DEVICE, AND TERMINAL DEVICE
JP6316536B2 (en) Information processing system, information processing apparatus, information processing program, and information processing method
WO2016178183A1 (en) Apparatus and method for remotely testing memory-mapped devices of a system-on-chip via an ethernet interface
US8458448B2 (en) Method of installing a wireless network
JPH01220925A (en) Control software updating system
JP2013020619A (en) Usb device remote control method and system for executing the same
EP3635568B1 (en) Communication device, communication method, program, and communication system
JP2009048289A (en) Field communication system
KR20080113693A (en) System and method for data communication
JP2004029232A (en) Display device
CN111352645B (en) Firmware updating method and device for USB-PD charger
CN110716732B (en) Device and method for upgrading UI and firmware programs of automobile instrument
CN101627605A (en) In computer system, be used to carry out the method and the corresponding apparatus of transfer of data
JP2009088874A (en) Communication setting control device
JP2005115367A (en) System, apparatus, and method for configuring display identification
EP3901765B1 (en) Module, information processing device equipped with same, and program data updating method for updating program data of module
CN102945181A (en) Method for updating device software based on power line
JP2006127200A (en) Apparatus, system, method, and program for sharing screen
CN118035016A (en) Test system and program upgrading method thereof
JP2014154042A (en) Information processing device and method for replacing storage unit thereof
EP3531219B1 (en) Control system and functional unit
JP2006157415A (en) Controller, operation terminal, storing means, and radio communication channel connection method
JP7106329B2 (en) Relay device and relay system
CN110168660B (en) Apparatus for transmitting operation and machine data of a medical device, medical device and method for transmitting operation and machine data of a medical device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09754977

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC

122 Ep: pct application non-entry in european phase

Ref document number: 09754977

Country of ref document: EP

Kind code of ref document: A2