Greetings, When a program is too big to fit on a microcontoller internal memroy, external memory has to be used. Thats when a bootloader is needed. Does a bootloader go hand in hand with an RTOS or is it sometimes used to without one? Also, what kind of memory is typically used in this setting, and how is it updated?
Not necessarily. A micro with more internal memory may work just as well, if it's available.
No. You only need a bootloader if the external memory isn't directly readable as code by the CPU, or if you want to be able to have multiple codes among which the bootloader has to select, for purposes like in-application program updates.
Again, apples and oranges.
Depends on whether you actually needed a bootloader or not. Parallel flash or (more rarely) OTP for applications without a bootloader, any kind of storage you can imagine for those with one. The weirdest boot-loading scenario I've seen involved a HP Unix workstation booted off a tape drive.
--
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
I do not have any microcontroller in mind. What I was asking about is that if the program does not fit in the internal memory, an external memory can be used. How is this external memory is usually updated?
That statement Is not Always true (if Ever) Single chip micros often have bootloaders to program the internal Flash. The boot loader to prgram internal and external would need to be more sophisticated to program two kinds of memory.
Thats when a bootloader is needed.
Bootloader go with many types of Flash micros. The RTOS is usually not involved. The RTOS jumps to the bootloader as it usually can not run during the programming.
Also, what kind of memory is typically used in
Usually Flash, but other types of in circuit programmable memory, as well as battery backed memory can be used.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.