The Autoexec is depreciated because the embedded UART peripheral is automatically opened (since DPA 4.11) at the startup supposed it is enabled in the configuration.