Answer

Feb 20, 2025 - 06:01 AM
To reprogram the EEPROM memory of the STNRG328S device, you will need the following tools and instruments:
1. A personal computer with Windows XP or Windows 7 operating system, at least 2 GB of RAM memory, and a USB port.
2. The installation file "CDM v2.12.00 WHQL Certified.exe" for FTDI driver for USB 2.0 to serial UART converter.
3. The archive file "Flash Loader Demonstrator.7z" to install the ST serial flash loader on the PC.
4. The .hex binary file compiled with IAR Embedded Workbench.
5. A micro USB cable.
6. A DC power supply to power the board.
Here are the steps to reprogram the EEPROM memory:
1. Connect the USB/UART cable to the PC and motherboard. If the FTDI USB serial converter driver is not installed automatically, you can install it using the "CDM v2.12.00 WHQL Certified.exe" file.
2. Install the ST serial flash loader on the PC by running the "STFlashLoader.exe" file from the "Flash Loader Demonstrator.7z" archive.
3. Connect the UART cable to the device's pins as specified in the STNRG328S pin settings table provided in the manual.
4. Verify the connections between the UART cable and the device's pins.
5. Run the STFlashLoader.exe and apply the settings as shown in the manual.
6. Select the COM port associated with the USB/Serial converter.
7. Power off and then power on the board, and immediately press the "Next" button in the STFlashLoader.exe window.
8. If the connection between the PC and the board is successful, a new window with the memory map of the non-volatile memory will appear.
9. Click on the "Next" button and select "Download to Device" in the programming window.
10. Browse to the .hex binary file to download into the STNRG328S memory.
11. Select the "Global Erase" option.
12. Click "Next" to start the downloading procedure.
13. Wait for the programming procedure to complete and verify the success message in green.
14. You can verify the correct binary by checking the data&code checksum of the firmware.
Please note that it is important to contact the local sales office when programming the chip for the first time. For more detailed information, you can refer to the STMicroelectronics STNRG328S Switching Controllers Digital Controller User Manual.
Add New Comment