I have problem, I have to find a way to update code to my arm device without removing it, for that purpose I'll use serial communication. Does anyone have idea how to do it?
Unfortunately I don't see how ARM could provide such code.
Bootloader is about:
Yes, and in addition, the vendor may choose different addresses for the Flash memory.
Some may use external memory, so it would be difficult for ARM to provide source-code that would work on all platforms.
The CRC and Adler routines would be generic, though, and the routine that performs the checks could take an address that points to SRAM and an address that points to Flash memory.
A number of routines would need to be supplied externálly, such as the routine that receives data and the routine that writes to Flash memory.
In short: Anything that contains hardware access would be vendor-specific and require a routine for each MCU type.
(I'll be off to vacation in one hour, so it might take a while before I am able to respond).