2 ms·
I think you've missed the point as explained in the first few paragraphs: they want a kind of blue/green deployment system to cover the possibility of upgrades
by pjc50 5y ago
I think you've missed the point as explained in the first few paragraphs: they want a kind of blue/green deployment system to cover the possibility of upgrades failing. Nowhere does it say they will write to Flash on every boot, just on the successful ones.
On the other hand there seems to be something weird here since PIC works perfectly fine in normal userland.
- pm215 5y agoIn normal userland you have lots of RAM, and the whole virtual address space to play with, and you can make any part of it you like either read-only or read-write, so it doesn't matter much if you end up with either (a) a fixed offset between the code section and the rw data section or (b) a big global offset table. As the article points out, those are more awkward in a small-RAM microcontroller environment with no virtual memory.