Our custom bootloader looks for a "bootloader info block" in any file it loads, and also verifies its CRC once loaded into memory.
Our AS7 project has a post-build script that generates a .bin file with the bootloader info block embedded. Works fine.
But when debugging, although AS7 creates the .bin file, it flashes the target device from the .elf file (IIRC) which lacks the bootloader info block, so the bootloader rejects the file.
Is there a way to configure the project to load the .bin file instead?