Hi
Note that the uTasker boot loader doesn't use the jump table method but rather the SRAM vector method.
Both have their advantages and disadvantages as follows:
- jump vectors require the boot to have 1k of re-directions and the application to have a fixed 1k set of vectors. This means that 2k of FLASH is occupied for the vectors and the application can not change them during operation (unless it moves over to the SRAM vector method - but this involves all resources being used and therefore doesn't make much sense). There is a small speed reduction in the interrupt handling due to the extra jump, but this is more academic than serious.
- RAM vectors are more flexible since the application can enter them and change them as required during operation. There is no need to have 2k of FLASH defined for the re-direction and fixed vectors, but the first 1k of SRAM needs to be reserved (or sacrificed?).
In my opinion,
as long as SRAM is not so critical that 1k causes a project to fail, the SRAM vector approach is the most flexible and efficient (speed and FLASH).
Regards
Mark