I am trying to create a skeleton for a custom bootloader on the TMS320F28335. The bootloader is a non-bios application and resides in sector A of the flash device. We have a BIOS application loaded in flash sectors B-H. I have enforced the locations in flash with the linker command script. According to the map file for the BIOS application the _c_int00 for it resides at 0x00320d9d and as such my very minimal bootloader ...
void main(void)
{
asm(" LB 0x00320d9d");
}
is set to jump to that address. From what I understand this and disabling the watchdog is all my minimal bootload should have to do to jump to another application. When I jump to a NON-BIOS app from the bootloader everything seems to run as expected. When I jump to the BIOS app from the bootload I end up in ITRAP.
What must I do extra to be able to properly jump to a BIOS app? What does BIOS expect me to configure that I am not?