US 11,989,566 B2
Method for controlling electronic device
Lijin Chen, Xiamen (CN); Suzhen Liu, Xiamen (CN); and Ye Chen, Xiamen (CN)
Assigned to SIGMASTAR TECHNOLOGY LTD., Fujian (CN)
Filed by SigmaStar Technology Ltd., Fuijan (CN)
Filed on May 31, 2022, as Appl. No. 17/828,186.
Claims priority of application No. 202111439189.0 (CN), filed on Nov. 30, 2021.
Prior Publication US 2023/0168903 A1, Jun. 1, 2023
Int. Cl. G06F 9/00 (2006.01); G06F 9/4401 (2018.01); G06F 15/177 (2006.01)
CPC G06F 9/4416 (2013.01) [G06F 9/4406 (2013.01); G06F 9/4411 (2013.01)] 6 Claims
OG exemplary drawing
 
1. A method for controlling an electronic device, the electronic device comprising a processor, a read-only memory (ROM), a random access memory (RAM), an image sensor control (ISC) circuit, an image signal processor (ISP) and a communication interface circuit, the method comprising:
in response to the electronic device being powered up, executing a first program code in the ROM by the processor to initialize the communication interface circuit;
transmitting identification information to an external device through the communication interface circuit;
receiving, through the communication interface circuit, a second program code that the external device sends in response to the identification information so as to store the second program code to the RAM;
executing the second program code by the processor to initialize the ISC circuit and the ISP,
wherein the second program code comprises a firmware code and a software code, the firmware code is used to initialize the ISC circuit and the ISP, and the software code is used to activate an operating system, and
the method further comprising:
before receiving the second program code, receiving, through the communication interface circuit, a third program code that the external device sends so as to store the third program code to a memory in the processor; and
executing the third program code by the processor to initialize the RAM.