Btld located in Bank0 and Application in Bank1.
Switch from btld to application works properly, but when going into application "create_rtos_tasks" -> "MPU_xTaskCreate" ->
BaseType_t prvRaisePrivilege( void )
{
register BaseType_t return_value asm("r0");
asm( " swi 1 " );
return return_value;
}
it jumps to 0x00000008 which is bltd's location and not application's.
In HL_sys_link.ld application it is setup:
"
VECTORS(rx) : ORIGIN = 0x00200100, LENGTH = 0x00000020
KERNEL (rx) : ORIGIN = 0x00200120, LENGTH = 0x00008000
FLASH (rx) : ORIGIN = 0x00208120, LENGTH = (0x001F7EE0 + 0x00200000)
....
"
Just to mention that application without FreeRTOS works properly (using vimInit on start)
Found this but without answer: