Hi,
I've several questions about writing my own small bootloader for firmware updates.
The whole programm is stored in a nor flash device. The user should be able to start a firmware update via the webserver (http post msg).
Is it the right / correct solution to generate two sections in the nor flash device (one for the basic programm (memory location 0x0 - 0x2000) including the http webserver, and another part for all the other stuff)? Moreover, the webserver itself includes a lot of information for the user. So would it be better to write two webservers - one small webserver for the basic programm, only to start an update, and a second webserver for all the other stuff? I mean it's very difficult to find a clear break between the basic code and the other code.
Basic programm - small webserver (or only tftp) Extended programm - huge webserver (stack including snmp...)
How is it possible to generate / build an update code for the user including only the code starting from memory location 0x2000? Because at the moment the whole code is generated using one keil project.
Maybe someone of you could give me some hints to develop such a system.
best regards Harwald