Hi,
in prm file,this line of code is to define and initialize vector table.
VECTOR 0 _BootStart
Above code defines function _BootStart at reset vector 0. But it can't be used as application init entry point.Command INIT is needed instead.
INIT command defines the initialization entry point for the application. The INIT command is mandatory for assembly application and optional otherwise. It cannot be specified more than once in the prm file.
in Bootloader_S12X, function _BootStart is defined in assembly file. So INIT _BootStart is mandatory in prm file. If you remove it, application will not find the application entry point.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------