Hi Pascal,
I am currently using a P&E multilink universal FX.
I ultimately chose to not modify the .arp algorith file.
In my implementation the bootloader takes control of the CPU from the reset vector, does some checks and then launches the application. The application cannot work without the bootloader because it resides in a different memory range and has no control of the reset vector.
To do my debugging I load the bootloader with the KDS debugger and that also wipes out the application, then I reprogram the application using the TFTP server implemented in the bootloader and finally I can debug the two together. Now I know that my bootloader works as expected.
What I am now missing is that when I need to debug the application, this wipes out the bootloader. When I am done debugging I need to reload the bootloader with the debugger and then to reprogram the application to make the board work from the power on.
I would like to know if there is a method to preserve some areas of memory with the P&E debug server in KDS. The desiderata would be something that is saved in the debug configuration so I could have different debug configurations with different areas preserved.
What is not clear to me, as my code for bootloader and application reside in different flash erase sectors, is why it seems that the P&E debug server erases all of the flash instead of only erasing those sectors effectively occupied by the image to load. The latter was exactly what happened with CW 10.6 for the ColdFire where I found that there was no need to specify any range to preserve as the debugger implementation erased only the sectors of the flash effectively present on the image to load.
Ciao
Andrea