Solved
In AN4488 is says that STM32F413 MCU uses pins PB5/PB13 if you want to program the MCU via CAN interface. Is it possbile to remap the CAN pheripherals to other pins and still be able to use the embedded bootloader or is it thigtly coupled to pins PB5
..