I have been trying to port an existing project to DSP/BIOS, and I am having difficulty getting the link to work properly. The old/existing project uses a secondary boot loader to copy the program from FLASH to IRAM. It has memory regions set up for the interrupt vectors (0 - 0x1ff), the boot loader (0x200 - 0x3ff), and the rest of IRAM (0x400+). We program the FLASH by loading the firmware through the JTAG (file->load program), and running its built-in FLASH programmer. This fimware-based programmer parses the HEX file and programs the FLASH. That works fine.
The DSP/BIOS version should be identical, except for using the BIOS for task management. I have gotten the DSP/BIOS version running without a boot loader, loading it with the JTAG emulator. Now I'm trying to link in a boot loader, and can't get it to work properly. I have tried following the steps indicated in spra999, but that prevents the JTAG file->load program from working. I tried moving the internal BIOS sections from FLASH to IRAM (0x400+), but I get errors placing the boot loader code. Apparently, an 0x40 byte .vers section is being placed at address 0. I can't seem to relocated that using my user CMD file (which does include the generated one). What am I doing wrong here?
Also, it's unclear what to do with the .hwi_vec section. Spra999 doesn't say anything needs to be done with it. However, if I don't do anything with it, it ends up being placed at some random location. Does DSP/BIOS move ISTP to point to the hwi_vec section?