Build for use with bootloader
Select this check box to use the internal bootloader during the code programming process.
By selecting this option, you generate an output executable to use with bootloader for programming the target hardware memory through a standard communication channel, without having to use an IDE/third party tool.
This check box is available only when you select Baremetal
operating
system.
After the first use of bootloader with Simulink®, you can also interact with the target hardware from the command-line interface.
Create a target hardware object that connects through serial port ‘COM1’ using the command:
obj= bootloader('COM1')
Load the executable generated from the Simulink model ‘model1.slx’, with the bootloader option selected, using the command:
[err, msg ] = load(obj,'model1.hex')
Clear the object using the command:
clear obj
Settings
Default: off
on
Bootloader interface
This option is for the communication interface used by the bootloader.
Settings
Default: Serial
(USART2)
Serial port
Specify the serial port used for the serial communication.
Settings
Default: COM1
See Also
Model Configuration Parameters for STMicroelectronics STM32F4-Discovery Board | Model Configuration Parameters for STMicroelectronics STM32F746G-Discovery Board | Model Configuration Parameters for STMicroelectronics STM32F769I-Discovery Board | Model Configuration Parameters for STMicroelectronics STM32L475VG-Discovery (B-L475E-IOT01A) Board