AN3154
Bootloader command set
Doc ID 17063 Rev 1
9/34
3.1
Device-dependent bootloader parameters
While the CAN bootloader protocol’s command set and sequences are the same for all
STM32 devices, some parameters are device-dependent. For a few commands, the value of
some parameters may depend on the device used. The concerned parameters are listed
below:
●
PID (product ID), which changes with the device
●
Valid memory addresses (RAM, Flash memory, system memory, option byte areas)
accepted by the bootloader when the Read Memory, Go and Write Memory commands
are executed
●
Size of the Flash memory sector used when executing the Write Protect command
For more details about the value of these parameters for the device you are using please
refer to the “Device-dependent boot loader parameters” section in the “STM32 system
memory boot mode” application note (AN2606).
3.2 Get
command
The Get command allows the host to get the version of the bootloader and the supported
commands. When the bootloader receives the get command, it transmits the bootloader
version and the supported command codes to the host.