Hi,
I am using MC9S!@ZVML64 board and codewarrior for the development of bootloader. Currently I am facing issue in jumping to the main of user application.
1). I have a bootloader project , startup vector is default ,ie., VECTOR 0 _Startup.
Using bootloader project, I am flashing the .s19 file of user application code through CAN with some customized tool. My bootloader project resides in ROM = READ_ONLY 0xFFE000 TO 0xFFFDFF;
2). In User application application, the vector is VECTOR ADDRESS 0xFFDFFD _Startup, ie., I am storing the startup code address into position 0xFFDFFD. My user application code resides in ROM = READ_ONLY 0xFF7200 TO 0xFFDFF7;
I have relocated the interrupt vector using the IVBR register. Also to have a fixed point between two independent projects I have changed the position of _Startup() function of user application prior to DoZeroOut() and DoCopyDown() functions.
3. After downloading the User application code through CAN, the Startup address(0XFF7200) of user application code is written into address 0xFFdFFd..
4. I am using below code to jump to user main:
app_vector = *(unsigned long int *) (APPLICATION_RESET_VEC_ADD);
asm LD X,app_vector;
asm JMP (0,X);,
where APPLICATION_RESET_VEC_ADD is #define APPLICATION_RESET_VEC_ADD (0xFFDFFDU).
When I am debugging, once the line "asm JMP (0,X)" is executed, I am getting the below error.

Could you please have a look at this and point out why this error is apperaring. I have attached the .prm, main and startup.c files of both bootloader and user application.