TWI888160B - Guangmingdeng firmware update system and method - Google Patents
Guangmingdeng firmware update system and method Download PDFInfo
- Publication number
- TWI888160B TWI888160B TW113119903A TW113119903A TWI888160B TW I888160 B TWI888160 B TW I888160B TW 113119903 A TW113119903 A TW 113119903A TW 113119903 A TW113119903 A TW 113119903A TW I888160 B TWI888160 B TW I888160B
- Authority
- TW
- Taiwan
- Prior art keywords
- firmware
- microcontroller
- light
- host
- boot program
- Prior art date
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
一種光明燈韌體更新系統及方法,該系統包含一主機及連接該主機且串聯的複數光明燈群組,各該光明燈群組具有一微控制器,各該微控制器執行一原始韌體並儲存有一引導程式,且各該微控制器輪流接收並暫時儲存該主機傳送的一更新韌體,當各該微控制器分別判斷各自儲存有該更新韌體時,各該微控制器接收該主機傳送的該啟動指令並根據該啟動指令執行該引導程式,該引導程式於各該微控制器中讀取該更新韌體並將該更新韌體取代該原始韌體,令各該微控制器執行該更新韌體,節省人員對大量的光明燈模組逐一進行韌體更新所需的作業時間及人力。A system and method for updating the firmware of a light bulb, the system comprises a host and a plurality of light bulb groups connected to the host and connected in series, each light bulb group has a microcontroller, each microcontroller executes an original firmware and stores a boot program, and each microcontroller receives and temporarily stores an updated firmware sent by the host in turn, and when each microcontroller determines that each stored firmware When the firmware is updated, each microcontroller receives the startup command sent by the host and executes the boot program according to the startup command. The boot program reads the updated firmware in each microcontroller and replaces the original firmware with the updated firmware, so that each microcontroller executes the updated firmware, saving the operating time and manpower required for personnel to perform firmware updates on a large number of bright light modules one by one.
Description
本發明涉及光明燈,特別是一種光明燈韌體更新系統及方法。 The present invention relates to a bright lamp, and in particular to a bright lamp firmware update system and method.
「點光明燈」是許多華人於春節期間的活動之一,祈求新的一年可以平安順利。光明燈通常設置於廟宇的牆面或光明燈柱上,各光明燈分別顯示有信眾的姓名、祝福詞等資訊,且隨著近年環保議題逐漸備受重視,光明燈多數已從過往蠟燭配合紙本名條的形式轉變為發光二極體搭配電子顯示器的形式,一方面減少廟方人員需時常更換蠟燭及設置所述的紙本名條的時間及勞力,另一方面避免蠟燭引發的火災。 "Lighting up the Guang Ming Lanterns" is one of the activities that many Chinese people do during the Spring Festival, praying for a safe and smooth new year. Guang Ming Lanterns are usually set up on the walls or poles of temples. Each Guang Ming Lantern displays the name of the believers, blessings and other information. With the increasing attention paid to environmental protection issues in recent years, most Guang Ming Lanterns have changed from the previous form of candles with paper name tags to the form of LEDs with electronic displays. On the one hand, it reduces the time and labor of temple staff to frequently replace candles and set up the aforementioned paper name tags, and on the other hand, it avoids fires caused by candles.
現有的各光明燈中分別設置有一控制電路板,以控制前述發光二極體的明暗狀態及前述電子顯示器的顯示內容,各光明燈在運行過程中可能出現一些顯示錯誤或運行一段時間後研發人員欲加入新的功能,故各該控制電路板會進行韌體更新以修復所述的顯示錯誤或加入新功能,韌體更新過程需分別取下各光明燈的控制電路板並將其連接上一燒錄裝置(如:電腦或主機)以安裝新的韌體,然而,廟宇中通常設置大量的光明燈,使研發人員需逐一進行拆除、韌體更新、重新裝設等流程而耗費大量的時間與人力,故現有光明燈的韌體更新方式勢必須提出改良。 Each existing light fixture is equipped with a control circuit board to control the brightness of the light-emitting diode and the display content of the electronic display. During the operation of each light fixture, some display errors may occur or the developers want to add new functions after running for a period of time. Therefore, each control circuit board will be updated with firmware to repair the display errors or add new functions. The firmware update process requires removing the control circuit board of each light fixture and connecting it to a burning device (such as a computer or host) to install new firmware. However, a large number of light fixtures are usually installed in temples, so the developers need to dismantle, update the firmware, and reinstall them one by one, which consumes a lot of time and manpower. Therefore, the firmware update method of the existing light fixture must be improved.
現有的光明燈係單獨連接至一燒錄裝置(如:電腦或主機)進行韌體更新,而廟宇中通常設置大量的光明燈,使研發人員需耗費大量的時間與人力逐一更新所有的光明燈,有鑑於此,本發明提供一種光明燈韌體更新系統及方法,以克服前述問題。 The existing temple lamps are individually connected to a burning device (such as a computer or host) for firmware update. A large number of temple lamps are usually installed in a temple, so that the R&D personnel need to spend a lot of time and manpower to update all the temple lamps one by one. In view of this, the present invention provides a system and method for updating the firmware of temple lamps to overcome the above problems.
本發明光明燈韌體更新系統,包含:一主機,傳送一更新韌體及一啟動指令;複數光明燈群組,各該光明燈群組具有一微控制器,該複數光明燈群組的微控制器串聯該主機,各該微控制器執行一原始韌體並儲存有一引導程式,且該複數光明燈群組的微控制器輪流接收並暫時儲存該主機傳送的該更新韌體;當各該微控制器分別判斷各自儲存有該更新韌體時,各該微控制器接收該主機傳送的該啟動指令並根據該啟動指令執行該引導程式,該引導程式於各該微控制器中讀取該更新韌體並將該更新韌體取代該原始韌體,令各該微控制器執行該更新韌體;其中各該微控制器包含:一記憶體,儲存有該引導程式,該記憶體中包含一執行韌體區塊及一暫存資料區塊,其中該執行韌體區塊儲存該原始韌體;一處理核心,電性連接該記憶體,該處理核心讀取並執行該原始韌體;當該主機傳送該更新韌體至各該微控制器時,該處理核心將該更新韌體寫入並儲存於該暫存資料區塊;當各該微控制器中儲存有該更新韌體時,該處理核心執行該引導程式,該引導程式讀取該暫存資料區塊中的該更新韌體,將該更新韌體寫入該執行韌體區塊中取代該原始韌體;其中該複數光明燈群組包含依序串接的一第一光明燈群組至一第N光明燈群組,該主機連接該第一光明燈群組,該第一光明燈群組的微控制器為一第一微控制器,一第N-1光明燈群組的微控制器為一第N-1微控制器,其中N為大於1的正整數;當該第一微控制器至該第N-1微控制器的該處理核心接收該更新韌體時,各該處理核心同時將該更新韌體傳送至下一微控制器的處理核心。 The present invention discloses a light fixture firmware update system, comprising: a host, transmitting an update firmware and a startup command; a plurality of light fixture groups, each of which has a microcontroller, the microcontrollers of the plurality of light fixture groups are connected in series to the host, each of which executes an original firmware and stores a boot program, and the microcontrollers of the plurality of light fixture groups receive and temporarily store the update firmware transmitted by the host in turn; when each of the microcontrollers determines that the update firmware is stored in each of them, Each microcontroller receives the startup command sent by the host and executes the boot program according to the startup command. The boot program reads the updated firmware in each microcontroller and replaces the original firmware with the updated firmware, so that each microcontroller executes the updated firmware. Each microcontroller includes: a memory storing the boot program, the memory including an execution firmware block and a temporary data block, wherein the execution firmware block stores the original firmware; a processing core, the electrical The processor core reads and executes the original firmware when the host transmits the updated firmware to each microcontroller. When the host transmits the updated firmware to each microcontroller, the processor core writes and stores the updated firmware in the temporary data block. When the updated firmware is stored in each microcontroller, the processor core executes the boot program. The boot program reads the updated firmware in the temporary data block and writes the updated firmware into the execution firmware block to replace the original firmware. The plurality of light groups include A first light group to an Nth light group are connected in series, the host is connected to the first light group, the microcontroller of the first light group is a first microcontroller, and the microcontroller of an N-1th light group is an N-1th microcontroller, where N is a positive integer greater than 1; when the processing cores of the first microcontroller to the N-1th microcontroller receive the updated firmware, each of the processing cores simultaneously transmits the updated firmware to the processing core of the next microcontroller.
本發明光明燈韌體更新方法,於一主機與連接該主機且串聯的複數光明燈群組執行,各該光明燈群組具有一微控制器,各該微控制器執行一原始韌體並儲存有一引導程式,該光明燈韌體更新方法包含:該複數光明燈群組的微控制器輪流接收並暫時儲存該主機傳送的一更新韌體;當各該微控制器分別判斷各自儲存有該更新韌體時,各該微控制器接收該主機傳送的一啟動指令;以及各該微控制器根據該啟動指令執行該引導程式,該引導程式於各該微控制器中讀取該更新韌體並將該更新韌體取代該原始韌體,令各該微控制器執行該更新韌體;其中各該微控制器包含:一記憶體,儲存有該引導程式,該記憶體中包含一執行韌體區塊及一暫存資料區塊,其中該執行韌體區塊儲存該原始韌體;一處理核心,電性連接該記憶體,該處理核心讀取並執行該原始韌體;當該主機傳送該更新韌體至各該微控制器時,該處理核心將該更新韌體寫入並儲存於該暫存資料區塊;當各該微控制器中儲存有該更新韌體時,該處理核心執行該引導程式,該引導程式讀取該暫存資料區塊中的該更新韌體,將該更新韌體寫入該執行韌體區塊中取代該原始韌體;其中該複數光明燈群組包含依序串接的一第一光明燈群組至一第N光明燈群組,該主機連接該第一光明燈群組,該第一光明燈群組的微控制器為一第一微控制器,一第N-1光明燈群組的微控制器為一第N-1微控制器,其中N為大於1的正整數; 當該第一微控制器至該第N-1微控制器的該處理核心接收該更新韌體時,各該處理核心同時將該更新韌體傳送至下一微控制器的處理核心。 The present invention discloses a method for updating the firmware of a light bulb. The method is executed on a host and a plurality of light bulb groups connected to the host and connected in series. Each of the light bulb groups has a microcontroller. Each of the microcontrollers executes an original firmware and stores a boot program. The method for updating the firmware of a light bulb comprises: the microcontrollers of the plurality of light bulb groups receive and temporarily store an update firmware sent by the host in turn; when each of the microcontrollers determines that the update firmware is stored in each of the microcontrollers, each of the microcontrollers receives the update firmware sent by the host and then sends the update firmware to the host. A boot instruction is sent by the microcontroller; and each microcontroller executes the boot program according to the boot instruction, the boot program reads the updated firmware in each microcontroller and replaces the original firmware with the updated firmware, so that each microcontroller executes the updated firmware; wherein each microcontroller comprises: a memory storing the boot program, the memory comprising an execution firmware block and a temporary data block, wherein the execution firmware block stores the original firmware; a processing core electrically connected to the memory, the processing core reads and executes the original firmware; when the host transmits the updated firmware to each of the microcontrollers, the processing core writes and stores the updated firmware in the temporary data block; when the updated firmware is stored in each of the microcontrollers, the processing core executes the boot program, the boot program reads the updated firmware in the temporary data block, and writes the updated firmware into the execution firmware block to replace the original firmware; wherein the plurality of bright light groups include sequentially connected A first light group connected to an Nth light group, the host is connected to the first light group, the microcontroller of the first light group is a first microcontroller, and the microcontroller of an N-1th light group is an N-1th microcontroller, where N is a positive integer greater than 1; When the processing cores of the first microcontroller to the N-1th microcontroller receive the updated firmware, each of the processing cores simultaneously transmits the updated firmware to the processing core of the next microcontroller.
本發明中,各該光明燈群組中的該微控制器儲存有該引導程式,且各該微控制器在執行該原始韌體時能暫時儲存該主機傳送的該更新韌體,當各該微控制器分別判斷各自儲存有該更新韌體時,該複數光明燈群組的微控制器輪流根據該主機傳送的該啟動指令執行該引導程式,該引導程式將各該微控制器中的該更新韌體取代該原始韌體而完成韌體更新,由於本發明的該複數光明燈群組的微控制器能將該更新韌體往下傳遞,讓該主機僅需傳送一次該更新韌體,所有的該微控制器即能接收該更新韌體,且各該微控制器中儲存有該引導程式,各該微控制器根據該主機的一次控制(該啟動指令)而分別執行該引導程式,該引導程式能使各該微控制器執行該更新韌體,相較於先前技術,本發明節省人員對大量的光明燈模組逐一進行韌體更新所需的作業時間及人力。 In the present invention, the microcontroller in each of the light groups stores the boot program, and each of the microcontrollers can temporarily store the updated firmware sent by the host when executing the original firmware. When each of the microcontrollers determines that the updated firmware is stored, the microcontrollers of the plurality of light groups execute the boot program in turn according to the startup command sent by the host. The boot program replaces the original firmware with the updated firmware in each of the microcontrollers to complete the firmware update. The microcontrollers of the group can transmit the updated firmware downward, so that the host only needs to transmit the updated firmware once, and all the microcontrollers can receive the updated firmware. The boot program is stored in each microcontroller. Each microcontroller executes the boot program according to the host's one-time control (the startup command). The boot program enables each microcontroller to execute the updated firmware. Compared with the previous technology, the present invention saves the time and manpower required for personnel to perform firmware updates on a large number of bright light modules one by one.
10:主機 10: Host
20:光明燈模組 20: Bright light module
21:殼體 21: Shell
22:前蓋 22: Front cover
23:顯示器 23: Display
23A:第一顯示器 23A: First display
23B:第二顯示器 23B: Second display
23C:第三顯示器 23C: Third display
24:控制電路板 24: Control circuit board
24A:第一控制電路板 24A: First control circuit board
24B:第二控制電路板 24B: Second control circuit board
24C:第三控制電路板 24C: Third control circuit board
240:微控制器 240: Microcontroller
240A:第一微控制器 240A: First microcontroller
240B:第二微控制器 240B: Second microcontroller
240C:第三微控制器 240C: Third microcontroller
241:顯示器連接埠 241: Display port
241A:第一顯示器連接埠 241A: First monitor port
241B:第二顯示器連接埠 241B: Secondary display port
241C:第三顯示器連接埠 241C: Third monitor port
242:輸入埠 242: Input port
242A:第一輸入埠 242A: First input port
242B:第二輸入埠 242B: Second input port
242C:第三輸入埠 242C: Third input port
243:輸出埠 243: Output port
243A:第一輸出埠 243A: First output port
243B:第二輸出埠 243B: Second output port
243C:第三輸出埠 243C: Third output port
25:記憶體 25: Memory
250:執行韌體區塊 250: Execute firmware block
251:暫存資料區塊 251: Temporary data block
26:處理核心 26: Processing core
BL:引導程式 BL: Boot program
C:啟動指令 C: Startup command
G:光明燈群組 G: Bright Light Group
F1:更新韌體 F1: Update firmware
F2:原始韌體 F2: Original firmware
圖1:本發明光明燈韌體更新系統之電路方塊圖。 Figure 1: Circuit block diagram of the firmware update system of the present invention.
圖2:本發明的光明燈模組之結構爆炸圖。 Figure 2: Structural explosion diagram of the bright light module of the present invention.
圖3:本發明的控制電路板之電路方塊圖。 Figure 3: Circuit block diagram of the control circuit board of the present invention.
圖4:本發明的微控制器之電路方塊圖,其中暫時資料區塊尚未儲存更新韌體。 Figure 4: Circuit block diagram of the microcontroller of the present invention, in which the temporary data block has not yet stored the updated firmware.
圖5:本發明的微控制器之電路方塊圖,其中暫時資料區塊儲存有更新韌體。 Figure 5: Circuit block diagram of the microcontroller of the present invention, in which the temporary data block stores the updated firmware.
圖6:本發明的微控制器之電路方塊圖,其中執行韌體區塊儲存有更新韌體。 Figure 6: A circuit block diagram of the microcontroller of the present invention, wherein the execution firmware block stores the updated firmware.
圖7:本發明光明燈韌體更新方法之流程圖。 Figure 7: Flowchart of the method for updating the firmware of the bright lamp of the present invention.
為能詳細瞭解本發明的技術特徵及實用功效,並可依照發明內容來實現,茲進一步以如圖式所示的實施例,詳細說明如後:請參閱圖1,本發明光明燈韌體更新系統包含一主機10及複數光明燈群組G,該複數光明燈群組G串聯該主機10,即該主機10連接一第一光明燈群組,該第一光明燈群組連接一第二光明燈群組,以此類推一第N-1光明燈群組連接至一第N光明燈群組,該主機10例如可為一電腦,該主機10能傳送資訊至該複數光明燈群組G,或接收該複數光明燈群組G傳送的資訊,具體而言,該主機10用以傳送一更新韌體F1及一啟動指令C,關於該更新韌體F1及該啟動指令C的用途將於後文配合圖式進一步說明。
In order to understand the technical features and practical effects of the present invention in detail and to implement it according to the content of the invention, the present invention is further described in detail with an embodiment as shown in the figure: Please refer to Figure 1. The light firmware update system of the present invention includes a
各該光明燈群組G具有一微控制器,該複數光明燈群組G的微控制器串連該主機10,各該光明燈群組G包含至少一光明燈模組20,以下以各該光明燈群組G包含一光明燈模組20為例進行說明,請參閱圖2,具體而言,各該光明燈群組G具有一控制電路板24,各該光明燈模組20包含一殼體21、一前蓋22及一顯示器23。
Each of the light groups G has a microcontroller. The microcontrollers of the plurality of light groups G are connected in series to the
該殼體21內部具有一容置空間,該容置空間可供設置神像及神像照明燈具;該前蓋22可拆卸地設置在該殼體21上,且該前蓋22上形成有至少一透明區域,當該前蓋22設置於該殼體21上時,該至少一透明區域例如可供使用者查看該容置空間中的神像;該顯示器23例如可為一液晶顯示器(LCD)、一有機發光二極體(OLED)顯示器等,該顯示器23設置在該殼體21上,且當該前蓋22設置在該殼體21上時,該顯示器23位於該前蓋22與該殼體21之間,使用者亦可透過該至少一透明區域查看該顯示器23的顯示內容。
The
由於現以各該光明燈群組G包含一光明燈模組20進行說明,故該控制電路板24係設置在該殼體21的頂部,當該光明燈群組G包含複數光明燈模組20時,該複數光明燈模組20將並排設置,則該控制電路板24可設置於該複數光明燈模組20的背面。
Since each of the light groups G includes a
該控制電路板24上設置有一微控制器240、至少一顯示器連接埠241、一輸入埠242及一輸出埠243,該至少一顯示器連接埠241、該輸入埠242及該輸出埠243分別電性連接該微控制器240,各該微控制器240分別用以控制各該光明燈群組G,該至少一顯示器連接埠241分別透過線路連接至各該光明燈模組20的顯示器23,使該微控制器240能至少電性連接有一顯示器23,該輸入埠242及該輸出埠243用以串聯該複數光明燈群組G的微控制器240及連接至該主機10。
The
舉例而言,以該複數光明燈群組G為一第一光明燈群組、一第二光明燈群組及一第三光明燈群組為例,該第一光明燈群組中的該光明燈模組為一第一光明燈模組、該第二光明燈群組中的該光明燈模組為一第二光明燈模組及該第三光明燈群組中的該光明燈模組為一第三光明燈模組,如圖3所示,該第一光明燈模組、該第二光明燈模組及該第三光明燈模組的控制電路板分別為一第一控制電路板24A、一第二控制電路板24B及一第三控制電路板24C,該第一控制電路板24A包含一第一微控制器240A、一第一顯示器連接埠241A、一第一輸入埠242A及一第一輸出埠243A,該第二控制電路板24B包含一第二微控制器240B、一第二顯示器連接埠241B、一第二輸入埠242B及一第二輸出埠243B,該第三控制電路板24C包含一第三微控制器240C、一第三顯示器連接埠241C、一第三輸入埠242C及一第三輸出埠243C,其中,該第一顯示器連接埠241A、該第二顯示器連接埠241B及該第三顯示器連接埠241C分別電性連接至一第一顯示器23A、一第二顯示器23B及一第三顯示器23C。
For example, the plurality of light groups G are a first light group, a second light group, and a third light group. The light module in the first light group is a first light module, the light module in the second light group is a second light module, and the light module in the third light group is a third light module. As shown in FIG. 3 , the control circuit boards of the first light module, the second light module, and the third light module are a first
該第一輸入埠242A電性連接於該主機10與該第一微控制器240A之間,該第一微控制器240A再透過該第一輸出埠243A連接該第二輸入埠242B,該第二輸入埠242B再連接至該第二微控制器240B,以此類推連接至該第三微控制器240C,使該第一微控制器240A、該第二微控制器240B及該第三微控制器240C與該主機10形成串聯,其中,該第三輸出埠243C可再用以連接另一光明燈群組G的控制電路板24(該輸入埠242)。
The
請參閱圖4,如前所述該複數光明燈群組G的微控制器240串聯該主機10,各該微控制器240執行一原始韌體F2並儲存有一引導程式BL(Boot Loader),且該複數光明燈群組G的微控制器240輪流接收並暫時儲存該主機10傳送的該更新韌體F1,具體而言,各該微控制器240包含一記憶體25及一處理核心26,該記憶體25儲存有該引導程式BL,該記憶體25包含一執行韌體區塊250及一暫存資料區塊251,其中該執行韌體區塊250中儲存有該原始韌體F2,該暫存資料區塊251在未進行韌體更新時,用以儲存各該微控制器240的運作資料,例如:各該微控制器240連接的顯示器23的顯示內容;該處理核心26電性連接該記憶體25,具有將資料寫入該記憶體25及讀取該記憶體25中資料的權限,舉例而言,該處理核心26可為一中央處理單元(CPU),該處理核心26讀取並執行該原始韌體F2。
Please refer to FIG. 4. As mentioned above, the
當該主機10傳送該更新韌體F1至各該微控制器240時,該處理核心26將該更新韌體F1寫入並儲存於該暫存資料區塊251,具體而言,除了最遠離該主機10的該處理核心26以外的各該處理核心26,其在接收該更新韌體F1同時將該更新韌體F1往下一微控制器240的處理核心26傳送,舉例而言,該複數光明燈群組G包含依序串接的一第一光明燈群組至一第N光明燈群組,該主機10連接該第一光明燈群組的微控制器240為一第一微控制器,一第N-1光明燈群
組的微控制器為一第N-1微控制器,其中N為大於1的正整數,該第N光明燈群組的處理核心26即為前述最遠離該主機10的該處理核心26。
When the
當該第一微控制器至該第N-1微控制器的該處理核心26接收該更新韌體F1時,該第一微控制器至該第N-1微控制器的該處理核心26進一步同時將該更新韌體F1傳送至下一微控制器的處理核心26,其中該第一微控制器的下一微控制器的處理核心26即一第二微控制器的處理核心26,該第二微控制器的下一微控制器的處理核心26即一第三微控制器的處理核心26,以此類推。需特別注意的是,由於該複數光明燈模組20的微控制器240之間存有一傳遞延遲時間,故該複數光明燈模組20的微控制器240並非同時接收該更新韌體F1而係輪流接收並暫時儲存該更新韌體F1。
When the
如圖5所示,當各該微控制器240判斷各自儲存有該更新韌體F1時,各該微控制器240接收該主機10傳送的該啟動指令C並根據該啟動指令C執行該引導程式BL,該引導程式BL於各該微控制器240中讀取該更新韌體F1並將該更新韌體F1取代該原始韌體F2,令各該微控制器240執行該更新韌體F1,具體而言,如圖5所示,與該主機10直接連接的該微控制器240中已儲存有該更新韌體F1,該微控制器240的該處理核心26根據該啟動指令C執行該引導程式BL,該引導程式BL讀取該暫存資料區塊251中的該更新韌體F1,將該更新韌體F1寫入該執行韌體區塊250中取代(覆蓋)該原始韌體F2,意即該微控制器240進行韌體更新時,該微控制器240的下一微控制器240可能仍在接收該更新韌體F1,故各該微控制器240係輪流進行韌體更新的。
As shown in FIG. 5 , when each of the
其中,關於各該微控制器240如何判斷各自儲存有該更新韌體F1,係該更新韌體F1包含複數封包,依序為一第一封包、一第二封包...至一結束封包,各該微控制器240中儲存有該結束封包中的資訊,且各該微控制器240係分別依該第一封包至該結束封包的順序接收該更新韌體F1的整個資訊,各該
微控制器240接收各該封包且判斷各該封包中的內容是否與該結束封包中的資訊相同,當各該微控制器240判斷相同,表示其中將儲存有該更新韌體F1,則各該微控制器240接收該主機10傳送的該啟動指令C進行後續韌體更新的動作。
In which, how each
此外,該引導程式BL包含一重啟指令(reboot),當該引導程式BL將該更新韌體F1取代該原始韌體F2後,該引導程式BL清空該暫存資料區塊251中的資料,該處理核心26再根據該重啟指令重新啟動以執行該更新韌體F1,具體而言,該重啟指令為該引導程式BL的一段程式碼,當該引導程式BL被執行時,首先將該更新韌體F1取代該執行韌體區塊250中的該原始韌體F2,清空該暫存資料區塊251中的資料,再執行該重啟指令以使該處理核心26重新啟動,當該處理核心26重新啟動後,表示該處理核心26對應的該光明燈群組G完成韌體更新,各該光明燈群組G更新完成將如圖6所示,各該微控制器240中的該執行韌體區塊250中將儲存有該更新韌體F1,且各該暫存資料區塊251中係未儲存有資料,後續,使用者可透過該主機10傳送各該光明燈群組G的一顯示資料,各該光明燈群組G的該微控制器240將儲存該顯示資料於該暫存資料區塊251中。
In addition, the boot program BL includes a reboot instruction. After the boot program BL replaces the original firmware F2 with the updated firmware F1, the boot program BL clears the data in the
本發明光明燈韌體更新方法,於該主機10與連接該主機10且串聯的複數光明燈群組G執行,各該光明燈群組G具有該微控制器240,各該微控制器240執行該原始韌體F2並儲存有該引導程式BL,如圖7所示,該光明燈韌體更新方法包含以下步驟。
The present invention's light fixture firmware update method is executed on the
S01:該複數光明燈群組G的微控制器240輪流接收並暫時儲存該主機10傳送的該更新韌體F1。
S01: The
S02:當各該微控制器分別判斷各自儲存有該更新韌體時,各該微控制器240接收該主機10傳送的該啟動指令C。
S02: When each microcontroller determines that the updated firmware is stored in each microcontroller, each
S03:各該微控制器240根據該啟動指令執行該引導程式BL,該引導程式BL於各該微控制器240中讀取該更新韌體F1並將該更新韌體F1取代該原始韌體F2,令各該微控制器執行該更新韌體F1;上述各步驟的具體實施方式如前所述,容不再進行重述。
S03: Each
本發明中,各該光明燈群組G中的該微控制器240儲存有該引導程式BL,各該微控制器240原本執行該原始韌體F2,當該複數光明燈群組G進行韌體更新時,各該微控制器240能暫時儲存該主機10傳送的該更新韌體F1,當各該微控制器240分別判斷各自儲存有該更新韌體F1時,該複數光明燈群組G的微控制器240輪流根據該主機10傳送的該啟動指令C執行該引導程式BL,該引導程式BL將各該微控制器240中的該更新韌體F1取代該原始韌體F2而完成韌體更新。
In the present invention, the
由於本發明的該複數光明燈群組G的微控制器240能將該更新韌體F1往下傳遞,讓該主機10僅需傳送一次該更新韌體F1,所有的該微控制器240即能接收該更新韌體F1,且各該微控制器240中儲存有該引導程式BL,各該微控制器240根據該主機10的一次控制(該啟動指令)而分別執行該引導程式BL,該引導程式BL能使各該微控制器240執行該更新韌體F1,相較於先前技術,本發明節省人員對大量的光明燈模組逐一進行韌體更新所需的作業時間及人力。
Since the
綜上所述,乃僅記載本發明為呈現解決問題所採用的技術手段之實施方式或實施例而已,並非用來限定本發明專利實施之範圍。即凡與本發明專利申請範圍文義相符,或依本發明專利範圍所做的均等變化與修飾,皆為本發明專利範圍所涵蓋。 In summary, the above only records the implementation methods or examples of the technical means adopted by the present invention to solve the problem, and is not used to limit the scope of implementation of the present invention. That is, all equivalent changes and modifications that are consistent with the scope of the patent application of the present invention or made according to the scope of the patent of the present invention are covered by the scope of the patent of the present invention.
10:主機 10: Host
20:光明燈模組 20: Bright light module
C:啟動指令 C: Startup command
G:光明燈群組 G: Bright Light Group
F1:更新韌體 F1: Update firmware
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113119903A TWI888160B (en) | 2024-05-29 | 2024-05-29 | Guangmingdeng firmware update system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113119903A TWI888160B (en) | 2024-05-29 | 2024-05-29 | Guangmingdeng firmware update system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI888160B true TWI888160B (en) | 2025-06-21 |
| TW202546631A TW202546631A (en) | 2025-12-01 |
Family
ID=97227659
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113119903A TWI888160B (en) | 2024-05-29 | 2024-05-29 | Guangmingdeng firmware update system and method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI888160B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201539314A (en) * | 2011-04-13 | 2015-10-16 | Razer Asia Pacific Pte Ltd | Adjunct communication device |
| TW201606496A (en) * | 2014-05-08 | 2016-02-16 | 桑迪士克科技公司 | Structural variation detection for memory with three-dimensional memory configuration |
| TW201820132A (en) * | 2016-09-30 | 2018-06-01 | 美商數據輸出入公司 | Unified programming environment for programmable devices |
-
2024
- 2024-05-29 TW TW113119903A patent/TWI888160B/en active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201539314A (en) * | 2011-04-13 | 2015-10-16 | Razer Asia Pacific Pte Ltd | Adjunct communication device |
| TW201606496A (en) * | 2014-05-08 | 2016-02-16 | 桑迪士克科技公司 | Structural variation detection for memory with three-dimensional memory configuration |
| TW201820132A (en) * | 2016-09-30 | 2018-06-01 | 美商數據輸出入公司 | Unified programming environment for programmable devices |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101673202B (en) | Program writing method and system, pre-writing device and writing device | |
| CN105679366B (en) | Portable multifunctional off-line recorder | |
| US9304783B2 (en) | Digital signage management and content delivery system and method thereof | |
| CN101008898A (en) | Update and repair method of intellectualized equipment and system thereof | |
| TWI888160B (en) | Guangmingdeng firmware update system and method | |
| CN115307075A (en) | Lamp, lamp effect implementation method, device, equipment and medium | |
| TWI707274B (en) | A computer-implemented method, a computer system, and a computer-readable storage medium for updating the rom code of a system | |
| WO2024212959A1 (en) | Drive circuit, light string burning control method and apparatus, and electronic device | |
| TW202546631A (en) | Bright Light Firmware Update System and Method | |
| CN109117167A (en) | A kind of starting Oftware updating method based on ZYNQ chip | |
| CN204440377U (en) | A kind of NandFlash firmware burning device | |
| CN111708662A (en) | Debugging method and device | |
| CN112230967B (en) | A method for rolling back online upgrade of optical module firmware based on traditional partitioning | |
| CN115188300A (en) | A guiding method and device | |
| WO2018082283A1 (en) | Cpld control circuit and host computer monitoring system containing the circuit | |
| CN111447514B (en) | EEPROM system of passive optical network SFP ONT and data updating control method thereof | |
| TWI881841B (en) | Bright light collaborative display system and method | |
| CN107544812A (en) | A kind of method realized CPLD versions and remotely read | |
| CN116627727A (en) | Dual BIOS firmware synchronization method and system | |
| CN115878141A (en) | Embedded equipment and method for repairing ROM (read only memory) program | |
| TW202545442A (en) | Lighting Co-display System and Method | |
| CN100426233C (en) | Method for automatically configurating programmable device by inlaid CPU | |
| CN221927172U (en) | A patrol stick | |
| CN105808269A (en) | Method and apparatus for installing application to virtual SD (Secure Digital) card | |
| CN116795917B (en) | Disk light management method, device, electronic device and readable storage medium |