-
公开(公告)号:US20230418591A1
公开(公告)日:2023-12-28
申请号:US18085084
申请日:2022-12-20
发明人: JaeHyun Lim , YoungJin Yun , YongSeong Jeon
IPC分类号: G06F8/654 , G06F9/4401
CPC分类号: G06F8/654 , G06F9/4401
摘要: A method of updating firmware by a flash bootloader includes: storing current version information included in a trailer block of firmware stored in a flash memory, the firmware including the trailer block and a header block; erasing a sector in which the header block is located while maintaining a sector in which the trailer block is located in the flash memory; writing a header block of a new firmware to be downloaded in the flash memory; determining, by comparing current version information of the new firmware in the written header block and the stored current version information, whether the firmware is to be downgraded; and, in response to determining that the firmware is not to be downgraded, erasing a sector in which the trailer block is located from the flash memory, and writing a trailer block of the new firmware in the flash memory.