Thanks for your response.
Since the present bootloader is running from flash, don't I need to download an application software first having the same bootloader functionalities but is running from RAM? This to be able to do the mass erase and communicate with blhost to downloads the new bootloader to flash?
Best regards, Martin