External Interrupt and Timer Interrupt Issue R2000

Please find attached a code where I have implemented both the external interrupt and a Timer Interrupt. When I set the compiler to use only one of the interrupts (enable/disable definitions at header ‘ONLY_TIMER’ and ‘ONLY_EXT_INT’), each interrupt works fine by itself. But when I enable both interrupts, the compiler throws me a different error every time, and I do not get anything on the rabbit board. By the way, I am using a BL1020 computer board with an RCM2300 core module.

Among the errors I get:

  1. Immediate Timeout after programming the board
  2. No Callback registered
  3. Exit code 243

It is a concern to me the lack of consistency when compiling the code. Any thoughts or help on this matter would be appreciated.