In embedded system, differently in general PC, general firmware like CMOS does not exist.
So to boot embedded system for the first time, we have to make bootloader which adjusted well to target board.
Bootloader plays a very important part in embedded system. We explain the roles of bootloader simply below.
Copy kernel to RAM from flash memory, and execute kernel.
Initialize hardware.
Bootloader have the function that writing data to flash memory.
(Downloading kernel or Ram disk by serial port or other network hardware, data is stored in RAM. But RAM lost all data downloaded if you cut power supply, so to avoid this work you have to store to flash memory.)
It provides interface to send commands to target board or to inform users state of target board.
短了一些,不过几个要点都说到了。 看看E文的也蛮不错。
打赏帖 | |
---|---|
分享一种检测按键状态的方法被打赏20分 | |
周末总结一下,STM32C0系列的开发经验被打赏50分 | |
【Cortex-M】Systick Timer使用被打赏10分 | |
分享汽车防盗系统的组成与分类(一)被打赏5分 | |
VOFA+波形显示+JYD-31蓝牙发送和解析不定长数据被打赏10分 | |
【换取手持数字示波器】-STM32F4PWM控制LED灯管亮度被打赏22分 | |
【换取手持数字示波器】STM32F4驱动RPR-0521RS照度、接近一体型传感器被打赏23分 | |
宏定义和const关键字定义被打赏5分 | |
【分享开发笔记,赚取电动螺丝刀】几个单片机I2S外设的BLCK时钟对比被打赏20分 | |
【功率监测与控制系统DIY活动成果贴】DIY功率计与LabVIEW数据采集被打赏100分 |