3
Downloading firmware
For the reprogramming of the EEPROM memory of the STNRG328S device, we will refer to the X7R-1kW board
shown in
. The
stsw-stc
firmware is considered already installed.
The board uses Pin 1 and Pin 32 as UART. The firmware configures these shared I2C pins as UART because
it needs to enable the bootloader through UART. This feature can be activated by executing the PMBUS write
command to set the 0xDE value to 0x0001.
To send the PMBUS commands, user needs a GUI and an interface hardware USB/UART (see
After running this command, connect the UART cable on Pin 1 and Pin 32 as described above and follows the
steps below:
1.
Run the
STFlashLoader.exe
, the window below is shown.
Figure 6.
ST Flash Loader Demonstrator tool
–
Apply the settings shown in the figure above.
Important:
Do not click the [Next] button immediately as it might close the time window. A further reset pin cycling is required before
continuing.
–
For the [
Port Name
], select the COM port associated with USB/Serial converter. Windows Device
Manager on the user PC shows the mapping of the COM port (see
UM2988
Downloading firmware
UM2988
-
Rev 1
page 6/16