Hi,
I have a bootloader running from internal ram (m4k blocks). I also build a standalone application to run from external ram. The application is a .bin file which is sent to the bootloader through a serial interface (RS232). The bootloader copies the application to external ram and executes it. My application is built to run from address 0x00200000. If I make a .bin file from the generated .elf file I get a file of about 2 MB. This is because the alt_exception and alt_irq_handler is laid at address 0x20 and 0xEC. AFAIK this is not necessary. Do I have to make a linker file to fix this? Or should I use another startup assembly file? In case of a linker file, does anyone have an example for this situation?
So the bootloader runs from internal ram (with base address 0) and the application runs from external ram (with base address 0x00200000).
TIA, Frank